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
named net/minecraft/client/render/block/entity/SignBlockEntityRenderer
intermediary net/minecraft/class_837
official goj
  • Field Details

    • GLOWING_BLACK_COLOR

      private static final int GLOWING_BLACK_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named GLOWING_BLACK_COLOR Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;GLOWING_BLACK_COLOR:I
      intermediary field_33962 Lnet/minecraft/class_837;field_33962:I
      official a Lgoj;a:I
    • RENDER_DISTANCE

      private static final int RENDER_DISTANCE
      Mappings:
      Namespace Name Mixin selector
      named RENDER_DISTANCE Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;RENDER_DISTANCE:I
      intermediary field_33963 Lnet/minecraft/class_837;field_33963:I
      official b Lgoj;b:I
    • SCALE

      private static final float SCALE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SCALE Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;SCALE:F
      intermediary field_44577 Lnet/minecraft/class_837;field_44577:F
      official c Lgoj;c:F
    • TEXT_OFFSET

      private static final Vec3d TEXT_OFFSET
      Mappings:
      Namespace Name Mixin selector
      named TEXT_OFFSET Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;TEXT_OFFSET:Lnet/minecraft/util/math/Vec3d;
      intermediary field_44578 Lnet/minecraft/class_837;field_44578:Lnet/minecraft/class_243;
      official d Lgoj;d:Lfbx;
    • typeToModelPair

      private final Map<WoodType,SignBlockEntityRenderer.SignModelPair> typeToModelPair
      Mappings:
      Namespace Name Mixin selector
      named typeToModelPair Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;typeToModelPair:Ljava/util/Map;
      intermediary field_27754 Lnet/minecraft/class_837;field_27754:Ljava/util/Map;
      official e Lgoj;e:Ljava/util/Map;
    • textRenderer

      private final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      named textRenderer Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;textRenderer:Lnet/minecraft/client/font/TextRenderer;
      intermediary field_27755 Lnet/minecraft/class_837;field_27755:Lnet/minecraft/class_327;
      official f Lgoj;f:Lfnp;
  • Constructor Details

    • SignBlockEntityRenderer

      public SignBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_837;<init>(Lnet/minecraft/class_5614$class_5615;)V
      official <init> Lgoj;<init>(Lgnw$a;)V
  • Method Details

    • render

      public void render(SignBlockEntity signBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
      Specified by:
      render in interface BlockEntityRenderer<SignBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_23083 Lnet/minecraft/class_837;method_23083(Lnet/minecraft/class_2625;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      official a Lgoj;a(Ldwj;FLfgr;Lglk;II)V
    • getSignScale

      public float getSignScale()
      Mappings:
      Namespace Name Mixin selector
      named getSignScale Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getSignScale()F
      intermediary method_51272 Lnet/minecraft/class_837;method_51272()F
      official b Lgoj;b()F
    • getTextScale

      public float getTextScale()
      Mappings:
      Namespace Name Mixin selector
      named getTextScale Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTextScale()F
      intermediary method_51273 Lnet/minecraft/class_837;method_51273()F
      official c Lgoj;c()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
      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
      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
      official a Lgoj;a(Ldwj;Lfgr;Lglk;IILdxu;Ldro;Ldzg;Lgcg;)V
    • setAngles

      void setAngles(MatrixStack matrices, float rotationDegrees, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named setAngles Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;setAngles(Lnet/minecraft/client/util/math/MatrixStack;FLnet/minecraft/block/BlockState;)V
      intermediary method_49918 Lnet/minecraft/class_837;method_49918(Lnet/minecraft/class_4587;FLnet/minecraft/class_2680;)V
      official a Lgoj;a(Lfgr;FLdxu;)V
    • renderSign

      void renderSign(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, WoodType woodType, Model model)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lgoj;a(Lfgr;Lglk;IILdzg;Lgcg;)V
    • getTextureId

      SpriteIdentifier getTextureId(WoodType signType)
      Mappings:
      Namespace Name Mixin selector
      named getTextureId Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTextureId(Lnet/minecraft/block/WoodType;)Lnet/minecraft/client/util/SpriteIdentifier;
      intermediary method_45792 Lnet/minecraft/class_837;method_45792(Lnet/minecraft/class_4719;)Lnet/minecraft/class_4730;
      official a Lgoj;a(Ldzg;)Lhdt;
    • renderText

      void renderText(BlockPos pos, SignText signText, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int lineHeight, int lineWidth, boolean front)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lgoj;a(Ljh;Ldwk;Lfgr;Lglk;IIIZ)V
    • setTextAngles

      private void setTextAngles(MatrixStack matrices, boolean front, Vec3d translation)
      Mappings:
      Namespace Name Mixin selector
      named setTextAngles Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;setTextAngles(Lnet/minecraft/client/util/math/MatrixStack;ZLnet/minecraft/util/math/Vec3d;)V
      intermediary method_49919 Lnet/minecraft/class_837;method_49919(Lnet/minecraft/class_4587;ZLnet/minecraft/class_243;)V
      official a Lgoj;a(Lfgr;ZLfbx;)V
    • getTextOffset

      Vec3d getTextOffset()
      Mappings:
      Namespace Name Mixin selector
      named getTextOffset Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTextOffset()Lnet/minecraft/util/math/Vec3d;
      intermediary method_45790 Lnet/minecraft/class_837;method_45790()Lnet/minecraft/class_243;
      official d Lgoj;d()Lfbx;
    • shouldRender

      static boolean shouldRender(BlockPos pos, int signColor)
      Mappings:
      Namespace Name Mixin selector
      named shouldRender Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;shouldRender(Lnet/minecraft/util/math/BlockPos;I)Z
      intermediary method_37312 Lnet/minecraft/class_837;method_37312(Lnet/minecraft/class_2338;I)Z
      official a Lgoj;a(Ljh;I)Z
    • getColor

      public static int getColor(SignText sign)
      Mappings:
      Namespace Name Mixin selector
      named getColor Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getColor(Lnet/minecraft/block/entity/SignText;)I
      intermediary method_37311 Lnet/minecraft/class_837;method_37311(Lnet/minecraft/class_8242;)I
      official a Lgoj;a(Ldwk;)I
    • createSignModel

      public static Model createSignModel(EntityModelLoader entityModelLoader, WoodType type, boolean standing)
      Mappings:
      Namespace Name Mixin selector
      named createSignModel Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;createSignModel(Lnet/minecraft/client/render/entity/model/EntityModelLoader;Lnet/minecraft/block/WoodType;Z)Lnet/minecraft/client/model/Model;
      intermediary method_32157 Lnet/minecraft/class_837;method_32157(Lnet/minecraft/class_5599;Lnet/minecraft/class_4719;Z)Lnet/minecraft/class_3879;
      official a Lgoj;a(Lgej;Ldzg;Z)Lgcg;
    • getTexturedModelData

      public static TexturedModelData getTexturedModelData(boolean standing)
      Mappings:
      Namespace Name Mixin selector
      named getTexturedModelData Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer;getTexturedModelData(Z)Lnet/minecraft/client/model/TexturedModelData;
      intermediary method_32154 Lnet/minecraft/class_837;method_32154(Z)Lnet/minecraft/class_5607;
      official a Lgoj;a(Z)Lget;