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 hhi
-
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 aLhhi;a:[Ljg;
-
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 cLhhi;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 dLhhi;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 bLhhi;b:Lgbe;
-
-
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>Lhhi;<init>(Lgbe;)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 aLhhi;a(Ldqr;Ljava/util/List;Lejm;Lja;Lfua;Lfud;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 aLhhi;a(Ldqr;Lejm;ZLjg;Lja;)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 bLhhi;b(Ldqr;Ljava/util/List;Lejm;Lja;Lfua;Lfud;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 cLhhi;c(Ldqr;Ljava/util/List;Lejm;Lja;Lfua;Lfud;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 aLhhi;a(Ldqr;Lejm;Lja;Lfua;Lfud;Ljava/util/List;Lhhi$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 aLhhi;a(Ldqr;Lejm;Lja;Lfud;Lfua$a;Lhhk;Lhhi$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 aLhhi;a(Ldqr;Lejm;Lja;[ILjg;Lhhi$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 aLhhi;a(Ldqr;Lejm;Lja;IIZLfua;Lfud;Ljava/util/List;Lhhi$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 aLhhi;a(Lfua$a;Lfud;Lhhr;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 aLhhi;a(Lfua$a;Lfud;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 aLhhi;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 bLhhi;b()V
-