Package net.minecraft.block.entity
Class SignText
java.lang.Object
net.minecraft.block.entity.SignText
- Mappings:
Namespace Name official dif
intermediary net/minecraft/class_8242
named net/minecraft/block/entity/SignText
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SignText>
private final DyeColor
static final int
private boolean
private final Text[]
private final boolean
private final Text[]
private static final com.mojang.serialization.Codec<Text[]>
private @Nullable OrderedText[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static SignText
getColor()
private static Text[]
getMessage
(int line, boolean filtered) Text[]
getMessages
(boolean filtered) getOrderedMessages
(boolean filtered, Function<Text, OrderedText> messageOrderer) boolean
hasRunCommandClickEvent
(PlayerEntity player) boolean
hasText
(PlayerEntity player) boolean
withGlowing
(boolean glowing) withMessage
(int line, Text message) withMessage
(int line, Text message, Text filteredMessage)
-
Field Details
-
MESSAGES_CODEC
- Mappings:
Namespace Name Mixin selector official c
Ldif;c:Lcom/mojang/serialization/Codec;
intermediary field_43300
Lnet/minecraft/class_8242;field_43300:Lcom/mojang/serialization/Codec;
named MESSAGES_CODEC
Lnet/minecraft/block/entity/SignText;MESSAGES_CODEC:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldif;a:Lcom/mojang/serialization/Codec;
intermediary field_43298
Lnet/minecraft/class_8242;field_43298:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/block/entity/SignText;CODEC:Lcom/mojang/serialization/Codec;
-
field_43299
public static final int field_43299- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldif;b:I
intermediary field_43299
Lnet/minecraft/class_8242;field_43299:I
named field_43299
Lnet/minecraft/block/entity/SignText;field_43299:I
-
messages
- Mappings:
Namespace Name Mixin selector official d
Ldif;d:[Lvf;
intermediary field_43301
Lnet/minecraft/class_8242;field_43301:[Lnet/minecraft/class_2561;
named messages
Lnet/minecraft/block/entity/SignText;messages:[Lnet/minecraft/text/Text;
-
filteredMessages
- Mappings:
Namespace Name Mixin selector official e
Ldif;e:[Lvf;
intermediary field_43302
Lnet/minecraft/class_8242;field_43302:[Lnet/minecraft/class_2561;
named filteredMessages
Lnet/minecraft/block/entity/SignText;filteredMessages:[Lnet/minecraft/text/Text;
-
color
- Mappings:
Namespace Name Mixin selector official f
Ldif;f:Lclm;
intermediary field_43303
Lnet/minecraft/class_8242;field_43303:Lnet/minecraft/class_1767;
named color
Lnet/minecraft/block/entity/SignText;color:Lnet/minecraft/util/DyeColor;
-
glowing
private final boolean glowing- Mappings:
Namespace Name Mixin selector official g
Ldif;g:Z
intermediary field_43304
Lnet/minecraft/class_8242;field_43304:Z
named glowing
Lnet/minecraft/block/entity/SignText;glowing:Z
-
orderedMessages
- Mappings:
Namespace Name Mixin selector official h
Ldif;h:[Laua;
intermediary field_43305
Lnet/minecraft/class_8242;field_43305:[Lnet/minecraft/class_5481;
named orderedMessages
Lnet/minecraft/block/entity/SignText;orderedMessages:[Lnet/minecraft/text/OrderedText;
-
filtered
private boolean filtered- Mappings:
Namespace Name Mixin selector official i
Ldif;i:Z
intermediary field_43306
Lnet/minecraft/class_8242;field_43306:Z
named filtered
Lnet/minecraft/block/entity/SignText;filtered:Z
-
-
Constructor Details
-
SignText
public SignText() -
SignText
- Mappings:
Namespace Name Mixin selector official <init>
Ldif;<init>([Lvf;[Lvf;Lclm;Z)V
intermediary <init>
Lnet/minecraft/class_8242;<init>([Lnet/minecraft/class_2561;[Lnet/minecraft/class_2561;Lnet/minecraft/class_1767;Z)V
named <init>
Lnet/minecraft/block/entity/SignText;<init>([Lnet/minecraft/text/Text;[Lnet/minecraft/text/Text;Lnet/minecraft/util/DyeColor;Z)V
-
-
Method Details
-
getDefaultText
- Mappings:
Namespace Name Mixin selector official c
Ldif;c()[Lvf;
intermediary method_49878
Lnet/minecraft/class_8242;method_49878()[Lnet/minecraft/class_2561;
named getDefaultText
Lnet/minecraft/block/entity/SignText;getDefaultText()[Lnet/minecraft/text/Text;
-
create
private static SignText create(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowing) - Mappings:
Namespace Name Mixin selector official a
Ldif;a([Lvf;Ljava/util/Optional;Lclm;Z)Ldif;
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;
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;
-
isGlowing
public boolean isGlowing()- Mappings:
Namespace Name Mixin selector official a
Ldif;a()Z
intermediary method_49856
Lnet/minecraft/class_8242;method_49856()Z
named isGlowing
Lnet/minecraft/block/entity/SignText;isGlowing()Z
-
withGlowing
- Mappings:
Namespace Name Mixin selector official a
Ldif;a(Z)Ldif;
intermediary method_49867
Lnet/minecraft/class_8242;method_49867(Z)Lnet/minecraft/class_8242;
named withGlowing
Lnet/minecraft/block/entity/SignText;withGlowing(Z)Lnet/minecraft/block/entity/SignText;
-
getColor
- Mappings:
Namespace Name Mixin selector official b
Ldif;b()Lclm;
intermediary method_49872
Lnet/minecraft/class_8242;method_49872()Lnet/minecraft/class_1767;
named getColor
Lnet/minecraft/block/entity/SignText;getColor()Lnet/minecraft/util/DyeColor;
-
withColor
- Mappings:
Namespace Name Mixin selector official a
Ldif;a(Lclm;)Ldif;
intermediary method_49862
Lnet/minecraft/class_8242;method_49862(Lnet/minecraft/class_1767;)Lnet/minecraft/class_8242;
named withColor
Lnet/minecraft/block/entity/SignText;withColor(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/block/entity/SignText;
-
getMessage
- Mappings:
Namespace Name Mixin selector official a
Ldif;a(IZ)Lvf;
intermediary method_49859
Lnet/minecraft/class_8242;method_49859(IZ)Lnet/minecraft/class_2561;
named getMessage
Lnet/minecraft/block/entity/SignText;getMessage(IZ)Lnet/minecraft/text/Text;
-
withMessage
- Mappings:
Namespace Name Mixin selector official a
Ldif;a(ILvf;)Ldif;
intermediary method_49857
Lnet/minecraft/class_8242;method_49857(ILnet/minecraft/class_2561;)Lnet/minecraft/class_8242;
named withMessage
Lnet/minecraft/block/entity/SignText;withMessage(ILnet/minecraft/text/Text;)Lnet/minecraft/block/entity/SignText;
-
withMessage
- Mappings:
Namespace Name Mixin selector official a
Ldif;a(ILvf;Lvf;)Ldif;
intermediary method_49858
Lnet/minecraft/class_8242;method_49858(ILnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Lnet/minecraft/class_8242;
named withMessage
Lnet/minecraft/block/entity/SignText;withMessage(ILnet/minecraft/text/Text;Lnet/minecraft/text/Text;)Lnet/minecraft/block/entity/SignText;
-
hasText
- Mappings:
Namespace Name Mixin selector official a
Ldif;a(Lcfi;)Z
intermediary method_49861
Lnet/minecraft/class_8242;method_49861(Lnet/minecraft/class_1657;)Z
named hasText
Lnet/minecraft/block/entity/SignText;hasText(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getMessages
- Mappings:
Namespace Name Mixin selector official b
Ldif;b(Z)[Lvf;
intermediary method_49877
Lnet/minecraft/class_8242;method_49877(Z)[Lnet/minecraft/class_2561;
named getMessages
Lnet/minecraft/block/entity/SignText;getMessages(Z)[Lnet/minecraft/text/Text;
-
getOrderedMessages
public OrderedText[] getOrderedMessages(boolean filtered, Function<Text, OrderedText> messageOrderer) - Mappings:
Namespace Name Mixin selector official a
Ldif;a(ZLjava/util/function/Function;)[Laua;
intermediary method_49868
Lnet/minecraft/class_8242;method_49868(ZLjava/util/function/Function;)[Lnet/minecraft/class_5481;
named getOrderedMessages
Lnet/minecraft/block/entity/SignText;getOrderedMessages(ZLjava/util/function/Function;)[Lnet/minecraft/text/OrderedText;
-
getFilteredMessages
- Mappings:
Namespace Name Mixin selector official d
Ldif;d()Ljava/util/Optional;
intermediary method_49880
Lnet/minecraft/class_8242;method_49880()Ljava/util/Optional;
named getFilteredMessages
Lnet/minecraft/block/entity/SignText;getFilteredMessages()Ljava/util/Optional;
-
hasRunCommandClickEvent
- Mappings:
Namespace Name Mixin selector official b
Ldif;b(Lcfi;)Z
intermediary method_49874
Lnet/minecraft/class_8242;method_49874(Lnet/minecraft/class_1657;)Z
named hasRunCommandClickEvent
Lnet/minecraft/block/entity/SignText;hasRunCommandClickEvent(Lnet/minecraft/entity/player/PlayerEntity;)Z
-