net.minecraft.world.level.block.entity

public class SignText

drt
net.minecraft.world.level.block.entity.SignText
net.minecraft.class_8242
net.minecraft.unmapped.C_ralzcant
net.minecraft.block.entity.SignText
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
f_cwscwtrs
MESSAGES_CODEC
MESSAGES_CODEC
f_276587_
public static final com.mojang.serialization.Codec<SignText>
a
DIRECT_CODEC
field_43298
f_ehfdtjwk
CODEC
CODEC
f_276558_
public static final int
b
LINES
field_43299
f_uxqgoxvi
field_43299
LINE_COUNT
f_276490_
private final Component[]
d
messages
field_43301
f_fpvapsfv
messages
messages
f_276632_
private final Component[]
e
filteredMessages
field_43302
f_ecrwckxv
filteredMessages
filteredMessages
f_276590_
private final DyeColor
f
color
field_43303
f_cewhwrcm
color
color
f_276673_
private final boolean
g
hasGlowingText
field_43304
f_bvuzpvag
glowing
hasGlowingText
f_276420_
private FormattedCharSequence[]
h
renderMessages
field_43305
f_tihzzvte
orderedMessages
orderedMessages
f_276467_
private boolean
i
renderMessagedFiltered
field_43306
f_imbweqaw
filtered
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()
m_flcdgqew()
getDefaultText()
createEmptyMessages()
m_276784_()
private static SignText
a(wz[] arg0, Optional<wz[]> arg1, cti 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)
m_wuorbhof(C_rdaqiwdt[] arg0, Optional<C_rdaqiwdt[]> arg1, C_arllgqae arg2, boolean arg3)
create(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowing)
create(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowingText)
m_277020_(C_4996_[] p_277661_, Optional<C_4996_[]> p_277768_, C_1353_ p_277345_, boolean p_278008_)
public boolean
a()
hasGlowingText()
method_49856()
m_pybgvohz()
isGlowing()
hasGlowingText()
m_276843_()
public SignText
a(boolean arg0)
setHasGlowingText(boolean arg0)
method_49867(boolean arg0)
m_mjwvxomi(boolean arg0)
withGlowing(boolean glowing)
withGlowing(boolean glowingText)
m_277132_(boolean arg0)
public DyeColor
b()
getColor()
method_49872()
m_dvfknmfp()
getColor()
getColor()
m_276773_()
public SignText
a(cti arg0)
setColor(DyeColor arg0)
method_49862(class_1767 arg0)
m_bvdxkocd(C_arllgqae arg0)
withColor(DyeColor color)
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)
m_qaighzsc(int arg0, boolean arg1)
getMessage(int line, boolean filtered)
getMessage(int line, boolean filtered)
m_277138_(int p_278108_, boolean arg1)
public SignText
a(int arg0, wz arg1)
setMessage(int arg0, Component arg1)
method_49857(int arg0, class_2561 arg1)
m_axhcghyd(int arg0, C_rdaqiwdt arg1)
withMessage(int line, Text message)
withMessage(int line, Text message)
m_276913_(int p_277360_, C_4996_ arg1)
public SignText
a(int arg0, wz arg1, wz arg2)
setMessage(int arg0, Component arg1, Component arg2)
method_49858(int arg0, class_2561 arg1, class_2561 arg2)
m_xlvdxcxb(int arg0, C_rdaqiwdt arg1, C_rdaqiwdt arg2)
withMessage(int line, Text message, Text filteredMessage)
withMessage(int line, Text message, Text filteredMessage)
m_276948_(int p_277852_, C_4996_ p_277564_, C_4996_ arg2)
public boolean
a(cmx arg0)
hasMessage(Player arg0)
method_49861(class_1657 arg0)
m_aavasdpz(C_jzrpycqo arg0)
hasText(PlayerEntity player)
hasText(PlayerEntity player)
m_276776_(C_1141_ arg0)
public Component[]
b(boolean arg0)
getMessages(boolean arg0)
method_49877(boolean arg0)
m_vbdegsxf(boolean arg0)
getMessages(boolean filtered)
getMessages(boolean filtered)
m_276945_(boolean arg0)
public FormattedCharSequence[]
a(boolean arg0, Function<wz, aya> arg1)
getRenderMessages(boolean arg0, Function<Component, FormattedCharSequence> arg1)
method_49868(boolean arg0, Function<class_2561, class_5481> arg1)
m_pbwzhnop(boolean arg0, Function<C_rdaqiwdt, C_apvkgwyi> arg1)
getOrderedMessages(boolean filtered, Function<Text, OrderedText> messageOrderer)
getOrderedMessages(boolean filtered, Function<Text, OrderedText> factory)
m_277130_(boolean p_277538_, Function<C_4996_, C_178_> arg1)
private Optional<Component[]>
d()
filteredMessages()
method_49880()
m_zeudevwj()
getFilteredMessages()
m_294087_()
public boolean
b(cmx arg0)
hasAnyClickCommands(Player arg0)
method_49874(class_1657 arg0)
m_bxcswxla(C_jzrpycqo arg0)
hasRunCommandClickEvent(PlayerEntity player)
hasAnyClickCommands(PlayerEntity player)
m_276807_(C_1141_ arg0)