Class EntityRenderDispatcher

java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderDispatcher
All Implemented Interfaces:
PreparableReloadListener, ResourceManagerReloadListener

public class EntityRenderDispatcher extends Object implements ResourceManagerReloadListener
  • Field Details

  • Constructor Details

  • Method Details

    • getPackedLightCoords

      public <E extends Entity> int getPackedLightCoords(E p_114395_, float p_114396_)
    • getRenderer

      public <T extends Entity> EntityRenderer<? super T> getRenderer(T p_114383_)
    • prepare

      public void prepare(Level p_114409_, Camera p_114410_, Entity p_114411_)
    • overrideCameraOrientation

      public void overrideCameraOrientation(Quaternion p_114413_)
    • setRenderShadow

      public void setRenderShadow(boolean p_114469_)
    • setRenderHitBoxes

      public void setRenderHitBoxes(boolean p_114474_)
    • shouldRenderHitBoxes

      public boolean shouldRenderHitBoxes()
    • shouldRender

      public <E extends Entity> boolean shouldRender(E p_114398_, Frustum p_114399_, double p_114400_, double p_114401_, double p_114402_)
    • render

      public <E extends Entity> void render(E p_114385_, double p_114386_, double p_114387_, double p_114388_, float p_114389_, float p_114390_, PoseStack p_114391_, MultiBufferSource p_114392_, int p_114393_)
    • renderHitbox

      private static void renderHitbox(PoseStack p_114442_, VertexConsumer p_114443_, Entity p_114444_, float p_114445_)
    • renderFlame

      private void renderFlame(PoseStack p_114454_, MultiBufferSource p_114455_, Entity p_114456_)
    • fireVertex

      private static void fireVertex(PoseStack.Pose p_114415_, VertexConsumer p_114416_, float p_114417_, float p_114418_, float p_114419_, float p_114420_, float p_114421_)
    • renderShadow

      private static void renderShadow(PoseStack p_114458_, MultiBufferSource p_114459_, Entity p_114460_, float p_114461_, float p_114462_, LevelReader p_114463_, float p_114464_)
    • renderBlockShadow

      private static void renderBlockShadow(PoseStack.Pose p_114432_, VertexConsumer p_114433_, LevelReader p_114434_, BlockPos p_114435_, double p_114436_, double p_114437_, double p_114438_, float p_114439_, float p_114440_)
    • shadowVertex

      private static void shadowVertex(PoseStack.Pose p_114423_, VertexConsumer p_114424_, float p_114425_, float p_114426_, float p_114427_, float p_114428_, float p_114429_, float p_114430_)
    • setLevel

      public void setLevel(@Nullable Level p_114407_)
    • distanceToSqr

      public double distanceToSqr(Entity p_114472_)
    • distanceToSqr

      public double distanceToSqr(double p_114379_, double p_114380_, double p_114381_)
    • cameraOrientation

      public Quaternion cameraOrientation()
    • getItemInHandRenderer

      public ItemInHandRenderer getItemInHandRenderer()
    • getSkinMap

      public Map<String,EntityRenderer<? extends Player>> getSkinMap()
    • onResourceManagerReload

      public void onResourceManagerReload(ResourceManager p_174004_)
      Specified by:
      onResourceManagerReload in interface ResourceManagerReloadListener