Class BlockRenderManager
java.lang.Object
net.minecraft.client.render.block.BlockRenderManager
- All Implemented Interfaces:
ResourceReloader,SynchronousResourceReloader
@Environment(CLIENT)
public class BlockRenderManager
extends Object
implements SynchronousResourceReloader
- Mappings:
Namespace Name intermediary net/minecraft/class_776official fkdnamed net/minecraft/client/render/block/BlockRenderManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockColorsprivate final BlockModelRendererprivate final BuiltinModelItemRendererprivate final FluidRendererprivate final BlockModelsprivate final Random -
Constructor Summary
ConstructorsConstructorDescriptionBlockRenderManager(BlockModels models, BuiltinModelItemRenderer builtinModelItemRenderer, BlockColors blockColors) -
Method Summary
Modifier and TypeMethodDescriptiongetModel(BlockState state) voidreload(ResourceManager manager) Performs the reload in the apply executor, or the game engine.voidrenderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random) voidrenderBlockAsEntity(BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) voidrenderDamage(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer) voidrenderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) Methods 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
-
models
- Mappings:
Namespace Name Mixin selector intermediary field_4168Lnet/minecraft/class_776;field_4168:Lnet/minecraft/class_773;official aLfkd;a:Lfkc;named modelsLnet/minecraft/client/render/block/BlockRenderManager;models:Lnet/minecraft/client/render/block/BlockModels;
-
blockModelRenderer
- Mappings:
Namespace Name Mixin selector intermediary field_4170Lnet/minecraft/class_776;field_4170:Lnet/minecraft/class_778;official bLfkd;b:Lfkf;named blockModelRendererLnet/minecraft/client/render/block/BlockRenderManager;blockModelRenderer:Lnet/minecraft/client/render/block/BlockModelRenderer;
-
builtinModelItemRenderer
- Mappings:
Namespace Name Mixin selector intermediary field_27742Lnet/minecraft/class_776;field_27742:Lnet/minecraft/class_756;official cLfkd;c:Lfiy;named builtinModelItemRendererLnet/minecraft/client/render/block/BlockRenderManager;builtinModelItemRenderer:Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;
-
fluidRenderer
- Mappings:
Namespace Name Mixin selector intermediary field_4167Lnet/minecraft/class_776;field_4167:Lnet/minecraft/class_775;official dLfkd;d:Lfke;named fluidRendererLnet/minecraft/client/render/block/BlockRenderManager;fluidRenderer:Lnet/minecraft/client/render/block/FluidRenderer;
-
random
- Mappings:
Namespace Name Mixin selector intermediary field_4169Lnet/minecraft/class_776;field_4169:Lnet/minecraft/class_5819;official eLfkd;e:Lapf;named randomLnet/minecraft/client/render/block/BlockRenderManager;random:Lnet/minecraft/util/math/random/Random;
-
blockColors
- Mappings:
Namespace Name Mixin selector intermediary field_20987Lnet/minecraft/class_776;field_20987:Lnet/minecraft/class_324;official fLfkd;f:Leog;named blockColorsLnet/minecraft/client/render/block/BlockRenderManager;blockColors:Lnet/minecraft/client/color/block/BlockColors;
-
-
Constructor Details
-
BlockRenderManager
public BlockRenderManager(BlockModels models, BuiltinModelItemRenderer builtinModelItemRenderer, BlockColors blockColors) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_776;<init>(Lnet/minecraft/class_773;Lnet/minecraft/class_756;Lnet/minecraft/class_324;)Vofficial <init>Lfkd;<init>(Lfkc;Lfiy;Leog;)Vnamed <init>Lnet/minecraft/client/render/block/BlockRenderManager;<init>(Lnet/minecraft/client/render/block/BlockModels;Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;Lnet/minecraft/client/color/block/BlockColors;)V
-
-
Method Details
-
getModels
- Mappings:
Namespace Name Mixin selector intermediary method_3351Lnet/minecraft/class_776;method_3351()Lnet/minecraft/class_773;official aLfkd;a()Lfkc;named getModelsLnet/minecraft/client/render/block/BlockRenderManager;getModels()Lnet/minecraft/client/render/block/BlockModels;
-
renderDamage
public void renderDamage(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer) - Mappings:
Namespace Name Mixin selector intermediary method_23071Lnet/minecraft/class_776;method_23071(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1920;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;)Vofficial aLfkd;a(Ldby;Lgu;Lcln;Leib;Leif;)Vnamed renderDamageLnet/minecraft/client/render/block/BlockRenderManager;renderDamage(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;)V
-
renderBlock
public void renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random) - Mappings:
Namespace Name Mixin selector intermediary method_3355Lnet/minecraft/class_776;method_3355(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1920;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZLnet/minecraft/class_5819;)Vofficial aLfkd;a(Ldby;Lgu;Lcln;Leib;Leif;ZLapf;)Vnamed renderBlockLnet/minecraft/client/render/block/BlockRenderManager;renderBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZLnet/minecraft/util/math/random/Random;)V
-
renderFluid
public void renderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector intermediary method_3352Lnet/minecraft/class_776;method_3352(Lnet/minecraft/class_2338;Lnet/minecraft/class_1920;Lnet/minecraft/class_4588;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)Vofficial aLfkd;a(Lgu;Lcln;Leif;Ldby;Ldxb;)Vnamed renderFluidLnet/minecraft/client/render/block/BlockRenderManager;renderFluid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)V
-
getModelRenderer
- Mappings:
Namespace Name Mixin selector intermediary method_3350Lnet/minecraft/class_776;method_3350()Lnet/minecraft/class_778;official bLfkd;b()Lfkf;named getModelRendererLnet/minecraft/client/render/block/BlockRenderManager;getModelRenderer()Lnet/minecraft/client/render/block/BlockModelRenderer;
-
getModel
- Mappings:
Namespace Name Mixin selector intermediary method_3349Lnet/minecraft/class_776;method_3349(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1087;official aLfkd;a(Ldby;)Lfwg;named getModelLnet/minecraft/client/render/block/BlockRenderManager;getModel(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/render/model/BakedModel;
-
renderBlockAsEntity
public void renderBlockAsEntity(BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) - Mappings:
Namespace Name Mixin selector intermediary method_3353Lnet/minecraft/class_776;method_3353(Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Vofficial aLfkd;a(Ldby;Leib;Lfjm;II)Vnamed renderBlockAsEntityLnet/minecraft/client/render/block/BlockRenderManager;renderBlockAsEntity(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)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 intermediary method_14491Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)Vofficial aLaky;a(Lakx;)Vnamed reloadLnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
-