Class SignText

java.lang.Object
net.minecraft.world.level.block.entity.SignText

public class SignText extends Object
  • Field Details

    • LINES_CODEC

      private static final com.mojang.serialization.Codec<Component[]> LINES_CODEC
    • DIRECT_CODEC

      public static final com.mojang.serialization.Codec<SignText> DIRECT_CODEC
    • LINES

      public static final int LINES
      See Also:
    • messages

      private final Component[] messages
    • filteredMessages

      private final Component[] filteredMessages
    • color

      private final DyeColor color
    • hasGlowingText

      private final boolean hasGlowingText
    • renderMessages

      @Nullable private FormattedCharSequence[] renderMessages
    • renderMessagedFiltered

      private boolean renderMessagedFiltered
  • Constructor Details

    • SignText

      public SignText()
    • SignText

      public SignText(Component[] p_277506_, Component[] p_277908_, DyeColor p_277883_, boolean p_278091_)
  • Method Details