Class BlockModelRenderer
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/block/BlockModelRenderer
intermediary net/minecraft/class_778
official gfb
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
protected static enum
protected static enum
private static enum
-
Field Summary
Modifier and TypeFieldDescription(package private) static final ThreadLocal
<BlockModelRenderer.BrightnessCache> private static final int
private final BlockColors
(package private) static final Direction[]
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
private void
getQuadDimensions
(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags) void
render
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, @Nullable BlockState state, BakedModel bakedModel, float red, float green, float blue, int light, int overlay) void
render
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) void
renderFlat
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) private void
renderQuad
(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int light0, int light1, int light2, int light3, int overlay) private static void
renderQuads
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, int overlay) private void
renderQuadsFlat
(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BitSet flags) private void
renderQuadsSmooth
(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) void
renderSmooth
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay)
-
Field Details
-
field_32782
private static final int field_32782- See Also:
- Mappings:
Namespace Name Mixin selector named field_32782
Lnet/minecraft/client/render/block/BlockModelRenderer;field_32782:I
intermediary field_32782
Lnet/minecraft/class_778;field_32782:I
official a
Lgfb;a:I
-
field_32783
private static final int field_32783- See Also:
- Mappings:
Namespace Name Mixin selector named field_32783
Lnet/minecraft/client/render/block/BlockModelRenderer;field_32783:I
intermediary field_32783
Lnet/minecraft/class_778;field_32783:I
official b
Lgfb;b:I
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector named DIRECTIONS
Lnet/minecraft/client/render/block/BlockModelRenderer;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
intermediary field_27743
Lnet/minecraft/class_778;field_27743:[Lnet/minecraft/class_2350;
official c
Lgfb;c:[Ljf;
-
BRIGHTNESS_CACHE_MAX_SIZE
private static final int BRIGHTNESS_CACHE_MAX_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS_CACHE_MAX_SIZE
Lnet/minecraft/client/render/block/BlockModelRenderer;BRIGHTNESS_CACHE_MAX_SIZE:I
intermediary field_32784
Lnet/minecraft/class_778;field_32784:I
official e
Lgfb;e:I
-
BRIGHTNESS_CACHE
- Mappings:
Namespace Name Mixin selector named BRIGHTNESS_CACHE
Lnet/minecraft/client/render/block/BlockModelRenderer;BRIGHTNESS_CACHE:Ljava/lang/ThreadLocal;
intermediary field_4179
Lnet/minecraft/class_778;field_4179:Ljava/lang/ThreadLocal;
official f
Lgfb;f:Ljava/lang/ThreadLocal;
-
colors
- Mappings:
Namespace Name Mixin selector named colors
Lnet/minecraft/client/render/block/BlockModelRenderer;colors:Lnet/minecraft/client/color/block/BlockColors;
intermediary field_4178
Lnet/minecraft/class_778;field_4178:Lnet/minecraft/class_324;
official d
Lgfb;d:Lfgy;
-
-
Constructor Details
-
BlockModelRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/block/BlockModelRenderer;<init>(Lnet/minecraft/client/color/block/BlockColors;)V
intermediary <init>
Lnet/minecraft/class_778;<init>(Lnet/minecraft/class_324;)V
official <init>
Lgfb;<init>(Lfgy;)V
-
-
Method Details
-
render
public void render(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/block/BlockModelRenderer;render(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZLnet/minecraft/util/math/random/Random;JI)V
intermediary method_3374
Lnet/minecraft/class_778;method_3374(Lnet/minecraft/class_1920;Lnet/minecraft/class_1087;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZLnet/minecraft/class_5819;JI)V
official a
Lgfb;a(Ldbj;Lgrr;Ldsl;Lja;Lfao;Lfas;ZLayo;JI)V
-
renderSmooth
public void renderSmooth(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) - Mappings:
Namespace Name Mixin selector named renderSmooth
Lnet/minecraft/client/render/block/BlockModelRenderer;renderSmooth(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZLnet/minecraft/util/math/random/Random;JI)V
intermediary method_3361
Lnet/minecraft/class_778;method_3361(Lnet/minecraft/class_1920;Lnet/minecraft/class_1087;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZLnet/minecraft/class_5819;JI)V
official b
Lgfb;b(Ldbj;Lgrr;Ldsl;Lja;Lfao;Lfas;ZLayo;JI)V
-
renderFlat
public void renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) - Mappings:
Namespace Name Mixin selector named renderFlat
Lnet/minecraft/client/render/block/BlockModelRenderer;renderFlat(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZLnet/minecraft/util/math/random/Random;JI)V
intermediary method_3373
Lnet/minecraft/class_778;method_3373(Lnet/minecraft/class_1920;Lnet/minecraft/class_1087;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZLnet/minecraft/class_5819;JI)V
official c
Lgfb;c(Ldbj;Lgrr;Ldsl;Lja;Lfao;Lfas;ZLayo;JI)V
-
renderQuadsSmooth
private void renderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) - Mappings:
Namespace Name Mixin selector named renderQuadsSmooth
Lnet/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;[FLjava/util/BitSet;Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;I)V
intermediary method_3363
Lnet/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;[FLjava/util/BitSet;Lnet/minecraft/class_778$class_780;I)V
official a
Lgfb;a(Ldbj;Ldsl;Lja;Lfao;Lfas;Ljava/util/List;[FLjava/util/BitSet;Lgfb$b;I)V
-
renderQuad
private void renderQuad(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int light0, int light1, int light2, int light3, int overlay) - Mappings:
Namespace Name Mixin selector named renderQuad
Lnet/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;FFFFIIIII)V
intermediary method_23073
Lnet/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;FFFFIIIII)V
official a
Lgfb;a(Ldbj;Ldsl;Lja;Lfas;Lfao$a;Lgfc;FFFFIIIII)V
-
getQuadDimensions
private void getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @Nullable @org.jetbrains.annotations.Nullable float[] box, BitSet flags) - Mappings:
Namespace Name Mixin selector named getQuadDimensions
Lnet/minecraft/client/render/block/BlockModelRenderer;getQuadDimensions(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;[ILnet/minecraft/util/math/Direction;[FLjava/util/BitSet;)V
intermediary method_3364
Lnet/minecraft/class_778;method_3364(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;[ILnet/minecraft/class_2350;[FLjava/util/BitSet;)V
official a
Lgfb;a(Ldbj;Ldsl;Lja;[ILjf;[FLjava/util/BitSet;)V
-
renderQuadsFlat
private void renderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BitSet flags) - Mappings:
Namespace Name Mixin selector named renderQuadsFlat
Lnet/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;Ljava/util/BitSet;)V
intermediary method_3370
Lnet/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;Ljava/util/BitSet;)V
official a
Lgfb;a(Ldbj;Ldsl;Lja;IIZLfao;Lfas;Ljava/util/List;Ljava/util/BitSet;)V
-
render
public void render(MatrixStack.Entry entry, VertexConsumer vertexConsumer, @Nullable @Nullable BlockState state, BakedModel bakedModel, float red, float green, float blue, int light, int overlay) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/block/BlockModelRenderer;render(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/block/BlockState;Lnet/minecraft/client/render/model/BakedModel;FFFII)V
intermediary method_3367
Lnet/minecraft/class_778;method_3367(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;Lnet/minecraft/class_2680;Lnet/minecraft/class_1087;FFFII)V
official a
Lgfb;a(Lfao$a;Lfas;Ldsl;Lgrr;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 renderQuads
Lnet/minecraft/client/render/block/BlockModelRenderer;renderQuads(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;FFFLjava/util/List;II)V
intermediary method_3365
Lnet/minecraft/class_778;method_3365(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;FFFLjava/util/List;II)V
official a
Lgfb;a(Lfao$a;Lfas;FFFLjava/util/List;II)V
-
enableBrightnessCache
public static void enableBrightnessCache()- Mappings:
Namespace Name Mixin selector named enableBrightnessCache
Lnet/minecraft/client/render/block/BlockModelRenderer;enableBrightnessCache()V
intermediary method_20544
Lnet/minecraft/class_778;method_20544()V
official a
Lgfb;a()V
-
disableBrightnessCache
public static void disableBrightnessCache()- Mappings:
Namespace Name Mixin selector named disableBrightnessCache
Lnet/minecraft/client/render/block/BlockModelRenderer;disableBrightnessCache()V
intermediary method_20545
Lnet/minecraft/class_778;method_20545()V
official b
Lgfb;b()V
-