类 BlockEntityRenderDispatcher
- java.lang.Object
-
- net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher
-
- 所有已实现的接口:
ResourceReloader,SynchronousResourceReloader
@Environment(CLIENT) public class BlockEntityRenderDispatcher extends Object implements SynchronousResourceReloader
- Mappings:
Namespace Name official enwintermediary net/minecraft/class_824named net/minecraft/client/render/block/entity/BlockEntityRenderDispatcher
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
-
字段概要
字段 修饰符和类型 字段 说明 private BufferBuilderbufferBuilderCameracameraHitResultcrosshairTargetprivate EntityModelLoaderentityModelLoaderprivate Supplier<BlockRenderManager>field_27747private Map<BlockEntityType<?>,BlockEntityRenderer<?>>renderersprivate TextRenderertextRendererWorldworld
-
构造器概要
构造器 构造器 说明 BlockEntityRenderDispatcher(TextRenderer textRenderer, EntityModelLoader entityModelLoader, Supplier<BlockRenderManager> supplier)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidconfigure(World world, Camera camera, HitResult crosshairTarget)<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 matrix, VertexConsumerProvider vertexConsumerProvider)private static <T extends BlockEntity>
voidrender(BlockEntityRenderer<T> renderer, T blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers)<E extends BlockEntity>
booleanrenderEntity(E entity, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider, int light, int overlay)private static voidrunReported(BlockEntity blockEntity, Runnable runnable)voidsetWorld(@Nullable World world)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.resource.ResourceReloader
getName
-
从接口继承的方法 net.minecraft.resource.SynchronousResourceReloader
reload
-
-
-
-
字段详细资料
-
renderers
private Map<BlockEntityType<?>,BlockEntityRenderer<?>> renderers
- Mappings:
Namespace Name Mixin selector official dLenw;d:Ljava/util/Map;intermediary field_4345Lnet/minecraft/class_824;field_4345:Ljava/util/Map;named renderersLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;renderers:Ljava/util/Map;
-
bufferBuilder
private final BufferBuilder bufferBuilder
- Mappings:
Namespace Name Mixin selector official eLenw;e:Ldpd;intermediary field_20988Lnet/minecraft/class_824;field_20988:Lnet/minecraft/class_287;named bufferBuilderLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;bufferBuilder:Lnet/minecraft/client/render/BufferBuilder;
-
textRenderer
private final TextRenderer textRenderer
- Mappings:
Namespace Name Mixin selector official fLenw;f:Ldvh;intermediary field_4342Lnet/minecraft/class_824;field_4342:Lnet/minecraft/class_327;named textRendererLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
entityModelLoader
private final EntityModelLoader entityModelLoader
- Mappings:
Namespace Name Mixin selector official gLenw;g:Lehc;intermediary field_27746Lnet/minecraft/class_824;field_27746:Lnet/minecraft/class_5599;named entityModelLoaderLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;entityModelLoader:Lnet/minecraft/client/render/entity/model/EntityModelLoader;
-
world
public World world
- Mappings:
Namespace Name Mixin selector official aLenw;a:Lbvr;intermediary field_4348Lnet/minecraft/class_824;field_4348:Lnet/minecraft/class_1937;named worldLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;world:Lnet/minecraft/world/World;
-
camera
public Camera camera
- Mappings:
Namespace Name Mixin selector official bLenw;b:Ldtx;intermediary field_4344Lnet/minecraft/class_824;field_4344:Lnet/minecraft/class_4184;named cameraLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;camera:Lnet/minecraft/client/render/Camera;
-
crosshairTarget
public HitResult crosshairTarget
- Mappings:
Namespace Name Mixin selector official cLenw;c:Ldly;intermediary field_4350Lnet/minecraft/class_824;field_4350:Lnet/minecraft/class_239;named crosshairTargetLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;crosshairTarget:Lnet/minecraft/util/hit/HitResult;
-
field_27747
private final Supplier<BlockRenderManager> field_27747
- Mappings:
Namespace Name Mixin selector official hLenw;h:Ljava/util/function/Supplier;intermediary field_27747Lnet/minecraft/class_824;field_27747:Ljava/util/function/Supplier;named field_27747Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;field_27747:Ljava/util/function/Supplier;
-
-
构造器详细资料
-
BlockEntityRenderDispatcher
public BlockEntityRenderDispatcher(TextRenderer textRenderer, EntityModelLoader entityModelLoader, Supplier<BlockRenderManager> supplier)
- Mappings:
Namespace Name Mixin selector official <init>Lenw;<init>(Ldvh;Lehc;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_824;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_5599;Ljava/util/function/Supplier;)Vnamed <init>Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/render/entity/model/EntityModelLoader;Ljava/util/function/Supplier;)V
-
-
方法详细资料
-
get
@Nullable public <E extends BlockEntity> @Nullable BlockEntityRenderer<E> get(E blockEntity)
- Mappings:
Namespace Name Mixin selector official aLenw;a(Lchp;)Lenx;intermediary method_3550Lnet/minecraft/class_824;method_3550(Lnet/minecraft/class_2586;)Lnet/minecraft/class_827;named getLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;get(Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;
-
configure
public void configure(World world, Camera camera, HitResult crosshairTarget)
- Mappings:
Namespace Name Mixin selector official aLenw;a(Lbvr;Ldtx;Ldly;)Vintermediary method_3549Lnet/minecraft/class_824;method_3549(Lnet/minecraft/class_1937;Lnet/minecraft/class_4184;Lnet/minecraft/class_239;)Vnamed configureLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;configure(Lnet/minecraft/world/World;Lnet/minecraft/client/render/Camera;Lnet/minecraft/util/hit/HitResult;)V
-
render
public <E extends BlockEntity> void render(E blockEntity, float tickDelta, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider)
- Mappings:
Namespace Name Mixin selector official aLenw;a(Lchp;FLdpi;Lema;)Vintermediary method_3555Lnet/minecraft/class_824;method_3555(Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)Vnamed renderLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;render(Lnet/minecraft/block/entity/BlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;)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 official aLenw;a(Lenx;Lchp;FLdpi;Lema;)Vintermediary method_23079Lnet/minecraft/class_824;method_23079(Lnet/minecraft/class_827;Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)Vnamed 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;)V
-
renderEntity
public <E extends BlockEntity> boolean renderEntity(E entity, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider, int light, int overlay)
- Mappings:
Namespace Name Mixin selector official aLenw;a(Lchp;Ldpi;Lema;II)Zintermediary method_23077Lnet/minecraft/class_824;method_23077(Lnet/minecraft/class_2586;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Znamed renderEntityLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;renderEntity(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)Z
-
runReported
private static void runReported(BlockEntity blockEntity, Runnable runnable)
- Mappings:
Namespace Name Mixin selector official aLenw;a(Lchp;Ljava/lang/Runnable;)Vintermediary method_3554Lnet/minecraft/class_824;method_3554(Lnet/minecraft/class_2586;Ljava/lang/Runnable;)Vnamed runReportedLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;runReported(Lnet/minecraft/block/entity/BlockEntity;Ljava/lang/Runnable;)V
-
setWorld
public void setWorld(@Nullable @Nullable World world)
- Mappings:
Namespace Name Mixin selector official aLenw;a(Lbvr;)Vintermediary method_3551Lnet/minecraft/class_824;method_3551(Lnet/minecraft/class_1937;)Vnamed setWorldLnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;setWorld(Lnet/minecraft/world/World;)V
-
reload
public void reload(ResourceManager manager)
Performs the reload in the apply executor, or the game engine.- 指定者:
reload在接口中SynchronousResourceReloader- 参数:
manager- the resource manager- Mappings:
Namespace Name Mixin selector official aLadm;a(Ladl;)Vintermediary method_14491Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)Vnamed reloadLnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
-
-