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 gss
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
protected static enum
protected static enum
private static enum
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ThreadLocal
<BlockModelRenderer.BrightnessCache> private static final int
private final BlockColors
private static final Direction[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
private static void
getQuadDimensions
(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, BlockModelRenderer.LightmapCache lightmap) static void
render
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, BlockStateModel model, float red, float green, float blue, int light, int overlay) void
render
(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) void
renderFlat
(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) private void
renderQuad
(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, BlockModelRenderer.LightmapCache lightmap, int int2) 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, BlockModelRenderer.LightmapCache lightmap) private void
renderQuadsSmooth
(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) void
renderSmooth
(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay) private static boolean
shouldDrawFace
(BlockRenderView world, BlockState state, boolean cull, Direction side, BlockPos pos)
-
Field Details
-
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 a
Lgss;a:[Ljc;
-
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 c
Lgss;c: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 d
Lgss;d: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 b
Lgss;b:Lfrs;
-
-
Constructor Details
-
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 render
Lnet/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)V
intermediary method_3374
Lnet/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)V
official a
Lgss;a(Ldjk;Ljava/util/List;Lebq;Liw;Lfld;Lflg;ZI)V
-
shouldDrawFace
private static boolean shouldDrawFace(BlockRenderView world, BlockState state, boolean cull, Direction side, BlockPos pos) - Mappings:
Namespace Name Mixin selector named shouldDrawFace
Lnet/minecraft/client/render/block/BlockModelRenderer;shouldDrawFace(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;ZLnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_68826
Lnet/minecraft/class_778;method_68826(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;ZLnet/minecraft/class_2350;Lnet/minecraft/class_2338;)Z
official a
Lgss;a(Ldjk;Lebq;ZLjc;Liw;)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 renderSmooth
Lnet/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)V
intermediary method_3361
Lnet/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)V
official b
Lgss;b(Ldjk;Ljava/util/List;Lebq;Liw;Lfld;Lflg;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 renderFlat
Lnet/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)V
intermediary method_3373
Lnet/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)V
official c
Lgss;c(Ldjk;Ljava/util/List;Lebq;Liw;Lfld;Lflg;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 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;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;Lnet/minecraft/class_778$class_780;I)V
official a
Lgss;a(Ldjk;Lebq;Liw;Lfld;Lflg;Ljava/util/List;Lgss$b;I)V
-
renderQuad
private void renderQuad(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, BlockModelRenderer.LightmapCache lightmap, int int2) - 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;Lnet/minecraft/client/render/block/BlockModelRenderer$LightmapCache;I)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;Lnet/minecraft/class_778$class_10931;I)V
official a
Lgss;a(Ldjk;Lebq;Liw;Lflg;Lfld$a;Lgst;Lgss$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 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;Lnet/minecraft/client/render/block/BlockModelRenderer$LightmapCache;)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;Lnet/minecraft/class_778$class_10931;)V
official a
Lgss;a(Ldjk;Lebq;Liw;[ILjc;Lgss$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 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;Lnet/minecraft/client/render/block/BlockModelRenderer$LightmapCache;)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;Lnet/minecraft/class_778$class_10931;)V
official a
Lgss;a(Ldjk;Lebq;Liw;IIZLfld;Lflg;Ljava/util/List;Lgss$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 render
Lnet/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)V
intermediary method_3367
Lnet/minecraft/class_778;method_3367(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;Lnet/minecraft/class_1087;FFFII)V
official a
Lgss;a(Lfld$a;Lflg;Lgta;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
Lgss;a(Lfld$a;Lflg;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
Lgss;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
Lgss;b()V
-