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 hly
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Key<T>, ResourceReloader.Store, ResourceReloader.Synchronizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockColorsprivate final BlockModelRendererprivate FluidRendererprivate final BlockModelsprivate final List<BlockModelPart> private final Randomprivate final SpriteHolder -
Constructor Summary
ConstructorsConstructorDescriptionBlockRenderManager(BlockModels models, SpriteHolder spriteHolder, 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
getName, prepareSharedStateMethods 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 aLhly;a:Lhlx;
-
spriteHolder
- Mappings:
Namespace Name Mixin selector named spriteHolderLnet/minecraft/client/render/block/BlockRenderManager;spriteHolder:Lnet/minecraft/client/texture/SpriteHolder;intermediary field_61777Lnet/minecraft/class_776;field_61777:Lnet/minecraft/class_11701;official bLhly;b:Lijv;
-
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 cLhly;c:Lhma;
-
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 dLhly;d:Lhlz;
-
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 eLhly;e:Lbgr;
-
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 fLhly;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 gLhly;g:Lgfm;
-
-
Constructor Details
-
BlockRenderManager
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/block/BlockRenderManager;<init>(Lnet/minecraft/client/render/block/BlockModels;Lnet/minecraft/client/texture/SpriteHolder;Lnet/minecraft/client/color/block/BlockColors;)Vintermediary <init>Lnet/minecraft/class_776;<init>(Lnet/minecraft/class_773;Lnet/minecraft/class_11701;Lnet/minecraft/class_324;)Vofficial <init>Lhly;<init>(Lhlx;Lijv;Lgfm;)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 aLhly;a()Lhlx;
-
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 aLhly;a(Lend;Lis;Ldum;Lfyi;Lfyl;)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 aLhly;a(Lend;Lis;Ldum;Lfyi;Lfyl;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 aLhly;a(Lis;Ldum;Lfyl;Lend;Lfjx;)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 bLhly;b()Lhma;
-
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 aLhly;a(Lend;)Lhmj;
-
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 aLhly;a(Lend;Lfyi;Lhkp;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 aLbba;a(Lbaz;)V
-