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(org.joml.Quaternionf p_254264_)
    • 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_)
    • renderServerSideHitbox

      private static void renderServerSideHitbox(PoseStack p_353069_, Entity p_353061_, MultiBufferSource p_353074_)
    • getServerSideEntity

      @Nullable private static Entity getServerSideEntity(Entity p_353043_)
    • renderHitbox

      private static void renderHitbox(PoseStack p_114442_, VertexConsumer p_114443_, Entity p_114444_, float p_114445_, float p_353064_, float p_353059_, float p_353042_)
    • renderVector

      private static void renderVector(PoseStack p_353057_, VertexConsumer p_353027_, org.joml.Vector3f p_353068_, Vec3 p_353070_, int p_353032_)
    • renderFlame

      private void renderFlame(PoseStack p_114454_, MultiBufferSource p_114455_, Entity p_114456_, org.joml.Quaternionf p_304964_)
    • 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_277956_, VertexConsumer p_277533_, ChunkAccess p_277501_, LevelReader p_277622_, BlockPos p_277911_, double p_277682_, double p_278099_, double p_277806_, float p_277844_, float p_277496_)
    • shadowVertex

      private static void shadowVertex(PoseStack.Pose p_114423_, VertexConsumer p_114424_, int p_350992_, float p_114425_, float p_114426_, float p_114427_, float p_114428_, float p_114429_)
    • 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 org.joml.Quaternionf cameraOrientation()
    • getItemInHandRenderer

      public ItemInHandRenderer getItemInHandRenderer()
    • getSkinMap

      public Map<PlayerSkin.Model,EntityRenderer<? extends Player>> getSkinMap()
    • onResourceManagerReload

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