Class AbstractSignBlockEntityRenderer
java.lang.Object
net.minecraft.client.render.block.entity.AbstractSignBlockEntityRenderer
- All Implemented Interfaces:
BlockEntityRenderer<SignBlockEntity>
- Direct Known Subclasses:
HangingSignBlockEntityRenderer,SignBlockEntityRenderer
@Environment(CLIENT)
public abstract class AbstractSignBlockEntityRenderer
extends Object
implements BlockEntityRenderer<SignBlockEntity>
- Mappings:
Namespace Name named net/minecraft/client/render/block/entity/AbstractSignBlockEntityRendererintermediary net/minecraft/class_10529official gzw
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final TextRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapplyTextTransforms(MatrixStack matrices, boolean front, Vec3d textOffset) protected abstract voidapplyTransforms(MatrixStack matrices, float blockRotationDegrees, BlockState state) protected abstract ModelgetModel(BlockState state, WoodType woodType) protected abstract floatstatic intgetTextColor(SignText text) protected abstract Vec3dprotected abstract floatprotected abstract SpriteIdentifiergetTextureId(WoodType woodType) voidrender(SignBlockEntity signBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, Vec3d vec3d) private voidrender(SignBlockEntity blockEntity, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BlockState state, AbstractSignBlock block, WoodType woodType, Model model) protected voidrenderSign(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, WoodType woodType, Model model) private voidrenderText(BlockPos pos, SignText text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int textLineHeight, int maxTextWidth, boolean front) private static booleanshouldRenderTextOutline(BlockPos pos, int color) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.block.entity.BlockEntityRenderer
getRenderDistance, isInRenderDistance, rendersOutsideBoundingBox
-
Field Details
-
GLOWING_BLACK_TEXT_COLOR
private static final int GLOWING_BLACK_TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named GLOWING_BLACK_TEXT_COLORLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;GLOWING_BLACK_TEXT_COLOR:Iintermediary field_55506Lnet/minecraft/class_10529;field_55506:Iofficial aLgzw;a:I
-
MAX_COLORED_TEXT_OUTLINE_RENDER_DISTANCE
private static final int MAX_COLORED_TEXT_OUTLINE_RENDER_DISTANCE- Mappings:
Namespace Name Mixin selector named MAX_COLORED_TEXT_OUTLINE_RENDER_DISTANCELnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;MAX_COLORED_TEXT_OUTLINE_RENDER_DISTANCE:Iintermediary field_55507Lnet/minecraft/class_10529;field_55507:Iofficial bLgzw;b:I
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRendererLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;textRenderer:Lnet/minecraft/client/font/TextRenderer;intermediary field_55508Lnet/minecraft/class_10529;field_55508:Lnet/minecraft/class_327;official cLgzw;c:Lfwz;
-
-
Constructor Details
-
AbstractSignBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)Vintermediary <init>Lnet/minecraft/class_10529;<init>(Lnet/minecraft/class_5614$class_5615;)Vofficial <init>Lgzw;<init>(Lhad$a;)V
-
-
Method Details
-
getModel
- Mappings:
Namespace Name Mixin selector named getModelLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;getModel(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/WoodType;)Lnet/minecraft/client/model/Model;intermediary method_65823Lnet/minecraft/class_10529;method_65823(Lnet/minecraft/class_2680;Lnet/minecraft/class_4719;)Lnet/minecraft/class_3879;official aLgzw;a(Leeb;Lefp;)Lgof;
-
getTextureId
- Mappings:
Namespace Name Mixin selector named getTextureIdLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;getTextureId(Lnet/minecraft/block/WoodType;)Lnet/minecraft/client/util/SpriteIdentifier;intermediary method_45792Lnet/minecraft/class_10529;method_45792(Lnet/minecraft/class_4719;)Lnet/minecraft/class_4730;official aLgzw;a(Lefp;)Lhua;
-
getSignScale
protected abstract float getSignScale()- Mappings:
Namespace Name Mixin selector named getSignScaleLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;getSignScale()Fintermediary method_51272Lnet/minecraft/class_10529;method_51272()Fofficial aLgzw;a()F
-
getTextScale
protected abstract float getTextScale()- Mappings:
Namespace Name Mixin selector named getTextScaleLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;getTextScale()Fintermediary method_51273Lnet/minecraft/class_10529;method_51273()Fofficial bLgzw;b()F
-
getTextOffset
- Mappings:
Namespace Name Mixin selector named getTextOffsetLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;getTextOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_45790Lnet/minecraft/class_10529;method_45790()Lnet/minecraft/class_243;official cLgzw;c()Lfis;
-
applyTransforms
protected abstract void applyTransforms(MatrixStack matrices, float blockRotationDegrees, BlockState state) - Mappings:
Namespace Name Mixin selector named applyTransformsLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;applyTransforms(Lnet/minecraft/client/util/math/MatrixStack;FLnet/minecraft/block/BlockState;)Vintermediary method_65824Lnet/minecraft/class_10529;method_65824(Lnet/minecraft/class_4587;FLnet/minecraft/class_2680;)Vofficial aLgzw;a(Lfod;FLeeb;)V
-
render
public void render(SignBlockEntity signBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, Vec3d vec3d) - Specified by:
renderin interfaceBlockEntityRenderer<SignBlockEntity>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;render(Lnet/minecraft/block/entity/SignBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/util/math/Vec3d;)Vintermediary method_65820Lnet/minecraft/class_10529;method_65820(Lnet/minecraft/class_2625;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_243;)Vofficial aLgzw;a(Lecn;FLfod;Lgxn;IILfis;)V
-
render
private void render(SignBlockEntity blockEntity, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BlockState state, AbstractSignBlock block, WoodType woodType, Model model) - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;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;)Vintermediary method_65821Lnet/minecraft/class_10529;method_65821(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;)Vofficial aLgzw;a(Lecn;Lfod;Lgxn;IILeeb;Ldxk;Lefp;Lgof;)V
-
renderSign
protected void renderSign(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, WoodType woodType, Model model) - Mappings:
Namespace Name Mixin selector named renderSignLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;renderSign(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/block/WoodType;Lnet/minecraft/client/model/Model;)Vintermediary method_65825Lnet/minecraft/class_10529;method_65825(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_4719;Lnet/minecraft/class_3879;)Vofficial aLgzw;a(Lfod;Lgxn;IILefp;Lgof;)V
-
renderText
private void renderText(BlockPos pos, SignText text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int textLineHeight, int maxTextWidth, boolean front) - Mappings:
Namespace Name Mixin selector named renderTextLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;renderText(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/SignText;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IIIZ)Vintermediary method_65828Lnet/minecraft/class_10529;method_65828(Lnet/minecraft/class_2338;Lnet/minecraft/class_8242;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIIZ)Vofficial aLgzw;a(Ljb;Leco;Lfod;Lgxn;IIIZ)V
-
applyTextTransforms
- Mappings:
Namespace Name Mixin selector named applyTextTransformsLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;applyTextTransforms(Lnet/minecraft/client/util/math/MatrixStack;ZLnet/minecraft/util/math/Vec3d;)Vintermediary method_65826Lnet/minecraft/class_10529;method_65826(Lnet/minecraft/class_4587;ZLnet/minecraft/class_243;)Vofficial aLgzw;a(Lfod;ZLfis;)V
-
shouldRenderTextOutline
- Mappings:
Namespace Name Mixin selector named shouldRenderTextOutlineLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;shouldRenderTextOutline(Lnet/minecraft/util/math/BlockPos;I)Zintermediary method_65827Lnet/minecraft/class_10529;method_65827(Lnet/minecraft/class_2338;I)Zofficial aLgzw;a(Ljb;I)Z
-
getTextColor
- Mappings:
Namespace Name Mixin selector named getTextColorLnet/minecraft/client/render/block/entity/AbstractSignBlockEntityRenderer;getTextColor(Lnet/minecraft/block/entity/SignText;)Iintermediary method_65822Lnet/minecraft/class_10529;method_65822(Lnet/minecraft/class_8242;)Iofficial aLgzw;a(Leco;)I
-