Class BlockModelRenderer
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/block/BlockModelRendererintermediary net/minecraft/class_778official hkq
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classprotected static enumprotected static enumprivate static enum -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ThreadLocal<BlockModelRenderer.BrightnessCache> private static final intprivate final BlockColorsprivate static final Direction[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidprivate static voidgetQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, BlockModelRenderer.LightmapCache lightmap) static voidrender(MatrixStack.Entry entry, VertexConsumer vertexConsumer, BlockStateModel model, float red, float green, float blue, int light, int overlay) voidrender(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) voidrenderFlat(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) private voidrenderQuad(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, BlockModelRenderer.LightmapCache lightmap, int light) private static voidrenderQuads(MatrixStack.Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, int overlay) private voidrenderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.LightmapCache lightmap) private voidrenderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) voidrenderSmooth(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) private static booleanshouldDrawFace(BlockRenderView world, BlockState state, boolean cull, Direction side, BlockPos pos)
-
Field Details
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector named DIRECTIONSLnet/minecraft/client/render/block/BlockModelRenderer;DIRECTIONS:[Lnet/minecraft/util/math/Direction;intermediary field_27743Lnet/minecraft/class_778;field_27743:[Lnet/minecraft/class_2350;official aLhkq;a:[Ljf;
-
BRIGHTNESS_CACHE_MAX_SIZE
private static final int BRIGHTNESS_CACHE_MAX_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS_CACHE_MAX_SIZELnet/minecraft/client/render/block/BlockModelRenderer;BRIGHTNESS_CACHE_MAX_SIZE:Iintermediary field_32784Lnet/minecraft/class_778;field_32784:Iofficial cLhkq;c:I
-
BRIGHTNESS_CACHE
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS_CACHELnet/minecraft/client/render/block/BlockModelRenderer;BRIGHTNESS_CACHE:Ljava/lang/ThreadLocal;intermediary field_4179Lnet/minecraft/class_778;field_4179:Ljava/lang/ThreadLocal;official dLhkq;d:Ljava/lang/ThreadLocal;
-
colors
- Mappings:
Namespace Name Mixin selector named colorsLnet/minecraft/client/render/block/BlockModelRenderer;colors:Lnet/minecraft/client/color/block/BlockColors;intermediary field_4178Lnet/minecraft/class_778;field_4178:Lnet/minecraft/class_324;official bLhkq;b:Lged;
-
-
Constructor Details
-
BlockModelRenderer
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/block/BlockModelRenderer;<init>(Lnet/minecraft/client/color/block/BlockColors;)Vintermediary <init>Lnet/minecraft/class_778;<init>(Lnet/minecraft/class_324;)Vofficial <init>Lhkq;<init>(Lged;)V
-
-
Method Details
-
render
public void render(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/BlockModelRenderer;render(Lnet/minecraft/world/BlockRenderView;Ljava/util/List;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZI)Vintermediary method_3374Lnet/minecraft/class_778;method_3374(Lnet/minecraft/class_1920;Ljava/util/List;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZI)Vofficial aLhkq;a(Ldto;Ljava/util/List;Lemh;Liz;Lfwz;Lfxc;ZI)V
-
shouldDrawFace
private static boolean shouldDrawFace(BlockRenderView world, BlockState state, boolean cull, Direction side, BlockPos pos) - Mappings:
Namespace Name Mixin selector named shouldDrawFaceLnet/minecraft/client/render/block/BlockModelRenderer;shouldDrawFace(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;ZLnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_68826Lnet/minecraft/class_778;method_68826(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;ZLnet/minecraft/class_2350;Lnet/minecraft/class_2338;)Zofficial aLhkq;a(Ldto;Lemh;ZLjf;Liz;)Z
-
renderSmooth
public void renderSmooth(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) - Mappings:
Namespace Name Mixin selector named renderSmoothLnet/minecraft/client/render/block/BlockModelRenderer;renderSmooth(Lnet/minecraft/world/BlockRenderView;Ljava/util/List;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZI)Vintermediary method_3361Lnet/minecraft/class_778;method_3361(Lnet/minecraft/class_1920;Ljava/util/List;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZI)Vofficial bLhkq;b(Ldto;Ljava/util/List;Lemh;Liz;Lfwz;Lfxc;ZI)V
-
renderFlat
public void renderFlat(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) - Mappings:
Namespace Name Mixin selector named renderFlatLnet/minecraft/client/render/block/BlockModelRenderer;renderFlat(Lnet/minecraft/world/BlockRenderView;Ljava/util/List;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZI)Vintermediary method_3373Lnet/minecraft/class_778;method_3373(Lnet/minecraft/class_1920;Ljava/util/List;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZI)Vofficial cLhkq;c(Ldto;Ljava/util/List;Lemh;Liz;Lfwz;Lfxc;ZI)V
-
renderQuadsSmooth
private void renderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) - Mappings:
Namespace Name Mixin selector named renderQuadsSmoothLnet/minecraft/client/render/block/BlockModelRenderer;renderQuadsSmooth(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Ljava/util/List;Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;I)Vintermediary method_3363Lnet/minecraft/class_778;method_3363(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Ljava/util/List;Lnet/minecraft/class_778$class_780;I)Vofficial aLhkq;a(Ldto;Lemh;Liz;Lfwz;Lfxc;Ljava/util/List;Lhkq$b;I)V
-
renderQuad
private void renderQuad(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, BlockModelRenderer.LightmapCache lightmap, int light) - Mappings:
Namespace Name Mixin selector named renderQuadLnet/minecraft/client/render/block/BlockModelRenderer;renderQuad(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/model/BakedQuad;Lnet/minecraft/client/render/block/BlockModelRenderer$LightmapCache;I)Vintermediary method_23073Lnet/minecraft/class_778;method_23073(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_777;Lnet/minecraft/class_778$class_10931;I)Vofficial aLhkq;a(Ldto;Lemh;Liz;Lfxc;Lfwz$a;Lhks;Lhkq$e;I)V
-
getQuadDimensions
private static void getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, BlockModelRenderer.LightmapCache lightmap) - Mappings:
Namespace Name Mixin selector named getQuadDimensionsLnet/minecraft/client/render/block/BlockModelRenderer;getQuadDimensions(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;[ILnet/minecraft/util/math/Direction;Lnet/minecraft/client/render/block/BlockModelRenderer$LightmapCache;)Vintermediary method_3364Lnet/minecraft/class_778;method_3364(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;[ILnet/minecraft/class_2350;Lnet/minecraft/class_778$class_10931;)Vofficial aLhkq;a(Ldto;Lemh;Liz;[ILjf;Lhkq$e;)V
-
renderQuadsFlat
private void renderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.LightmapCache lightmap) - Mappings:
Namespace Name Mixin selector named renderQuadsFlatLnet/minecraft/client/render/block/BlockModelRenderer;renderQuadsFlat(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;IIZLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Ljava/util/List;Lnet/minecraft/client/render/block/BlockModelRenderer$LightmapCache;)Vintermediary method_3370Lnet/minecraft/class_778;method_3370(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;IIZLnet/minecraft/class_4587;Lnet/minecraft/class_4588;Ljava/util/List;Lnet/minecraft/class_778$class_10931;)Vofficial aLhkq;a(Ldto;Lemh;Liz;IIZLfwz;Lfxc;Ljava/util/List;Lhkq$e;)V
-
render
public static void render(MatrixStack.Entry entry, VertexConsumer vertexConsumer, BlockStateModel model, float red, float green, float blue, int light, int overlay) - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/BlockModelRenderer;render(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/model/BlockStateModel;FFFII)Vintermediary method_3367Lnet/minecraft/class_778;method_3367(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;Lnet/minecraft/class_1087;FFFII)Vofficial aLhkq;a(Lfwz$a;Lfxc;Lhkz;FFFII)V
-
renderQuads
private static void renderQuads(MatrixStack.Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, int overlay) - Mappings:
Namespace Name Mixin selector named renderQuadsLnet/minecraft/client/render/block/BlockModelRenderer;renderQuads(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;FFFLjava/util/List;II)Vintermediary method_3365Lnet/minecraft/class_778;method_3365(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;FFFLjava/util/List;II)Vofficial aLhkq;a(Lfwz$a;Lfxc;FFFLjava/util/List;II)V
-
enableBrightnessCache
public static void enableBrightnessCache()- Mappings:
Namespace Name Mixin selector named enableBrightnessCacheLnet/minecraft/client/render/block/BlockModelRenderer;enableBrightnessCache()Vintermediary method_20544Lnet/minecraft/class_778;method_20544()Vofficial aLhkq;a()V
-
disableBrightnessCache
public static void disableBrightnessCache()- Mappings:
Namespace Name Mixin selector named disableBrightnessCacheLnet/minecraft/client/render/block/BlockModelRenderer;disableBrightnessCache()Vintermediary method_20545Lnet/minecraft/class_778;method_20545()Vofficial bLhkq;b()V
-