Class SignBlockEntityRenderer
java.lang.Object
net.minecraft.client.render.block.entity.SignBlockEntityRenderer
- All Implemented Interfaces:
BlockEntityRenderer<SignBlockEntity>
@Environment(CLIENT)
public class SignBlockEntityRenderer
extends Object
implements BlockEntityRenderer<SignBlockEntity>
- Mappings:
Namespace Name official ert
intermediary net/minecraft/class_837
named net/minecraft/client/render/block/entity/SignBlockEntityRenderer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
static final int
private static final int
private static final String
private static final int
private final TextRenderer
private final Map<SignType,
SignBlockEntityRenderer.SignModel> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSignModel
(EntityModelLoader entityModelLoader, SignType type) private static int
getColor
(SignBlockEntity sign) static SignType
getSignType
(Block block) static TexturedModelData
void
render
(SignBlockEntity signBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3) private static boolean
shouldRender
(SignBlockEntity sign, int signColor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.render.block.entity.BlockEntityRenderer
getRenderDistance, isInRenderDistance, rendersOutsideBoundingBox
-
Field Details
-
MAX_TEXT_WIDTH
public static final int MAX_TEXT_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lert;a:I
intermediary field_32828
Lnet/minecraft/class_837;field_32828:I
named MAX_TEXT_WIDTH
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;MAX_TEXT_WIDTH:I
-
TEXT_HEIGHT
private static final int TEXT_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lert;b:I
intermediary field_32829
Lnet/minecraft/class_837;field_32829:I
named TEXT_HEIGHT
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;TEXT_HEIGHT:I
-
STICK
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lert;c:Ljava/lang/String;
intermediary field_32830
Lnet/minecraft/class_837;field_32830:Ljava/lang/String;
named STICK
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;STICK:Ljava/lang/String;
-
GLOWING_BLACK_COLOR
private static final int GLOWING_BLACK_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lert;d:I
intermediary field_33962
Lnet/minecraft/class_837;field_33962:I
named GLOWING_BLACK_COLOR
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;GLOWING_BLACK_COLOR:I
-
RENDER_DISTANCE
private static final int RENDER_DISTANCE- Mappings:
Namespace Name Mixin selector official e
Lert;e:I
intermediary field_33963
Lnet/minecraft/class_837;field_33963:I
named RENDER_DISTANCE
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;RENDER_DISTANCE:I
-
typeToModel
- Mappings:
Namespace Name Mixin selector official f
Lert;f:Ljava/util/Map;
intermediary field_27754
Lnet/minecraft/class_837;field_27754:Ljava/util/Map;
named typeToModel
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;typeToModel:Ljava/util/Map;
-
textRenderer
- Mappings:
Namespace Name Mixin selector official g
Lert;g:Ldyl;
intermediary field_27755
Lnet/minecraft/class_837;field_27755:Lnet/minecraft/class_327;
named textRenderer
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
-
Constructor Details
-
SignBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lert;<init>(Lerj$a;)V
intermediary <init>
Lnet/minecraft/class_837;<init>(Lnet/minecraft/class_5614$class_5615;)V
named <init>
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
-
-
Method Details
-
render
public void render(SignBlockEntity signBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3) - Specified by:
render
in interfaceBlockEntityRenderer<SignBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Lert;a(Lcmz;FLdsj;Lepl;II)V
intermediary method_23083
Lnet/minecraft/class_837;method_23083(Lnet/minecraft/class_2625;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
named render
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;render(Lnet/minecraft/block/entity/SignBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
-
shouldRender
- Mappings:
Namespace Name Mixin selector official a
Lert;a(Lcmz;I)Z
intermediary method_37312
Lnet/minecraft/class_837;method_37312(Lnet/minecraft/class_2625;I)Z
named shouldRender
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;shouldRender(Lnet/minecraft/block/entity/SignBlockEntity;I)Z
-
getColor
- Mappings:
Namespace Name Mixin selector official a
Lert;a(Lcmz;)I
intermediary method_37311
Lnet/minecraft/class_837;method_37311(Lnet/minecraft/class_2625;)I
named getColor
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getColor(Lnet/minecraft/block/entity/SignBlockEntity;)I
-
getSignType
- Mappings:
Namespace Name Mixin selector official a
Lert;a(Lccy;)Lcpp;
intermediary method_32155
Lnet/minecraft/class_837;method_32155(Lnet/minecraft/class_2248;)Lnet/minecraft/class_4719;
named getSignType
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getSignType(Lnet/minecraft/block/Block;)Lnet/minecraft/util/SignType;
-
createSignModel
public static SignBlockEntityRenderer.SignModel createSignModel(EntityModelLoader entityModelLoader, SignType type) - Mappings:
Namespace Name Mixin selector official a
Lert;a(Lekq;Lcpp;)Lert$a;
intermediary method_32157
Lnet/minecraft/class_837;method_32157(Lnet/minecraft/class_5599;Lnet/minecraft/class_4719;)Lnet/minecraft/class_837$class_4702;
named createSignModel
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;createSignModel(Lnet/minecraft/client/render/entity/model/EntityModelLoader;Lnet/minecraft/util/SignType;)Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer$SignModel;
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official b
Lert;b()Lela;
intermediary method_32154
Lnet/minecraft/class_837;method_32154()Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-