Class SignBlockEntityRenderer
java.lang.Object
net.minecraft.client.render.block.entity.SignBlockEntityRenderer
- All Implemented Interfaces:
BlockEntityRenderer<SignBlockEntity>
- Direct Known Subclasses:
HangingSignBlockEntityRenderer
@Environment(CLIENT)
public class SignBlockEntityRenderer
extends Object
implements BlockEntityRenderer<SignBlockEntity>
- Mappings:
Namespace Name official fmi
intermediary net/minecraft/class_837
named net/minecraft/client/render/block/entity/SignBlockEntityRenderer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final float
private static final String
private static final Vec3d
private final TextRenderer
private final Map<WoodType,
SignBlockEntityRenderer.SignModel> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSignModel
(EntityModelLoader entityModelLoader, WoodType type) (package private) static int
float
(package private) Vec3d
float
static TexturedModelData
(package private) SpriteIdentifier
getTextureId
(WoodType signType) void
render
(SignBlockEntity signBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3) (package private) void
render
(SignBlockEntity entity, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BlockState state, AbstractSignBlock block, WoodType woodType, Model model) (package private) void
renderSign
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, WoodType woodType, Model model) (package private) void
renderSignModel
(MatrixStack matrices, int light, int overlay, Model model, VertexConsumer vertexConsumers) (package private) void
renderText
(BlockPos pos, SignText signText, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int lineHeight, int lineWidth, boolean front) (package private) void
setAngles
(MatrixStack matrices, float rotationDegrees, BlockState state) private void
setTextAngles
(MatrixStack matrices, boolean front, Vec3d translation) (package private) static boolean
shouldRender
(BlockPos pos, 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
-
STICK
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfmi;a: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 b
Lfmi;b: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 c
Lfmi;c:I
intermediary field_33963
Lnet/minecraft/class_837;field_33963:I
named RENDER_DISTANCE
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;RENDER_DISTANCE:I
-
SCALE
private static final float SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lfmi;d:F
intermediary field_44577
Lnet/minecraft/class_837;field_44577:F
named SCALE
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;SCALE:F
-
TEXT_OFFSET
- Mappings:
Namespace Name Mixin selector official e
Lfmi;e:Leei;
intermediary field_44578
Lnet/minecraft/class_837;field_44578:Lnet/minecraft/class_243;
named TEXT_OFFSET
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;TEXT_OFFSET:Lnet/minecraft/util/math/Vec3d;
-
typeToModel
- Mappings:
Namespace Name Mixin selector official f
Lfmi;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
Lfmi;g:Leov;
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>
Lfmi;<init>(Lflv$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
Lfmi;a(Ldav;FLeij;Lfjx;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
-
getSignScale
public float getSignScale()- Mappings:
Namespace Name Mixin selector official b
Lfmi;b()F
intermediary method_51272
Lnet/minecraft/class_837;method_51272()F
named getSignScale
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getSignScale()F
-
getTextScale
public float getTextScale()- Mappings:
Namespace Name Mixin selector official c
Lfmi;c()F
intermediary method_51273
Lnet/minecraft/class_837;method_51273()F
named getTextScale
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTextScale()F
-
render
void render(SignBlockEntity entity, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BlockState state, AbstractSignBlock block, WoodType woodType, Model model) - Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Ldav;Leij;Lfjx;IILdcb;Lcwn;Lddo;Lfcb;)V
intermediary method_49920
Lnet/minecraft/class_837;method_49920(Lnet/minecraft/class_2625;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_2680;Lnet/minecraft/class_2478;Lnet/minecraft/class_4719;Lnet/minecraft/class_3879;)V
named render
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;render(Lnet/minecraft/block/entity/SignBlockEntity;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/block/BlockState;Lnet/minecraft/block/AbstractSignBlock;Lnet/minecraft/block/WoodType;Lnet/minecraft/client/model/Model;)V
-
setAngles
- Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Leij;FLdcb;)V
intermediary method_49918
Lnet/minecraft/class_837;method_49918(Lnet/minecraft/class_4587;FLnet/minecraft/class_2680;)V
named setAngles
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;setAngles(Lnet/minecraft/client/util/math/MatrixStack;FLnet/minecraft/block/BlockState;)V
-
renderSign
void renderSign(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, WoodType woodType, Model model) - Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Leij;Lfjx;IILddo;Lfcb;)V
intermediary method_45800
Lnet/minecraft/class_837;method_45800(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_4719;Lnet/minecraft/class_3879;)V
named renderSign
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;renderSign(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/block/WoodType;Lnet/minecraft/client/model/Model;)V
-
renderSignModel
void renderSignModel(MatrixStack matrices, int light, int overlay, Model model, VertexConsumer vertexConsumers) - Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Leij;IILfcb;Lein;)V
intermediary method_45793
Lnet/minecraft/class_837;method_45793(Lnet/minecraft/class_4587;IILnet/minecraft/class_3879;Lnet/minecraft/class_4588;)V
named renderSignModel
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;renderSignModel(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/client/model/Model;Lnet/minecraft/client/render/VertexConsumer;)V
-
getTextureId
- Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Lddo;)Lfwu;
intermediary method_45792
Lnet/minecraft/class_837;method_45792(Lnet/minecraft/class_4719;)Lnet/minecraft/class_4730;
named getTextureId
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTextureId(Lnet/minecraft/block/WoodType;)Lnet/minecraft/client/util/SpriteIdentifier;
-
renderText
void renderText(BlockPos pos, SignText signText, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int lineHeight, int lineWidth, boolean front) - Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Lgu;Ldaw;Leij;Lfjx;IIIZ)V
intermediary method_45798
Lnet/minecraft/class_837;method_45798(Lnet/minecraft/class_2338;Lnet/minecraft/class_8242;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIIZ)V
named renderText
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;renderText(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/SignText;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IIIZ)V
-
setTextAngles
- Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Leij;ZLeei;)V
intermediary method_49919
Lnet/minecraft/class_837;method_49919(Lnet/minecraft/class_4587;ZLnet/minecraft/class_243;)V
named setTextAngles
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;setTextAngles(Lnet/minecraft/client/util/math/MatrixStack;ZLnet/minecraft/util/math/Vec3d;)V
-
getTextOffset
Vec3d getTextOffset()- Mappings:
Namespace Name Mixin selector official d
Lfmi;d()Leei;
intermediary method_45790
Lnet/minecraft/class_837;method_45790()Lnet/minecraft/class_243;
named getTextOffset
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTextOffset()Lnet/minecraft/util/math/Vec3d;
-
shouldRender
- Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Lgu;I)Z
intermediary method_37312
Lnet/minecraft/class_837;method_37312(Lnet/minecraft/class_2338;I)Z
named shouldRender
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;shouldRender(Lnet/minecraft/util/math/BlockPos;I)Z
-
getColor
- Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Ldaw;)I
intermediary method_37311
Lnet/minecraft/class_837;method_37311(Lnet/minecraft/class_8242;)I
named getColor
Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getColor(Lnet/minecraft/block/entity/SignText;)I
-
createSignModel
public static SignBlockEntityRenderer.SignModel createSignModel(EntityModelLoader entityModelLoader, WoodType type) - Mappings:
Namespace Name Mixin selector official a
Lfmi;a(Lfea;Lddo;)Lfmi$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/block/WoodType;)Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer$SignModel;
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official f
Lfmi;f()Lfek;
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;
-