Class EntityRenderDispatcher

java.lang.Object
net.minecraft.client.render.entity.EntityRenderDispatcher
All Implemented Interfaces:
ResourceReloadListener, SynchronousResourceReloadListener

@Environment(CLIENT)
public class EntityRenderDispatcher
extends Object
implements SynchronousResourceReloadListener
Mappings:
Namespace Name
official emh
intermediary net/minecraft/class_898
named net/minecraft/client/render/entity/EntityRenderDispatcher
  • Field Details

    • SHADOW_LAYER

      private static final RenderLayer SHADOW_LAYER
      Mappings:
      Namespace Name Mixin selector
      official e Lemh;e:Lehy;
      intermediary field_21009 Lnet/minecraft/class_898;field_21009:Lnet/minecraft/class_1921;
      named SHADOW_LAYER Lnet/minecraft/client/render/entity/EntityRenderDispatcher;SHADOW_LAYER:Lnet/minecraft/client/render/RenderLayer;
    • renderers

      private Map<EntityType<?>,​EntityRenderer<?>> renderers
      Mappings:
      Namespace Name Mixin selector
      official f Lemh;f:Ljava/util/Map;
      intermediary field_4696 Lnet/minecraft/class_898;field_4696:Ljava/util/Map;
      named renderers Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderers:Ljava/util/Map;
    • modelRenderers

      private Map<String,​EntityRenderer<? extends PlayerEntity>> modelRenderers
      Mappings:
      Namespace Name Mixin selector
      official g Lemh;g:Ljava/util/Map;
      intermediary field_4687 Lnet/minecraft/class_898;field_4687:Ljava/util/Map;
      named modelRenderers Lnet/minecraft/client/render/entity/EntityRenderDispatcher;modelRenderers:Ljava/util/Map;
    • textureManager

      public final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a:Lerv;
      intermediary field_4685 Lnet/minecraft/class_898;field_4685:Lnet/minecraft/class_1060;
      named textureManager Lnet/minecraft/client/render/entity/EntityRenderDispatcher;textureManager:Lnet/minecraft/client/texture/TextureManager;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official h Lemh;h:Lbtv;
      intermediary field_4684 Lnet/minecraft/class_898;field_4684:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/client/render/entity/EntityRenderDispatcher;world:Lnet/minecraft/world/World;
    • camera

      public Camera camera
      Mappings:
      Namespace Name Mixin selector
      official b Lemh;b:Ldpv;
      intermediary field_4686 Lnet/minecraft/class_898;field_4686:Lnet/minecraft/class_4184;
      named camera Lnet/minecraft/client/render/entity/EntityRenderDispatcher;camera:Lnet/minecraft/client/render/Camera;
    • rotation

      private Quaternion rotation
      Mappings:
      Namespace Name Mixin selector
      official i Lemh;i:Ld;
      intermediary field_21794 Lnet/minecraft/class_898;field_21794:Lnet/minecraft/class_1158;
      named rotation Lnet/minecraft/client/render/entity/EntityRenderDispatcher;rotation:Lnet/minecraft/util/math/Quaternion;
    • targetedEntity

      public Entity targetedEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lemh;c:Laqv;
      intermediary field_4678 Lnet/minecraft/class_898;field_4678:Lnet/minecraft/class_1297;
      named targetedEntity Lnet/minecraft/client/render/entity/EntityRenderDispatcher;targetedEntity:Lnet/minecraft/entity/Entity;
    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      official j Lemh;j:Lenf;
      intermediary field_27759 Lnet/minecraft/class_898;field_27759:Lnet/minecraft/class_918;
      named itemRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • textRenderer

      private final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      official k Lemh;k:Ldrf;
      intermediary field_4689 Lnet/minecraft/class_898;field_4689:Lnet/minecraft/class_327;
      named textRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;textRenderer:Lnet/minecraft/client/font/TextRenderer;
    • gameOptions

      public final GameOptions gameOptions
      Mappings:
      Namespace Name Mixin selector
      official d Lemh;d:Ldqo;
      intermediary field_4692 Lnet/minecraft/class_898;field_4692:Lnet/minecraft/class_315;
      named gameOptions Lnet/minecraft/client/render/entity/EntityRenderDispatcher;gameOptions:Lnet/minecraft/client/option/GameOptions;
    • modelLoader

      private final EntityModelLoader modelLoader
      Mappings:
      Namespace Name Mixin selector
      official l Lemh;l:Ledd;
      intermediary field_27760 Lnet/minecraft/class_898;field_27760:Lnet/minecraft/class_5599;
      named modelLoader Lnet/minecraft/client/render/entity/EntityRenderDispatcher;modelLoader:Lnet/minecraft/client/render/entity/model/EntityModelLoader;
    • renderShadows

      private boolean renderShadows
      Mappings:
      Namespace Name Mixin selector
      official m Lemh;m:Z
      intermediary field_4681 Lnet/minecraft/class_898;field_4681:Z
      named renderShadows Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderShadows:Z
    • renderHitboxes

      private boolean renderHitboxes
      Mappings:
      Namespace Name Mixin selector
      official n Lemh;n:Z
      intermediary field_4680 Lnet/minecraft/class_898;field_4680:Z
      named renderHitboxes Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderHitboxes:Z
  • Constructor Details

    • EntityRenderDispatcher

      public EntityRenderDispatcher​(TextureManager textureManager, ItemRenderer itemRenderer, TextRenderer textRenderer, GameOptions gameOptions, EntityModelLoader modelLoader)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemh;<init>(Lerv;Lenf;Ldrf;Ldqo;Ledd;)V
      intermediary <init> Lnet/minecraft/class_898;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_918;Lnet/minecraft/class_327;Lnet/minecraft/class_315;Lnet/minecraft/class_5599;)V
      named <init> Lnet/minecraft/client/render/entity/EntityRenderDispatcher;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/client/render/entity/model/EntityModelLoader;)V
  • Method Details

    • getLight

      public <E extends Entity> int getLight​(E entity, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Laqv;F)I
      intermediary method_23839 Lnet/minecraft/class_898;method_23839(Lnet/minecraft/class_1297;F)I
      named getLight Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getLight(Lnet/minecraft/entity/Entity;F)I
    • getRenderer

      public <T extends Entity> EntityRenderer<? super T> getRenderer​(T entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Laqv;)Lemi;
      intermediary method_3953 Lnet/minecraft/class_898;method_3953(Lnet/minecraft/class_1297;)Lnet/minecraft/class_897;
      named getRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getRenderer(Lnet/minecraft/entity/Entity;)Lnet/minecraft/client/render/entity/EntityRenderer;
    • configure

      public void configure​(World world, Camera camera, Entity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Lbtv;Ldpv;Laqv;)V
      intermediary method_3941 Lnet/minecraft/class_898;method_3941(Lnet/minecraft/class_1937;Lnet/minecraft/class_4184;Lnet/minecraft/class_1297;)V
      named configure Lnet/minecraft/client/render/entity/EntityRenderDispatcher;configure(Lnet/minecraft/world/World;Lnet/minecraft/client/render/Camera;Lnet/minecraft/entity/Entity;)V
    • setRotation

      public void setRotation​(Quaternion rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ld;)V
      intermediary method_24196 Lnet/minecraft/class_898;method_24196(Lnet/minecraft/class_1158;)V
      named setRotation Lnet/minecraft/client/render/entity/EntityRenderDispatcher;setRotation(Lnet/minecraft/util/math/Quaternion;)V
    • setRenderShadows

      public void setRenderShadows​(boolean value)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Z)V
      intermediary method_3948 Lnet/minecraft/class_898;method_3948(Z)V
      named setRenderShadows Lnet/minecraft/client/render/entity/EntityRenderDispatcher;setRenderShadows(Z)V
    • setRenderHitboxes

      public void setRenderHitboxes​(boolean value)
      Mappings:
      Namespace Name Mixin selector
      official b Lemh;b(Z)V
      intermediary method_3955 Lnet/minecraft/class_898;method_3955(Z)V
      named setRenderHitboxes Lnet/minecraft/client/render/entity/EntityRenderDispatcher;setRenderHitboxes(Z)V
    • shouldRenderHitboxes

      public boolean shouldRenderHitboxes()
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a()Z
      intermediary method_3958 Lnet/minecraft/class_898;method_3958()Z
      named shouldRenderHitboxes Lnet/minecraft/client/render/entity/EntityRenderDispatcher;shouldRenderHitboxes()Z
    • shouldRender

      public <E extends Entity> boolean shouldRender​(E entity, Frustum frustum, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Laqv;Lekl;DDD)Z
      intermediary method_3950 Lnet/minecraft/class_898;method_3950(Lnet/minecraft/class_1297;Lnet/minecraft/class_4604;DDD)Z
      named shouldRender Lnet/minecraft/client/render/entity/EntityRenderDispatcher;shouldRender(Lnet/minecraft/entity/Entity;Lnet/minecraft/client/render/Frustum;DDD)Z
    • render

      public <E extends Entity> void render​(E entity, double x, double y, double z, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Laqv;DDDFFLdlr;Lehq;I)V
      intermediary method_3954 Lnet/minecraft/class_898;method_3954(Lnet/minecraft/class_1297;DDDFFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/EntityRenderDispatcher;render(Lnet/minecraft/entity/Entity;DDDFFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • renderHitbox

      private static void renderHitbox​(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ldlr;Ldlv;Laqv;F)V
      intermediary method_3956 Lnet/minecraft/class_898;method_3956(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_1297;F)V
      named renderHitbox Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderHitbox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/entity/Entity;F)V
    • renderFire

      private void renderFire​(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ldlr;Lehq;Laqv;)V
      intermediary method_23165 Lnet/minecraft/class_898;method_23165(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1297;)V
      named renderFire Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderFire(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/Entity;)V
    • drawFireVertex

      private static void drawFireVertex​(MatrixStack.Entry entry, VertexConsumer vertices, float x, float y, float z, float u, float v)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ldlr$a;Ldlv;FFFFF)V
      intermediary method_23161 Lnet/minecraft/class_898;method_23161(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;FFFFF)V
      named drawFireVertex Lnet/minecraft/client/render/entity/EntityRenderDispatcher;drawFireVertex(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;FFFFF)V
    • renderShadow

      private static void renderShadow​(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity, float opacity, float tickDelta, WorldView world, float radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ldlr;Lehq;Laqv;FFLbty;F)V
      intermediary method_23166 Lnet/minecraft/class_898;method_23166(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1297;FFLnet/minecraft/class_4538;F)V
      named renderShadow Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderShadow(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/Entity;FFLnet/minecraft/world/WorldView;F)V
    • renderShadowPart

      private static void renderShadowPart​(MatrixStack.Entry entry, VertexConsumer vertices, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ldlr$a;Ldlv;Lbty;Lfx;DDDFF)V
      intermediary method_23163 Lnet/minecraft/class_898;method_23163(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;DDDFF)V
      named renderShadowPart Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderShadowPart(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;DDDFF)V
    • drawShadowVertex

      private static void drawShadowVertex​(MatrixStack.Entry entry, VertexConsumer vertices, float alpha, float x, float y, float z, float u, float v)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Ldlr$a;Ldlv;FFFFFF)V
      intermediary method_23162 Lnet/minecraft/class_898;method_23162(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;FFFFFF)V
      named drawShadowVertex Lnet/minecraft/client/render/entity/EntityRenderDispatcher;drawShadowVertex(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;FFFFFF)V
    • setWorld

      public void setWorld​(@Nullable World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(Lbtv;)V
      intermediary method_3944 Lnet/minecraft/class_898;method_3944(Lnet/minecraft/class_1937;)V
      named setWorld Lnet/minecraft/client/render/entity/EntityRenderDispatcher;setWorld(Lnet/minecraft/world/World;)V
    • getSquaredDistanceToCamera

      public double getSquaredDistanceToCamera​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lemh;b(Laqv;)D
      intermediary method_23168 Lnet/minecraft/class_898;method_23168(Lnet/minecraft/class_1297;)D
      named getSquaredDistanceToCamera Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getSquaredDistanceToCamera(Lnet/minecraft/entity/Entity;)D
    • getSquaredDistanceToCamera

      public double getSquaredDistanceToCamera​(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lemh;a(DDD)D
      intermediary method_3959 Lnet/minecraft/class_898;method_3959(DDD)D
      named getSquaredDistanceToCamera Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getSquaredDistanceToCamera(DDD)D
    • getRotation

      public Quaternion getRotation()
      Mappings:
      Namespace Name Mixin selector
      official b Lemh;b()Ld;
      intermediary method_24197 Lnet/minecraft/class_898;method_24197()Lnet/minecraft/class_1158;
      named getRotation Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getRotation()Lnet/minecraft/util/math/Quaternion;
    • apply

      public void apply​(ResourceManager manager)
      Specified by:
      apply in interface SynchronousResourceReloadListener
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lacx;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      named apply Lnet/minecraft/resource/SynchronousResourceReloadListener;apply(Lnet/minecraft/resource/ResourceManager;)V