net.minecraft.world.level.block.entity

public class SignBlockEntity

extends BlockEntity

cjp
net.minecraft.world.level.block.entity.SignBlockEntity
net.minecraft.class_2625
net.minecraft.block.entity.SignBlockEntity
net.minecraft.src.C_2024_
net.minecraft.world.level.block.entity.TileEntitySign

Field summary

Modifier and TypeField
public static final int
a
LINES
field_31362
field_31362
f_155692_
private static final String[]
b
RAW_TEXT_FIELD_NAMES
field_28905
TEXT_KEYS
f_155693_
private static final String[]
c
FILTERED_TEXT_FIELD_NAMES
field_28906
FILTERED_TEXT_KEYS
f_155694_
private final Component[]
d
messages
field_12050
texts
f_59720_
private final Component[]
e
filteredMessages
field_28907
filteredTexts
f_155695_
private boolean
f
isEditable
field_12048
editable
f_59721_
private UUID
g
playerWhoMayEdit
field_12046
editor
f_59722_
private FormattedCharSequence[]
h
renderMessages
field_12049
textsBeingEdited
f_59723_
private boolean
i
renderMessagedFiltered
field_28908
filterText
f_155696_
private DyeColor
j
color
field_16419
textColor
f_59724_
private boolean
k
hasGlowingText
field_29225
glowingText
f_155697_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
private Component
a(String arg0)
loadLine(String arg0)
method_33828(String arg0)
parseTextFromJson(String json)
m_155711_(String arg0)
private Component
b(String arg0)
deserializeTextSafe(String arg0)
method_33384(String arg0)
unparsedTextFromJson(String json)
m_155720_(String arg0)
public Component
a(int arg0, boolean arg1)
getMessage(int arg0, boolean arg1)
method_30843(int arg0, boolean arg1)
getTextOnRow(int row, boolean filtered)
m_155706_(int p_155708_, boolean arg1)
public void
a(int arg0, os arg1)
setMessage(int arg0, Component arg1)
method_11299(int arg0, class_2561 arg1)
setTextOnRow(int row, Text text)
m_59732_(int p_59734_, C_4996_ arg1)
public void
a(int arg0, os arg1, os arg2)
setMessage(int arg0, Component arg1, Component arg2)
method_33827(int arg0, class_2561 arg1, class_2561 arg2)
setTextOnRow(int row, Text text, Text filteredText)
m_155702_(int p_155704_, C_4996_ p_155705_, C_4996_ arg2)
public FormattedCharSequence[]
a(boolean arg0, Function<os, ags> arg1)
getRenderMessages(boolean arg0, Function<Component, FormattedCharSequence> arg1)
method_33829(boolean arg0, Function<class_2561, class_5481> arg1)
updateSign(boolean filterText, Function<Text, OrderedText> textOrderingFunction)
m_155717_(boolean p_155719_, Function<C_4996_, C_178_> arg1)
private Component[]
c(boolean arg0)
getMessages(boolean arg0)
method_33830(boolean arg0)
getTexts(boolean filtered)
m_155724_(boolean arg0)
public ClientboundBlockEntityDataPacket
Y_()
getUpdatePacket()
method_16886()
toUpdatePacket()
m_7033_()
getUpdatePacket()
public CompoundTag
Z_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public boolean
q()
onlyOpCanSetNbt()
method_11011()
copyItemDataRequiresOperator()
m_6326_()
isFilteredNBT()
public boolean
d()
isEditable()
method_11307()
isEditable()
m_59751_()
public void
a(boolean arg0)
setEditable(boolean arg0)
method_11303(boolean arg0)
setEditable(boolean editable)
m_59746_(boolean arg0)
public void
a(UUID arg0)
setAllowedPlayerEditor(UUID arg0)
method_11306(UUID arg0)
setEditor(UUID editor)
m_155713_(UUID arg0)
public UUID
f()
getPlayerWhoMayEdit()
method_11305()
getEditor()
m_155726_()
public boolean
a(abs arg0)
executeClickCommands(ServerPlayer arg0)
method_11301(class_3222 arg0)
onActivate(ServerPlayerEntity player)
m_155709_(C_13_ arg0)
public CommandSourceStack
b(abs arg0)
createCommandSourceStack(ServerPlayer arg0)
method_11304(class_3222 arg0)
getCommandSource(ServerPlayerEntity player)
m_59735_(C_13_ arg0)
public DyeColor
g()
getColor()
method_16126()
getTextColor()
m_59753_()
getColor()
public boolean
a(bpl arg0)
setColor(DyeColor arg0)
method_16127(class_1767 arg0)
setTextColor(DyeColor value)
m_59739_(C_1353_ arg0)
setColor(EnumColor arg0)
public boolean
h()
hasGlowingText()
method_34271()
isGlowingText()
m_155727_()
hasGlowingText()
public boolean
b(boolean arg0)
setHasGlowingText(boolean arg0)
method_34270(boolean arg0)
setGlowingText(boolean glowingText)
m_155722_(boolean arg0)
setHasGlowingText(boolean arg0)
private void
i()
markUpdated()
method_34272()
updateListeners()
m_155728_()