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 gtd
-
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 List<class_10889> private final FluidRendererprivate final BlockModelsprivate final Random -
Constructor Summary
ConstructorsConstructorDescriptionBlockRenderManager(BlockModels blockModels, 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<class_10889> list) voidrenderBlockAsEntity(BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) voidrenderDamage(BlockState blockState, BlockPos blockPos, BlockRenderView world, MatrixStack matrixStack, 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 aLgtd;a:Lgtc;
-
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 bLgtd;b:Lgtf;
-
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 cLgtd;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 dLgtd;d:Lgte;
-
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 eLgtd;e:Lazx;
-
field_57937
- Mappings:
Namespace Name Mixin selector named field_57937Lnet/minecraft/client/render/block/BlockRenderManager;field_57937:Ljava/util/List;intermediary field_57937Lnet/minecraft/class_776;field_57937:Ljava/util/List;official fLgtd;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 gLgtd;g:Lfsf;
-
-
Constructor Details
-
BlockRenderManager
public BlockRenderManager(BlockModels blockModels, 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>Lgtd;<init>(Lgtc;Ljava/util/function/Supplier;Lfsf;)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 aLgtd;a()Lgtc;
-
renderDamage
public void renderDamage(BlockState blockState, BlockPos blockPos, BlockRenderView world, MatrixStack matrixStack, 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 aLgtd;a(Lebe;Liv;Ldiy;Lflo;Lflr;)V
-
renderBlock
public void renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, List<class_10889> list) - 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 aLgtd;a(Lebe;Liv;Ldiy;Lflo;Lflr;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 aLgtd;a(Liv;Ldiy;Lflr;Lebe;Lexo;)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 bLgtd;b()Lgtf;
-
getModel
- Mappings:
Namespace Name Mixin selector named getModelLnet/minecraft/client/render/block/BlockRenderManager;getModel(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/render/model/BakedModel;intermediary method_3349Lnet/minecraft/class_776;method_3349(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1087;official aLgtd;a(Lebe;)Lgtn;
-
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 aLgtd;a(Lebe;Lflo;Lgsa;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 aLavg;a(Lavf;)V
-