Class BlockEntityRenderDispatcher
java.lang.Object
net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher
- All Implemented Interfaces:
 ResourceReloader,SynchronousResourceReloader
@Environment(CLIENT)
public class BlockEntityRenderDispatcher
extends Object
implements SynchronousResourceReloader
- Mappings:
 Namespace Name named net/minecraft/client/render/block/entity/BlockEntityRenderDispatcherintermediary net/minecraft/class_824official haa
- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockRenderManagerprivate final Supplier<LoadedEntityModels> private final EntityRenderDispatcherprivate final ItemModelManagerprivate final ItemRendererprivate Map<BlockEntityType<?>, BlockEntityRenderer<?>> private final TextRenderer - 
Constructor Summary
ConstructorsConstructorDescriptionBlockEntityRenderDispatcher(TextRenderer textRenderer, Supplier<LoadedEntityModels> entityModelsGetter, BlockRenderManager blockRenderManager, ItemModelManager itemModelManager, ItemRenderer itemRenderer, EntityRenderDispatcher entityRenderDispatcher)  - 
Method Summary
Modifier and TypeMethodDescriptionvoid<E extends BlockEntity>
@Nullable BlockEntityRenderer<E> get(E blockEntity) voidreload(ResourceManager manager) Performs the reload in the apply executor, or the game engine.<E extends BlockEntity>
voidrender(E blockEntity, float tickProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers) private static <T extends BlockEntity>
voidrender(BlockEntityRenderer<T> renderer, T blockEntity, float tickProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Vec3d cameraPos) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloader
getNameMethods inherited from interface net.minecraft.resource.SynchronousResourceReloader
reload 
- 
Field Details
- 
renderers
- Mappings:
 Namespace Name Mixin selector named renderersLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;renderers:Ljava/util/Map;intermediary field_4345Lnet/minecraft/class_824;field_4345:Ljava/util/Map;official dLhaa;d:Ljava/util/Map;
 - 
textRenderer
- Mappings:
 Namespace Name Mixin selector named textRendererLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;textRenderer:Lnet/minecraft/client/font/TextRenderer;intermediary field_4342Lnet/minecraft/class_824;field_4342:Lnet/minecraft/class_327;official eLhaa;e:Lfwy;
 - 
entityModelsGetter
- Mappings:
 Namespace Name Mixin selector named entityModelsGetterLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;entityModelsGetter:Ljava/util/function/Supplier;intermediary field_27746Lnet/minecraft/class_824;field_27746:Ljava/util/function/Supplier;official fLhaa;f:Ljava/util/function/Supplier;
 - 
world
- Mappings:
 Namespace Name Mixin selector named worldLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;world:Lnet/minecraft/world/World;intermediary field_4348Lnet/minecraft/class_824;field_4348:Lnet/minecraft/class_1937;official aLhaa;a:Ldmu;
 - 
camera
- Mappings:
 Namespace Name Mixin selector named cameraLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;camera:Lnet/minecraft/client/render/Camera;intermediary field_4344Lnet/minecraft/class_824;field_4344:Lnet/minecraft/class_4184;official bLhaa;b:Lftl;
 - 
crosshairTarget
- Mappings:
 Namespace Name Mixin selector named crosshairTargetLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;crosshairTarget:Lnet/minecraft/util/hit/HitResult;intermediary field_4350Lnet/minecraft/class_824;field_4350:Lnet/minecraft/class_239;official cLhaa;c:Lfiq;
 - 
blockRenderManager
- Mappings:
 Namespace Name Mixin selector named blockRenderManagerLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;blockRenderManager:Lnet/minecraft/client/render/block/BlockRenderManager;intermediary field_27747Lnet/minecraft/class_824;field_27747:Lnet/minecraft/class_776;official gLhaa;g:Lgyr;
 - 
itemModelManager
- Mappings:
 Namespace Name Mixin selector named itemModelManagerLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;itemModelManager:Lnet/minecraft/client/item/ItemModelManager;intermediary field_55283Lnet/minecraft/class_824;field_55283:Lnet/minecraft/class_10442;official hLhaa;h:Lhoe;
 - 
