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 hhg
-
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 Supplier<LoadedBlockEntityModels> private final BlockModelRendererprivate final FluidRendererprivate final BlockModelsprivate final List<BlockModelPart> private final Randomprivate final SpriteHolder -
Constructor Summary
ConstructorsConstructorDescriptionBlockRenderManager(BlockModels models, SpriteHolder spriteHolder, 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
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 aLhhg;a:Lhhf;
-
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 bLhhg;b:Lies;
-
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 cLhhg;c:Lhhi;
-
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 dLhhg;d: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 eLhhg;e:Lhhh;
-
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 fLhhg;f:Lbfq;
-
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 gLhhg;g: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 hLhhg;h:Lgbe;
-
-
Constructor Details
-
BlockRenderManager
public BlockRenderManager(BlockModels models, SpriteHolder spriteHolder, 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;Lnet/minecraft/client/texture/SpriteHolder;Ljava/util/function/Supplier;Lnet/minecraft/client/color/block/BlockColors;)Vintermediary <init>Lnet/minecraft/class_776;<init>(Lnet/minecraft/class_773;Lnet/minecraft/class_11701;Ljava/util/function/Supplier;Lnet/minecraft/class_324;)Vofficial <init>Lhhg;<init>(Lhhf;Lies;Ljava/util/function/Supplier;Lgbe;)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 aLhhg;a()Lhhf;
-
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 aLhhg;a(Lejm;Lja;Ldqr;Lfua;Lfud;)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 aLhhg;a(Lejm;Lja;Ldqr;Lfua;Lfud;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 aLhhg;a(Lja;Ldqr;Lfud;Lejm;Lfga;)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 bLhhg;b()Lhhi;
-
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 aLhhg;a(Lejm;)Lhhr;
-
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 aLhhg;a(Lejm;Lfua;Lhfw;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 aLbaq;a(Lbap;)V
-