net.minecraft.world.level.block.entity

public class SignBlockEntity

extends BlockEntity

dav
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
private static final org.slf4j.Logger
a
LOGGER
field_43294
LOGGER
f_276608_
private static final int
b
MAX_TEXT_LINE_WIDTH
field_40335
MAX_TEXT_WIDTH
f_243840_
private static final int
c
TEXT_LINE_HEIGHT
field_40336
TEXT_LINE_HEIGHT
f_243968_
private UUID
d
playerWhoMayEdit
field_12046
editor
f_59722_
private SignText
e
frontText
field_43295
frontText
f_276598_
private SignText
f
backText
field_43296
backText
f_276476_
private boolean
g
isWaxed
field_43297
waxed
f_276544_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)
public (BlockEntityType p_248914_, BlockPos p_249550_, BlockState arg2)

Method summary

Modifier and TypeMethod
protected SignText
f()
createDefaultSignText()
method_49852()
createText()
m_277006_()
public boolean
a(byo arg0)
isFacingFrontText(Player arg0)
method_49834(class_1657 arg0)
isPlayerFacingFront(PlayerEntity player)
m_277202_(C_1141_ arg0)
public SignText
b(byo arg0)
getTextFacingPlayer(Player arg0)
method_49844(class_1657 arg0)
getTextFacing(PlayerEntity player)
m_277176_(C_1141_ arg0)
public SignText
a(boolean arg0)
getText(boolean arg0)
method_49843(boolean arg0)
getText(boolean front)
m_277157_(boolean arg0)
public SignText
g()
getFrontText()
method_49853()
getFrontText()
m_277142_()
public SignText
i()
getBackText()
method_49854()
getBackText()
m_277159_()
public int
c()
getTextLineHeight()
method_45469()
getTextLineHeight()
m_245065_()
public int
d()
getMaxTextLineWidth()
method_45470()
getMaxTextWidth()
m_245123_()
protected void
b(qr arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(qr arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
private SignText
a(daw arg0)
loadLines(SignText arg0)
method_50008(class_8242 arg0)
parseLines(SignText signText)
m_278182_(C_276381_ arg0)
private Component
a(sw arg0)
loadLine(Component arg0)
method_50009(class_2561 arg0)
parseLine(Text text)
m_278165_(C_4996_ arg0)
public void
a(byo arg0, boolean arg1, List<aiu> arg2)
updateSignText(Player arg0, boolean arg1, List<FilteredText> arg2)
method_49836(class_1657 arg0, boolean arg1, List<class_5837> arg2)
tryChangeText(PlayerEntity player, boolean front, List<FilteredMessage> messages)
m_277134_(C_1141_ p_278103_, boolean p_277990_, List<C_212939_> arg2)
public boolean
a(UnaryOperator<daw> arg0, boolean arg1)
updateText(UnaryOperator<SignText> arg0, boolean arg1)
method_49841(UnaryOperator<class_8242> arg0, boolean arg1)
changeText(UnaryOperator<SignText> textChanger, boolean front)
m_277073_(UnaryOperator<C_276381_> p_277426_, boolean arg1)
private SignText
a(byo arg0, List<aiu> arg1, daw arg2)
setMessages(Player arg0, List<FilteredText> arg1, SignText arg2)
method_49835(class_1657 arg0, List<class_5837> arg1, class_8242 arg2)
getTextWithMessages(PlayerEntity player, List<FilteredMessage> messages, SignText text)
m_276929_(C_1141_ p_277744_, List<C_212939_> p_277359_, C_276381_ arg2)
public boolean
a(daw arg0, boolean arg1)
setText(SignText arg0, boolean arg1)
method_49840(class_8242 arg0, boolean arg1)
setText(SignText text, boolean front)
m_276956_(C_276381_ p_277720_, boolean arg1)
private boolean
b(daw arg0)
setBackText(SignText arg0)
method_49839(class_8242 arg0)
setBackText(SignText backText)
m_277170_(C_276381_ arg0)
private boolean
c(daw arg0)
setFrontText(SignText arg0)
method_49846(class_8242 arg0)
setFrontText(SignText frontText)
m_276964_(C_276381_ arg0)
public boolean
a(boolean arg0, byo arg1)
canExecuteClickCommands(boolean arg0, Player arg1)
method_50010(boolean arg0, class_1657 arg1)
canRunCommandClickEvent(boolean front, PlayerEntity player)
m_278157_(boolean p_278240_, C_1141_ arg1)
public boolean
a(byo arg0, cmm arg1, gu arg2, boolean arg3)
executeClickCommandsIfPresent(Player arg0, Level arg1, BlockPos arg2, boolean arg3)
method_50007(class_1657 arg0, class_1937 arg1, class_2338 arg2, boolean arg3)
runCommandClickEvent(PlayerEntity player, World world, BlockPos pos, boolean front)
m_278155_(C_1141_ p_279201_, C_1596_ p_278282_, C_4675_ p_278254_, boolean arg3)
private static CommandSourceStack
a(byo arg0, cmm arg1, gu arg2)
createCommandSourceStack(Player arg0, Level arg1, BlockPos arg2)
method_50006(class_1657 arg0, class_1937 arg1, class_2338 arg2)
createCommandSource(PlayerEntity player, World world, BlockPos pos)
m_278808_(C_1141_ p_279428_, C_1596_ p_279359_, C_4675_ p_279430_)
public ClientboundBlockEntityDataPacket
j()
getUpdatePacket()
method_38249()
toUpdatePacket()
m_58483_()
public CompoundTag
ao_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public boolean
t()
onlyOpCanSetNbt()
method_11011()
copyItemDataRequiresOperator()
m_6326_()
public void
a(UUID arg0)
setAllowedPlayerEditor(UUID arg0)
method_11306(UUID arg0)
setEditor(UUID editor)
m_155713_(UUID arg0)
public UUID
v()
getPlayerWhoMayEdit()
method_11305()
getEditor()
m_155726_()
private void
x()
markUpdated()
method_34272()
updateListeners()
m_155728_()
public boolean
w()
isWaxed()
method_49855()
isWaxed()
m_277118_()
public boolean
b(boolean arg0)
setWaxed(boolean arg0)
method_49849(boolean arg0)
setWaxed(boolean waxed)
m_277031_(boolean arg0)
public boolean
b(UUID arg0)
playerIsTooFarAwayToEdit(UUID arg0)
method_49847(UUID arg0)
isPlayerTooFarToEdit(UUID uuid)
m_276813_(UUID arg0)
public static void
a(cmm arg0, gu arg1, dcb arg2, dav arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, SignBlockEntity arg3)
method_49837(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2625 arg3)
tick(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity)
m_276836_(C_1596_ p_277662_, C_4675_ p_278050_, C_2064_ p_277927_, C_2024_ p_277928_)
private void
a(dav arg0, cmm arg1, UUID arg2)
clearInvalidPlayerWhoMayEdit(SignBlockEntity arg0, Level arg1, UUID arg2)
method_49838(class_2625 arg0, class_1937 arg1, UUID arg2)
tryClearInvalidEditor(SignBlockEntity blockEntity, World world, UUID uuid)
m_276965_(C_2024_ p_277853_, C_1596_ p_277849_, UUID arg2)