Class EntityRenderDispatcher

java.lang.Object
net.minecraft.client.render.entity.EntityRenderDispatcher
All Implemented Interfaces:
ResourceReloader, SynchronousResourceReloader

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

    • SHADOW_LAYER

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

      private static final float field_43377
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_43377 Lnet/minecraft/client/render/entity/EntityRenderDispatcher;field_43377:F
      intermediary field_43377 Lnet/minecraft/class_898;field_43377:F
      official f Lgrn;f:F
    • field_43378

      private static final float field_43378
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_43378 Lnet/minecraft/client/render/entity/EntityRenderDispatcher;field_43378:F
      intermediary field_43378 Lnet/minecraft/class_898;field_43378:F
      official g Lgrn;g:F
    • renderers

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

      private Map<SkinTextures.Model,EntityRenderer<? extends PlayerEntity,?>> modelRenderers
      Mappings:
      Namespace Name Mixin selector
      named modelRenderers Lnet/minecraft/client/render/entity/EntityRenderDispatcher;modelRenderers:Ljava/util/Map;
      intermediary field_4687 Lnet/minecraft/class_898;field_4687:Ljava/util/Map;
      official i Lgrn;i:Ljava/util/Map;
    • textureManager

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

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

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

      private Quaternionf rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/client/render/entity/EntityRenderDispatcher;rotation:Lorg/joml/Quaternionf;
      intermediary field_21794 Lnet/minecraft/class_898;field_21794:Lorg/joml/Quaternionf;
      official k Lgrn;k:Lorg/joml/Quaternionf;
    • targetedEntity

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

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      named itemRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
      intermediary field_27759 Lnet/minecraft/class_898;field_27759:Lnet/minecraft/class_918;
      official l Lgrn;l:Lgsn;
    • mapRenderer

      private final MapRenderer mapRenderer
      Mappings:
      Namespace Name Mixin selector
      named mapRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;mapRenderer:Lnet/minecraft/client/render/MapRenderer;
      intermediary field_53188 Lnet/minecraft/class_898;field_53188:Lnet/minecraft/class_330;
      official m Lgrn;m:Lglj;
    • blockRenderManager

      private final BlockRenderManager blockRenderManager
      Mappings:
      Namespace Name Mixin selector
      named blockRenderManager Lnet/minecraft/client/render/entity/EntityRenderDispatcher;blockRenderManager:Lnet/minecraft/client/render/block/BlockRenderManager;
      intermediary field_38886 Lnet/minecraft/class_898;field_38886:Lnet/minecraft/class_776;
      official n Lgrn;n:Lgmn;
    • heldItemRenderer

      private final HeldItemRenderer heldItemRenderer
      Mappings:
      Namespace Name Mixin selector
      named heldItemRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;heldItemRenderer:Lnet/minecraft/client/render/item/HeldItemRenderer;
      intermediary field_38887 Lnet/minecraft/class_898;field_38887:Lnet/minecraft/class_759;
      official o Lgrn;o:Lgld;
    • textRenderer

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

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

      private final EntityModelLoader modelLoader
      Mappings:
      Namespace Name Mixin selector
      named modelLoader Lnet/minecraft/client/render/entity/EntityRenderDispatcher;modelLoader:Lnet/minecraft/client/render/entity/model/EntityModelLoader;
      intermediary field_27760 Lnet/minecraft/class_898;field_27760:Lnet/minecraft/class_5599;
      official q Lgrn;q:Lgej;
    • equipmentModelLoader

      private final EquipmentModelLoader equipmentModelLoader
      Mappings:
      Namespace Name Mixin selector
      named equipmentModelLoader Lnet/minecraft/client/render/entity/EntityRenderDispatcher;equipmentModelLoader:Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;
      intermediary field_54173 Lnet/minecraft/class_898;field_54173:Lnet/minecraft/class_10201;
      official r Lgrn;r:Lhdr;
    • renderShadows

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

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

    • EntityRenderDispatcher

      public EntityRenderDispatcher(MinecraftClient client, TextureManager textureManager, ItemRenderer itemRenderer, MapRenderer mapRenderer, BlockRenderManager blockRenderManager, TextRenderer textRenderer, GameOptions gameOptions, EntityModelLoader modelLoader, EquipmentModelLoader equipmentModelLoader)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/EntityRenderDispatcher;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/client/render/MapRenderer;Lnet/minecraft/client/render/block/BlockRenderManager;Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/client/render/entity/model/EntityModelLoader;Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;)V
      intermediary <init> Lnet/minecraft/class_898;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_1060;Lnet/minecraft/class_918;Lnet/minecraft/class_330;Lnet/minecraft/class_776;Lnet/minecraft/class_327;Lnet/minecraft/class_315;Lnet/minecraft/class_5599;Lnet/minecraft/class_10201;)V
      official <init> Lgrn;<init>(Lfmf;Lhbl;Lgsn;Lglj;Lgmn;Lfnp;Lfmj;Lgej;Lhdr;)V
  • Method Details

    • getLight

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

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

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

      public void setRotation(Quaternionf rotation)
      Mappings:
      Namespace Name Mixin selector
      named setRotation Lnet/minecraft/client/render/entity/EntityRenderDispatcher;setRotation(Lorg/joml/Quaternionf;)V
      intermediary method_24196 Lnet/minecraft/class_898;method_24196(Lorg/joml/Quaternionf;)V
      official a Lgrn;a(Lorg/joml/Quaternionf;)V
    • setRenderShadows

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

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

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

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

      public <E extends Entity> void render(E entity, double x, double y, double z, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/EntityRenderDispatcher;render(Lnet/minecraft/entity/Entity;DDDFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_62424 Lnet/minecraft/class_898;method_62424(Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgrn;a(Lbvj;DDDFLfgr;Lglk;I)V
    • render

      private <E extends Entity, S extends EntityRenderState> void render(E entity, double x, double y, double z, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, EntityRenderer<? super E,S> renderer)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/EntityRenderDispatcher;render(Lnet/minecraft/entity/Entity;DDDFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/EntityRenderer;)V
      intermediary method_3954 Lnet/minecraft/class_898;method_3954(Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_897;)V
      official a Lgrn;a(Lbvj;DDDFLfgr;Lglk;ILgro;)V
    • renderServerSideHitbox

      private static void renderServerSideHitbox(MatrixStack matrices, Entity entity, VertexConsumerProvider vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      named renderServerSideHitbox Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderServerSideHitbox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/client/render/VertexConsumerProvider;)V
      intermediary method_61170 Lnet/minecraft/class_898;method_61170(Lnet/minecraft/class_4587;Lnet/minecraft/class_1297;Lnet/minecraft/class_4597;)V
      official a Lgrn;a(Lfgr;Lbvj;Lglk;)V
    • getIntegratedServerEntity

      @Nullable private static @Nullable Entity getIntegratedServerEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named getIntegratedServerEntity Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getIntegratedServerEntity(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
      intermediary method_61172 Lnet/minecraft/class_898;method_61172(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
      official c Lgrn;c(Lbvj;)Lbvj;
    • renderHitbox

      private static void renderHitbox(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta, float red, float green, float blue)
      Mappings:
      Namespace Name Mixin selector
      named renderHitbox Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderHitbox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/entity/Entity;FFFF)V
      intermediary method_3956 Lnet/minecraft/class_898;method_3956(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_1297;FFFF)V
      official a Lgrn;a(Lfgr;Lfgv;Lbvj;FFFF)V
    • renderFire

      private void renderFire(MatrixStack matrices, VertexConsumerProvider vertexConsumers, EntityRenderState renderState, Quaternionf rotation)
      Mappings:
      Namespace Name Mixin selector
      named renderFire Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderFire(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/entity/state/EntityRenderState;Lorg/joml/Quaternionf;)V
      intermediary method_23165 Lnet/minecraft/class_898;method_23165(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_10017;Lorg/joml/Quaternionf;)V
      official a Lgrn;a(Lfgr;Lglk;Lgxu;Lorg/joml/Quaternionf;)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
      named drawFireVertex Lnet/minecraft/client/render/entity/EntityRenderDispatcher;drawFireVertex(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;FFFFF)V
      intermediary method_23161 Lnet/minecraft/class_898;method_23161(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;FFFFF)V
      official a Lgrn;a(Lfgr$a;Lfgv;FFFFF)V
    • renderShadow

      private static void renderShadow(MatrixStack matrices, VertexConsumerProvider vertexConsumers, EntityRenderState renderState, float opacity, float tickDelta, WorldView world, float radius)
      Mappings:
      Namespace Name Mixin selector
      named renderShadow Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderShadow(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/entity/state/EntityRenderState;FFLnet/minecraft/world/WorldView;F)V
      intermediary method_23166 Lnet/minecraft/class_898;method_23166(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_10017;FFLnet/minecraft/class_4538;F)V
      official a Lgrn;a(Lfgr;Lglk;Lgxu;FFLdhk;F)V
    • renderShadowPart

      private static void renderShadowPart(MatrixStack.Entry entry, VertexConsumer vertices, Chunk chunk, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity)
      Mappings:
      Namespace Name Mixin selector
      named renderShadowPart Lnet/minecraft/client/render/entity/EntityRenderDispatcher;renderShadowPart(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;DDDFF)V
      intermediary method_23163 Lnet/minecraft/class_898;method_23163(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;Lnet/minecraft/class_2791;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;DDDFF)V
      official a Lgrn;a(Lfgr$a;Lfgv;Ldzp;Ldhk;Ljh;DDDFF)V
    • drawShadowVertex

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

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

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

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

      public Quaternionf getRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getRotation()Lorg/joml/Quaternionf;
      intermediary method_24197 Lnet/minecraft/class_898;method_24197()Lorg/joml/Quaternionf;
      official b Lgrn;b()Lorg/joml/Quaternionf;
    • getHeldItemRenderer

      public HeldItemRenderer getHeldItemRenderer()
      Mappings:
      Namespace Name Mixin selector
      named getHeldItemRenderer Lnet/minecraft/client/render/entity/EntityRenderDispatcher;getHeldItemRenderer()Lnet/minecraft/client/render/item/HeldItemRenderer;
      intermediary method_43336 Lnet/minecraft/class_898;method_43336()Lnet/minecraft/class_759;
      official d Lgrn;d()Lgld;
    • reload

      public void reload(ResourceManager manager)
      Performs the reload in the apply executor, or the game engine.
      Specified by:
      reload in interface SynchronousResourceReloader
      Parameters:
      manager - the resource manager
      Mappings:
      Namespace Name Mixin selector
      named reload Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      official a Lavw;a(Lavv;)V