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 named net/minecraft/client/render/block/BlockRenderManagerintermediary net/minecraft/class_776official gsq
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockColorsprivate final Supplier<LoadedBlockEntityModels> private final BlockModelRendererprivate final FluidRendererprivate final BlockModelsprivate final List<BlockModelPart> private final Random -
Constructor Summary
ConstructorsConstructorDescriptionBlockRenderManager(BlockModels models, Supplier<LoadedBlockEntityModels> blockEntityModelsGetter, 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, List<BlockModelPart> parts) 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 named modelsLnet/minecraft/client/render/block/BlockRenderManager;models:Lnet/minecraft/client/render/block/BlockModels;intermediary field_4168Lnet/minecraft/class_776;field_4168:Lnet/minecraft/class_773;official aLgsq;a:Lgsp;
-
blockModelRenderer
- Mappings:
Namespace Name Mixin selector named blockModelRendererLnet/minecraft/client/render/block/BlockRenderManager;blockModelRenderer:Lnet/minecraft/client/render/block/BlockModelRenderer;intermediary field_4170Lnet/minecraft/class_776;field_4170:Lnet/minecraft/class_778;official bLgsq;b:Lgss;
-
blockEntityModelsGetter
- Mappings:
Namespace Name Mixin selector named blockEntityModelsGetterLnet/minecraft/client/render/block/BlockRenderManager;blockEntityModelsGetter:Ljava/util/function/Supplier;intermediary field_55271Lnet/minecraft/class_776;field_55271:Ljava/util/function/Supplier;official cLgsq;c:Ljava/util/function/Supplier;
-
fluidRenderer
- Mappings:
Namespace Name Mixin selector named fluidRendererLnet/minecraft/client/render/block/BlockRenderManager;fluidRenderer:Lnet/minecraft/client/render/block/FluidRenderer;intermediary field_4167Lnet/minecraft/class_776;field_4167:Lnet/minecraft/class_775;official dLgsq;d:Lgsr;
-
random
- Mappings:
Namespace Name Mixin selector named randomLnet/minecraft/client/render/block/BlockRenderManager;random:Lnet/minecraft/util/math/random/Random;intermediary field_4169Lnet/minecraft/class_776;field_4169:Lnet/minecraft/class_5819;official eLgsq;e:Lbai;
-
parts
- Mappings:
Namespace Name Mixin selector named partsLnet/minecraft/client/render/block/BlockRenderManager;parts:Ljava/util/List;intermediary field_57937Lnet/minecraft/class_776;field_57937:Ljava/util/List;official fLgsq;f:Ljava/util/List;
-
blockColors
- Mappings:
Namespace Name Mixin selector named blockColorsLnet/minecraft/client/render/block/BlockRenderManager;blockColors:Lnet/minecraft/client/color/block/BlockColors;intermediary field_20987Lnet/minecraft/class_776;field_20987:Lnet/minecraft/class_324;official gLgsq;g:Lfrs;
-
-
Constructor Details
-
BlockRenderManager
public BlockRenderManager(BlockModels models, Supplier<LoadedBlockEntityModels> blockEntityModelsGetter, BlockColors blockColors) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/block/BlockRenderManager;<init>(Lnet/minecraft/client/render/block/BlockModels;Ljava/util/function/Supplier;Lnet/minecraft/client/color/block/BlockColors;)Vintermediary <init>Lnet/minecraft/class_776;<init>(Lnet/minecraft/class_773;Ljava/util/function/Supplier;Lnet/minecraft/class_324;)Vofficial <init>Lgsq;<init>(Lgsp;Ljava/util/function/Supplier;Lfrs;)V
-
-
Method Details
-
getModels
- Mappings:
Namespace Name Mixin selector named getModelsLnet/minecraft/client/render/block/BlockRenderManager;getModels()Lnet/minecraft/client/render/block/BlockModels;intermediary method_3351Lnet/minecraft/class_776;method_3351()Lnet/minecraft/class_773;official aLgsq;a()Lgsp;
-
renderDamage
public void renderDamage(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer) - Mappings:
Namespace Name Mixin selector named 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;)Vintermediary 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 aLgsq;a(Lebq;Liw;Ldjk;Lfld;Lflg;)V
-
renderBlock
public void renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, List<BlockModelPart> parts) - Mappings:
Namespace Name Mixin selector named 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;ZLjava/util/List;)Vintermediary 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;ZLjava/util/List;)Vofficial aLgsq;a(Lebq;Liw;Ldjk;Lfld;Lflg;ZLjava/util/List;)V
-
renderFluid
public void renderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector named 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;)Vintermediary 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 aLgsq;a(Liw;Ldjk;Lflg;Lebq;Leya;)V
-
getModelRenderer
- Mappings:
Namespace Name Mixin selector named getModelRendererLnet/minecraft/client/render/block/BlockRenderManager;getModelRenderer()Lnet/minecraft/client/render/block/BlockModelRenderer;intermediary method_3350Lnet/minecraft/class_776;method_3350()Lnet/minecraft/class_778;official bLgsq;b()Lgss;
-
getModel
- Mappings:
Namespace Name Mixin selector named getModelLnet/minecraft/client/render/block/BlockRenderManager;getModel(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/render/model/BlockStateModel;intermediary method_3349Lnet/minecraft/class_776;method_3349(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1087;official aLgsq;a(Lebq;)Lgta;
-
renderBlockAsEntity
public void renderBlockAsEntity(BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) - Mappings:
Namespace Name Mixin selector named renderBlockAsEntityLnet/minecraft/client/render/block/BlockRenderManager;renderBlockAsEntity(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)Vintermediary method_3353Lnet/minecraft/class_776;method_3353(Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Vofficial aLgsq;a(Lebq;Lfld;Lgrn;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 named reloadLnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)Vintermediary method_14491Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)Vofficial aLavp;a(Lavo;)V
-