itemRenderer
- Mappings:
 Namespace Name Mixin selector named itemRendererLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;intermediary field_38880Lnet/minecraft/class_824;field_38880:Lnet/minecraft/class_918;official iLhaa;i:Lhfc;
 - 
entityRenderDispatcher
- Mappings:
 Namespace Name Mixin selector named entityRenderDispatcherLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;entityRenderDispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;intermediary field_38881Lnet/minecraft/class_824;field_38881:Lnet/minecraft/class_898;official jLhaa;j:Lheb;
 
 - 
 - 
Constructor Details
- 
BlockEntityRenderDispatcher
public BlockEntityRenderDispatcher(TextRenderer textRenderer, Supplier<LoadedEntityModels> entityModelsGetter, BlockRenderManager blockRenderManager, ItemModelManager itemModelManager, ItemRenderer itemRenderer, EntityRenderDispatcher entityRenderDispatcher) - Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;<init>(Lnet/minecraft/client/font/TextRenderer;Ljava/util/function/Supplier;Lnet/minecraft/client/render/block/BlockRenderManager;Lnet/minecraft/client/item/ItemModelManager;Lnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/client/render/entity/EntityRenderDispatcher;)Vintermediary <init>Lnet/minecraft/class_824;<init>(Lnet/minecraft/class_327;Ljava/util/function/Supplier;Lnet/minecraft/class_776;Lnet/minecraft/class_10442;Lnet/minecraft/class_918;Lnet/minecraft/class_898;)Vofficial <init>Lhaa;<init>(Lfwy;Ljava/util/function/Supplier;Lgyr;Lhoe;Lhfc;Lheb;)V
 
 - 
 - 
Method Details
- 
get
- Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;get(Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;intermediary method_3550Lnet/minecraft/class_824;method_3550(Lnet/minecraft/class_2586;)Lnet/minecraft/class_827;official aLhaa;a(Leaz;)Lhab;
 - 
configure
- Mappings:
 Namespace Name Mixin selector named configureLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;configure(Lnet/minecraft/world/World;Lnet/minecraft/client/render/Camera;Lnet/minecraft/util/hit/HitResult;)Vintermediary method_3549Lnet/minecraft/class_824;method_3549(Lnet/minecraft/class_1937;Lnet/minecraft/class_4184;Lnet/minecraft/class_239;)Vofficial aLhaa;a(Ldmu;Lftl;Lfiq;)V
 - 
render
public <E extends BlockEntity> void render(E blockEntity, float tickProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers) - Mappings:
 Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;render(Lnet/minecraft/block/entity/BlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;)Vintermediary method_3555Lnet/minecraft/class_824;method_3555(Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)Vofficial aLhaa;a(Leaz;FLfoc;Lgxm;)V
 - 
render
private static <T extends BlockEntity> void render(BlockEntityRenderer<T> renderer, T blockEntity, float tickProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Vec3d cameraPos) - Mappings:
 Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;render(Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;Lnet/minecraft/block/entity/BlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_23079Lnet/minecraft/class_824;method_23079(Lnet/minecraft/class_827;Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_243;)Vofficial aLhaa;a(Lhab;Leaz;FLfoc;Lgxm;Lfis;)V
 - 
setWorld
- Mappings:
 Namespace Name Mixin selector named setWorldLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;setWorld(Lnet/minecraft/world/World;)Vintermediary method_3551Lnet/minecraft/class_824;method_3551(Lnet/minecraft/class_1937;)Vofficial aLhaa;a(Ldmu;)V
 - 
reload
Performs the reload in the apply executor, or the game engine.- Specified by:
 reloadin interfaceSynchronousResourceReloader- Parameters:
 manager- the resource manager- Mappings:
 Namespace Name Mixin selector named reloadLnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)Vintermediary method_14491Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)Vofficial aLaxp;a(Laxo;)V
 
 -