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 gok
-
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 tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers) private static <T extends BlockEntity>
voidrender(BlockEntityRenderer<T> renderer, T blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers) 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 dLgok;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 eLgok;e:Lfod;
-
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 fLgok;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 aLgok;a:Ldgj;
-
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 bLgok;b:Lfks;
-
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 cLgok;c:Lfaz;
-
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 gLgok;g:Lgnd;
-
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 hLgok;h:Lhbn;
-
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 iLgok;i:Lgtd;
-
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 jLgok;j:Lgsd;
-
-
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>Lgok;<init>(Lfod;Ljava/util/function/Supplier;Lgnd;Lhbn;Lgtd;Lgsd;)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 aLgok;a(Ldua;)Lgol;
-
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 aLgok;a(Ldgj;Lfks;Lfaz;)V
-
render
public <E extends BlockEntity> void render(E blockEntity, float tickDelta, 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 aLgok;a(Ldua;FLffv;Lglz;)V
-
render
private static <T extends BlockEntity> void render(BlockEntityRenderer<T> renderer, T blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers) - 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;)Vintermediary method_23079Lnet/minecraft/class_824;method_23079(Lnet/minecraft/class_827;Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)Vofficial aLgok;a(Lgol;Ldua;FLffv;Lglz;)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 aLgok;a(Ldgj;)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 aLauq;a(Laup;)V
-