Class SignText

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

public class SignText extends Object
Mappings:
Namespace Name
named net/minecraft/block/entity/SignText
intermediary net/minecraft/class_8242
official dqt
  • Field Details

    • MESSAGES_CODEC

      private static final com.mojang.serialization.Codec<Text[]> MESSAGES_CODEC
      Mappings:
      Namespace Name Mixin selector
      named MESSAGES_CODEC Lnet/minecraft/block/entity/SignText;MESSAGES_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_43300 Lnet/minecraft/class_8242;field_43300:Lcom/mojang/serialization/Codec;
      official c Ldqt;c:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<SignText> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/entity/SignText;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_43298 Lnet/minecraft/class_8242;field_43298:Lcom/mojang/serialization/Codec;
      official a Ldqt;a:Lcom/mojang/serialization/Codec;
    • field_43299

      public static final int field_43299
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_43299 Lnet/minecraft/block/entity/SignText;field_43299:I
      intermediary field_43299 Lnet/minecraft/class_8242;field_43299:I
      official b Ldqt;b:I
    • messages

      private final Text[] messages
      Mappings:
      Namespace Name Mixin selector
      named messages Lnet/minecraft/block/entity/SignText;messages:[Lnet/minecraft/text/Text;
      intermediary field_43301 Lnet/minecraft/class_8242;field_43301:[Lnet/minecraft/class_2561;
      official d Ldqt;d:[Lxp;
    • filteredMessages

      private final Text[] filteredMessages
      Mappings:
      Namespace Name Mixin selector
      named filteredMessages Lnet/minecraft/block/entity/SignText;filteredMessages:[Lnet/minecraft/text/Text;
      intermediary field_43302 Lnet/minecraft/class_8242;field_43302:[Lnet/minecraft/class_2561;
      official e Ldqt;e:[Lxp;
    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      named color Lnet/minecraft/block/entity/SignText;color:Lnet/minecraft/util/DyeColor;
      intermediary field_43303 Lnet/minecraft/class_8242;field_43303:Lnet/minecraft/class_1767;
      official f Ldqt;f:Lctj;
    • glowing

      private final boolean glowing
      Mappings:
      Namespace Name Mixin selector
      named glowing Lnet/minecraft/block/entity/SignText;glowing:Z
      intermediary field_43304 Lnet/minecraft/class_8242;field_43304:Z
      official g Ldqt;g:Z
    • orderedMessages

      @Nullable private @Nullable OrderedText[] orderedMessages
      Mappings:
      Namespace Name Mixin selector
      named orderedMessages Lnet/minecraft/block/entity/SignText;orderedMessages:[Lnet/minecraft/text/OrderedText;
      intermediary field_43305 Lnet/minecraft/class_8242;field_43305:[Lnet/minecraft/class_5481;
      official h Ldqt;h:[Layl;
    • filtered

      private boolean filtered
      Mappings:
      Namespace Name Mixin selector
      named filtered Lnet/minecraft/block/entity/SignText;filtered:Z
      intermediary field_43306 Lnet/minecraft/class_8242;field_43306:Z
      official i Ldqt;i:Z
  • Constructor Details

    • SignText

      public SignText()
    • SignText

      public SignText(Text[] messages, Text[] filteredMessages, DyeColor color, boolean glowing)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/entity/SignText;<init>([Lnet/minecraft/text/Text;[Lnet/minecraft/text/Text;Lnet/minecraft/util/DyeColor;Z)V
      intermediary <init> Lnet/minecraft/class_8242;<init>([Lnet/minecraft/class_2561;[Lnet/minecraft/class_2561;Lnet/minecraft/class_1767;Z)V
      official <init> Ldqt;<init>([Lxp;[Lxp;Lctj;Z)V
  • Method Details

    • getDefaultText

      private static Text[] getDefaultText()
      Mappings:
      Namespace Name Mixin selector
      named getDefaultText Lnet/minecraft/block/entity/SignText;getDefaultText()[Lnet/minecraft/text/Text;
      intermediary method_49878 Lnet/minecraft/class_8242;method_49878()[Lnet/minecraft/class_2561;
      official c Ldqt;c()[Lxp;
    • create

      private static SignText create(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowing)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/block/entity/SignText;create([Lnet/minecraft/text/Text;Ljava/util/Optional;Lnet/minecraft/util/DyeColor;Z)Lnet/minecraft/block/entity/SignText;
      intermediary method_49870 Lnet/minecraft/class_8242;method_49870([Lnet/minecraft/class_2561;Ljava/util/Optional;Lnet/minecraft/class_1767;Z)Lnet/minecraft/class_8242;
      official a Ldqt;a([Lxp;Ljava/util/Optional;Lctj;Z)Ldqt;
    • isGlowing

      public boolean isGlowing()
      Mappings:
      Namespace Name Mixin selector
      named isGlowing Lnet/minecraft/block/entity/SignText;isGlowing()Z
      intermediary method_49856 Lnet/minecraft/class_8242;method_49856()Z
      official a Ldqt;a()Z
    • withGlowing

      public SignText withGlowing(boolean glowing)
      Mappings:
      Namespace Name Mixin selector
      named withGlowing Lnet/minecraft/block/entity/SignText;withGlowing(Z)Lnet/minecraft/block/entity/SignText;
      intermediary method_49867 Lnet/minecraft/class_8242;method_49867(Z)Lnet/minecraft/class_8242;
      official a Ldqt;a(Z)Ldqt;
    • getColor

      public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      named getColor Lnet/minecraft/block/entity/SignText;getColor()Lnet/minecraft/util/DyeColor;
      intermediary method_49872 Lnet/minecraft/class_8242;method_49872()Lnet/minecraft/class_1767;
      official b Ldqt;b()Lctj;
    • withColor

      public SignText withColor(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      named withColor Lnet/minecraft/block/entity/SignText;withColor(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/block/entity/SignText;
      intermediary method_49862 Lnet/minecraft/class_8242;method_49862(Lnet/minecraft/class_1767;)Lnet/minecraft/class_8242;
      official a Ldqt;a(Lctj;)Ldqt;
    • getMessage

      public Text getMessage(int line, boolean filtered)
      Mappings:
      Namespace Name Mixin selector
      named getMessage Lnet/minecraft/block/entity/SignText;getMessage(IZ)Lnet/minecraft/text/Text;
      intermediary method_49859 Lnet/minecraft/class_8242;method_49859(IZ)Lnet/minecraft/class_2561;
      official a Ldqt;a(IZ)Lxp;
    • withMessage

      public SignText withMessage(int line, Text message)
      Mappings:
      Namespace Name Mixin selector
      named withMessage Lnet/minecraft/block/entity/SignText;withMessage(ILnet/minecraft/text/Text;)Lnet/minecraft/block/entity/SignText;
      intermediary method_49857 Lnet/minecraft/class_8242;method_49857(ILnet/minecraft/class_2561;)Lnet/minecraft/class_8242;
      official a Ldqt;a(ILxp;)Ldqt;
    • withMessage

      public SignText withMessage(int line, Text message, Text filteredMessage)
      Mappings:
      Namespace Name Mixin selector
      named withMessage Lnet/minecraft/block/entity/SignText;withMessage(ILnet/minecraft/text/Text;Lnet/minecraft/text/Text;)Lnet/minecraft/block/entity/SignText;
      intermediary method_49858 Lnet/minecraft/class_8242;method_49858(ILnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Lnet/minecraft/class_8242;
      official a Ldqt;a(ILxp;Lxp;)Ldqt;
    • hasText

      public boolean hasText(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named hasText Lnet/minecraft/block/entity/SignText;hasText(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_49861 Lnet/minecraft/class_8242;method_49861(Lnet/minecraft/class_1657;)Z
      official a Ldqt;a(Lcmy;)Z
    • getMessages

      public Text[] getMessages(boolean filtered)
      Mappings:
      Namespace Name Mixin selector
      named getMessages Lnet/minecraft/block/entity/SignText;getMessages(Z)[Lnet/minecraft/text/Text;
      intermediary method_49877 Lnet/minecraft/class_8242;method_49877(Z)[Lnet/minecraft/class_2561;
      official b Ldqt;b(Z)[Lxp;
    • getOrderedMessages

      public OrderedText[] getOrderedMessages(boolean filtered, Function<Text,OrderedText> messageOrderer)
      Mappings:
      Namespace Name Mixin selector
      named getOrderedMessages Lnet/minecraft/block/entity/SignText;getOrderedMessages(ZLjava/util/function/Function;)[Lnet/minecraft/text/OrderedText;
      intermediary method_49868 Lnet/minecraft/class_8242;method_49868(ZLjava/util/function/Function;)[Lnet/minecraft/class_5481;
      official a Ldqt;a(ZLjava/util/function/Function;)[Layl;
    • getFilteredMessages

      private Optional<Text[]> getFilteredMessages()
      Mappings:
      Namespace Name Mixin selector
      named getFilteredMessages Lnet/minecraft/block/entity/SignText;getFilteredMessages()Ljava/util/Optional;
      intermediary method_49880 Lnet/minecraft/class_8242;method_49880()Ljava/util/Optional;
      official d Ldqt;d()Ljava/util/Optional;
    • hasRunCommandClickEvent

      public boolean hasRunCommandClickEvent(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named hasRunCommandClickEvent Lnet/minecraft/block/entity/SignText;hasRunCommandClickEvent(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_49874 Lnet/minecraft/class_8242;method_49874(Lnet/minecraft/class_1657;)Z
      official b Ldqt;b(Lcmy;)Z