net.minecraft.world.level.block.entity

public class SignText

dwl
net.minecraft.world.level.block.entity.SignText
net.minecraft.class_8242
net.minecraft.block.entity.SignText
net.minecraft.world.level.block.entity.SignText

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<Component[]>
c
LINES_CODEC
field_43300
MESSAGES_CODEC
public static final com.mojang.serialization.Codec<SignText>
a
DIRECT_CODEC
field_43298
CODEC
public static final int
b
LINES
field_43299
field_43299
private final Component[]
d
messages
field_43301
messages
private final Component[]
e
filteredMessages
field_43302
filteredMessages
private final DyeColor
f
color
field_43303
color
private final boolean
g
hasGlowingText
field_43304
glowing
private FormattedCharSequence[]
h
renderMessages
field_43305
orderedMessages
private boolean
i
renderMessagedFiltered
field_43306
filtered

Constructor summary

ModifierConstructor
public ()
public (Component[] messages, Component[] filteredMessages, DyeColor color, boolean glowing)

Method summary

Modifier and TypeMethod
private static Component[]
c()
emptyMessages()
method_49878()
getDefaultText()
private static SignText
a(xv[] arg0, Optional<xv[]> arg1, cwm arg2, boolean arg3)
load(Component[] arg0, Optional<Component[]> arg1, DyeColor arg2, boolean arg3)
method_49870(class_2561[] arg0, Optional<class_2561[]> arg1, class_1767 arg2, boolean arg3)
create(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowing)
public boolean
a()
hasGlowingText()
method_49856()
isGlowing()
public SignText
a(boolean arg0)
setHasGlowingText(boolean arg0)
method_49867(boolean arg0)
withGlowing(boolean glowing)
public DyeColor
b()
getColor()
method_49872()
getColor()
public SignText
a(cwm arg0)
setColor(DyeColor arg0)
method_49862(class_1767 arg0)
withColor(DyeColor color)
public Component
a(int arg0, boolean arg1)
getMessage(int arg0, boolean arg1)
method_49859(int arg0, boolean arg1)
getMessage(int line, boolean filtered)
public SignText
a(int arg0, xv arg1)
setMessage(int arg0, Component arg1)
method_49857(int arg0, class_2561 arg1)
withMessage(int line, Text message)
public SignText
a(int arg0, xv arg1, xv arg2)
setMessage(int arg0, Component arg1, Component arg2)
method_49858(int arg0, class_2561 arg1, class_2561 arg2)
withMessage(int line, Text message, Text filteredMessage)
public boolean
a(cpx arg0)
hasMessage(Player arg0)
method_49861(class_1657 arg0)
hasText(PlayerEntity player)
public Component[]
b(boolean arg0)
getMessages(boolean arg0)
method_49877(boolean arg0)
getMessages(boolean filtered)
public FormattedCharSequence[]
a(boolean arg0, Function<xv, azq> arg1)
getRenderMessages(boolean arg0, Function<Component, FormattedCharSequence> arg1)
method_49868(boolean arg0, Function<class_2561, class_5481> arg1)
getOrderedMessages(boolean filtered, Function<Text, OrderedText> messageOrderer)
private Optional<Component[]>
d()
filteredMessages()
method_49880()
getFilteredMessages()
public boolean
b(cpx arg0)
hasAnyClickCommands(Player arg0)
method_49874(class_1657 arg0)
hasRunCommandClickEvent(PlayerEntity player)