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 gss
-
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 blockRenderView, BlockState blockState, BlockPos blockPos, int[] int2, Direction direction, BlockModelRenderer.class_10931 class_10931) private static booleanmethod_68826(BlockRenderView blockRenderView, BlockState blockState, boolean bool, Direction direction, BlockPos blockPos) static voidrender(MatrixStack.Entry entry, VertexConsumer vertexConsumer, BlockStateModel blockStateModel, float float2, float float3, float float4, int int2, int int3) 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.class_10931 class_10931, int int2) private static voidrenderQuads(MatrixStack.Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, int overlay) private voidrenderQuadsFlat(BlockRenderView blockRenderView, BlockState state, BlockPos blockPos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.class_10931 class_10931) private voidrenderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int int2) voidrenderSmooth(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay)
-
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 aLgss;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_SIZELnet/minecraft/client/render/block/BlockModelRenderer;BRIGHTNESS_CACHE_MAX_SIZE:Iintermediary field_32784Lnet/minecraft/class_778;field_32784:Iofficial cLgss;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 dLgss;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 bLgss;b:Lfrs;
-
-
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>Lgss;<init>(Lfrs;)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 aLgss;a(Ldjk;Ljava/util/List;Lebq;Liw;Lfld;Lflg;ZI)V
-
method_68826
private static boolean method_68826(BlockRenderView blockRenderView, BlockState blockState, boolean bool, Direction direction, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector named method_68826Lnet/minecraft/client/render/block/BlockModelRenderer;method_68826(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 aLgss;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 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 bLgss;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 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 cLgss;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 int2) - 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 aLgss;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.class_10931 class_10931, int int2) - 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$class_10931;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 aLgss;a(Ldjk;Lebq;Liw;Lflg;Lfld$a;Lgst;Lgss$e;I)V
-
getQuadDimensions
private static void getQuadDimensions(BlockRenderView blockRenderView, BlockState blockState, BlockPos blockPos, int[] int2, Direction direction, BlockModelRenderer.class_10931 class_10931) - 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$class_10931;)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 aLgss;a(Ldjk;Lebq;Liw;[ILjc;Lgss$e;)V
-
renderQuadsFlat
private void renderQuadsFlat(BlockRenderView blockRenderView, BlockState state, BlockPos blockPos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer.class_10931 class_10931) - 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$class_10931;)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 aLgss;a(Ldjk;Lebq;Liw;IIZLfld;Lflg;Ljava/util/List;Lgss$e;)V
-
render
public static void render(MatrixStack.Entry entry, VertexConsumer vertexConsumer, BlockStateModel blockStateModel, float float2, float float3, float float4, int int2, int int3) - 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 aLgss;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 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 aLgss;a(Lfld$a;Lflg;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 aLgss;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 bLgss;b()V
-