net.minecraft.world.level.block.entity

public class SignText

daw
net.minecraft.world.level.block.entity.SignText
net.minecraft.class_8242
net.minecraft.block.entity.SignText
net.minecraft.src.C_276381_
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
f_276587_
public static final com.mojang.serialization.Codec<SignText>
a
DIRECT_CODEC
field_43298
CODEC
f_276558_
public static final int
b
LINES
field_43299
field_43299
f_276490_
private final Component[]
d
messages
field_43301
messages
f_276632_
private final Component[]
e
filteredMessages
field_43302
filteredMessages
f_276590_
private final DyeColor
f
color
field_43303
color
f_276673_
private final boolean
g
hasGlowingText
field_43304
glowing
f_276420_
private FormattedCharSequence[]
h
renderMessages
field_43305
orderedMessages
f_276467_
private boolean
i
renderMessagedFiltered
field_43306
filtered
f_276669_

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()
m_276784_()
private static SignText
a(sw[] arg0, Optional<sw[]> arg1, cen 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)
m_277020_(C_4996_[] p_277661_, Optional<C_4996_[]> p_277768_, C_1353_ p_277345_, boolean p_278008_)
private static void
a(sw[] arg0, sw[] arg1)
populateFilteredMessagesWithRawMessages(Component[] arg0, Component[] arg1)
method_49871(class_2561[] arg0, class_2561[] arg1)
copyMessages(Text[] from, Text[] to)
m_276973_(C_4996_[] p_277696_, C_4996_[] p_277436_)
public boolean
a()
hasGlowingText()
method_49856()
isGlowing()
m_276843_()
public SignText
a(boolean arg0)
setHasGlowingText(boolean arg0)
method_49867(boolean arg0)
withGlowing(boolean glowing)
m_277132_(boolean arg0)
public DyeColor
b()
getColor()
method_49872()
getColor()
m_276773_()
public SignText
a(cen arg0)
setColor(DyeColor arg0)
method_49862(class_1767 arg0)
withColor(DyeColor color)
m_276901_(C_1353_ arg0)
public Component
a(int arg0, boolean arg1)
getMessage(int arg0, boolean arg1)
method_49859(int arg0, boolean arg1)
getMessage(int line, boolean filtered)
m_277138_(int p_278108_, boolean arg1)
public SignText
a(int arg0, sw arg1)
setMessage(int arg0, Component arg1)
method_49857(int arg0, class_2561 arg1)
withMessage(int line, Text message)
m_276913_(int p_277360_, C_4996_ arg1)
public SignText
a(int arg0, sw arg1, sw 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)
m_276948_(int p_277852_, C_4996_ p_277564_, C_4996_ arg2)
public boolean
a(byo arg0)
hasMessage(Player arg0)
method_49861(class_1657 arg0)
hasText(PlayerEntity player)
m_276776_(C_1141_ arg0)
public Component[]
b(boolean arg0)
getMessages(boolean arg0)
method_49877(boolean arg0)
getMessages(boolean filtered)
m_276945_(boolean arg0)
public FormattedCharSequence[]
a(boolean arg0, Function<sw, aom> 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)
m_277130_(boolean p_277538_, Function<C_4996_, C_178_> arg1)
private Optional<Component[]>
d()
getOnlyFilteredMessages()
method_49880()
getFilteredMessages()
m_276946_()
public boolean
b(byo arg0)
hasAnyClickCommands(Player arg0)
method_49874(class_1657 arg0)
hasRunCommandClickEvent(PlayerEntity player)
m_276807_(C_1141_ arg0)