net.minecraft.world.level.block.entity

public class SignBlockEntity

extends BlockEntity

dvn
net.minecraft.world.level.block.entity.SignBlockEntity
net.minecraft.class_2625
net.minecraft.unmapped.C_axouvzlg
net.minecraft.block.entity.SignBlockEntity
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
f_dcjzrjbm
LOGGER
LOGGER
f_276608_
private static final int
b
MAX_TEXT_LINE_WIDTH
field_40335
f_xnbbfgln
MAX_TEXT_WIDTH
MAX_TEXT_LINE_WIDTH
f_243840_
private static final int
c
TEXT_LINE_HEIGHT
field_40336
f_kglqtpyy
TEXT_LINE_HEIGHT
TEXT_LINE_HEIGHT
f_243968_
private UUID
d
playerWhoMayEdit
field_12046
f_orlvhjhd
editor
editor
f_59722_
private SignText
e
frontText
field_43295
f_xwgesugz
frontText
frontText
f_276598_
private SignText
f
backText
field_43296
f_yyrklxoa
backText
backText
f_276476_
private boolean
g
isWaxed
field_43297
f_gbeckede
waxed
waxed
f_276544_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected SignText
f()
createDefaultSignText()
method_49852()
m_cbizgexi()
createText()
createText()
m_277006_()
public boolean
a(coy arg0)
isFacingFrontText(Player arg0)
method_49834(class_1657 arg0)
m_rtveqfjy(C_jzrpycqo arg0)
isPlayerFacingFront(PlayerEntity player)
isFacingFrontText(PlayerEntity player)
m_277202_(C_1141_ arg0)
public SignText
a(boolean arg0)
getText(boolean arg0)
method_49843(boolean arg0)
m_tdhknmjp(boolean arg0)
getText(boolean front)
getText(boolean front)
m_277157_(boolean arg0)
public SignText
j()
getFrontText()
method_49853()
m_spnxewno()
getFrontText()
getFrontText()
m_277142_()
public SignText
k()
getBackText()
method_49854()
m_ecmbtbgz()
getBackText()
getBackText()
m_277159_()
public int
b()
getTextLineHeight()
method_45469()
m_ykxtknwa()
getTextLineHeight()
getTextLineHeight()
m_245065_()
public int
c()
getMaxTextLineWidth()
method_45470()
m_sdxgspoq()
getMaxTextWidth()
getMaxTextLineWidth()
m_245123_()
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_331864_, C_213466_$C_254607_ arg1)
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_336389_, C_213466_$C_254607_ arg1)
private SignText
a(dvo arg0)
loadLines(SignText arg0)
method_50008(class_8242 arg0)
m_gxmzndcx(C_ralzcant arg0)
parseLines(SignText signText)
parseLines(SignText text)
m_278182_(C_276381_ arg0)
private Component
a(wp arg0)
loadLine(Component arg0)
method_50009(class_2561 arg0)
m_iwgmpwqb(C_rdaqiwdt arg0)
parseLine(Text text)
parseLine(Text text)
m_278165_(C_4996_ arg0)
public void
a(coy arg0, boolean arg1, List<arw> arg2)
updateSignText(Player arg0, boolean arg1, List<FilteredText> arg2)
method_49836(class_1657 arg0, boolean arg1, List<class_5837> arg2)
m_pggyiare(C_jzrpycqo arg0, boolean arg1, List<C_yjdbpemn> arg2)
tryChangeText(PlayerEntity player, boolean front, List<FilteredMessage> messages)
tryUpdateText(PlayerEntity player, boolean front, List<FilteredText> signText)
m_277134_(C_1141_ p_278103_, boolean p_277990_, List<C_212939_> arg2)
public boolean
a(UnaryOperator<dvo> arg0, boolean arg1)
updateText(UnaryOperator<SignText> arg0, boolean arg1)
method_49841(UnaryOperator<class_8242> arg0, boolean arg1)
m_liuhjfiq(UnaryOperator<C_ralzcant> arg0, boolean arg1)
changeText(UnaryOperator<SignText> textChanger, boolean front)
updateText(UnaryOperator<SignText> operator, boolean front)
m_277073_(UnaryOperator<C_276381_> p_277426_, boolean arg1)
private SignText
a(coy arg0, List<arw> arg1, dvo arg2)
setMessages(Player arg0, List<FilteredText> arg1, SignText arg2)
method_49835(class_1657 arg0, List<class_5837> arg1, class_8242 arg2)
m_apdvaphb(C_jzrpycqo arg0, List<C_yjdbpemn> arg1, C_ralzcant arg2)
getTextWithMessages(PlayerEntity player, List<FilteredMessage> messages, SignText text)
setMessages(PlayerEntity player, List<FilteredText> messages, SignText text)
m_276929_(C_1141_ p_277744_, List<C_212939_> p_277359_, C_276381_ arg2)
public boolean
a(dvo arg0, boolean arg1)
setText(SignText arg0, boolean arg1)
method_49840(class_8242 arg0, boolean arg1)
m_ciqmeakn(C_ralzcant arg0, boolean arg1)
setText(SignText text, boolean front)
setText(SignText text, boolean front)
m_276956_(C_276381_ p_277720_, boolean arg1)
private boolean
b(dvo arg0)
setBackText(SignText arg0)
method_49839(class_8242 arg0)
m_fozhvnrf(C_ralzcant arg0)
setBackText(SignText backText)
setBackText(SignText text)
m_277170_(C_276381_ arg0)
private boolean
c(dvo arg0)
setFrontText(SignText arg0)
method_49846(class_8242 arg0)
m_thcrvyjp(C_ralzcant arg0)
setFrontText(SignText frontText)
setFrontText(SignText text)
m_276964_(C_276381_ arg0)
public boolean
a(boolean arg0, coy arg1)
canExecuteClickCommands(boolean arg0, Player arg1)
method_50010(boolean arg0, class_1657 arg1)
m_jqyjqncg(boolean arg0, C_jzrpycqo arg1)
canRunCommandClickEvent(boolean front, PlayerEntity player)
canExecuteClickCommands(boolean fromFront, PlayerEntity player)
m_278157_(boolean p_278240_, C_1141_ arg1)
public boolean
a(coy arg0, dgj arg1, ji 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)
m_ulvxaoqt(C_jzrpycqo arg0, C_cdctfzbn arg1, C_hynzadkk arg2, boolean arg3)
runCommandClickEvent(PlayerEntity player, World world, BlockPos pos, boolean front)
runCommandClickEvent(PlayerEntity player, World world, BlockPos pos, boolean fromFront)
m_278155_(C_1141_ p_279201_, C_1596_ p_278282_, C_4675_ p_278254_, boolean arg3)
private static CommandSourceStack
a(coy arg0, dgj arg1, ji arg2)
createCommandSourceStack(Player arg0, Level arg1, BlockPos arg2)
method_50006(class_1657 arg0, class_1937 arg1, class_2338 arg2)
m_qfqfsqzg(C_jzrpycqo arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
createCommandSource(PlayerEntity player, World world, BlockPos pos)
createCommandSource(PlayerEntity player, World world, BlockPos pos)
m_278808_(C_1141_ p_279428_, C_1596_ p_279359_, C_4675_ p_279430_)
public ClientboundBlockEntityDataPacket
s()
getUpdatePacket()
method_38249()
m_vksbeegy()
toUpdatePacket()
toUpdatePacket()
m_58483_()
public CompoundTag
a(jt$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
toSyncedNbt(HolderLookup$Provider arg0)
m_5995_(C_213466_$C_254607_ arg0)
public void
a(UUID arg0)
setAllowedPlayerEditor(UUID arg0)
method_11306(UUID arg0)
m_wlczwenn(UUID arg0)
setEditor(UUID editor)
setEditor(UUID editor)
m_155713_(UUID arg0)
public UUID
t()
getPlayerWhoMayEdit()
method_11305()
m_zetnqwey()
getEditor()
getEditor()
m_155726_()
private void
v()
markUpdated()
method_34272()
m_ouxwfbez()
updateListeners()
updateListeners()
m_155728_()
public boolean
u()
isWaxed()
method_49855()
m_mpmzlwzj()
isWaxed()
isWaxed()
m_277118_()
public boolean
b(boolean arg0)
setWaxed(boolean arg0)
method_49849(boolean arg0)
m_pjiruyhd(boolean arg0)
setWaxed(boolean waxed)
setWaxed(boolean waxed)
m_277031_(boolean arg0)
public boolean
b(UUID arg0)
playerIsTooFarAwayToEdit(UUID arg0)
method_49847(UUID arg0)
m_jonuiifh(UUID arg0)
isPlayerTooFarToEdit(UUID uuid)
isTooFarToEdit(UUID playerUuid)
m_276813_(UUID arg0)
public static void
a(dgj arg0, ji arg1, dwy arg2, dvn arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, SignBlockEntity arg3)
method_49837(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2625 arg3)
m_gcdjvsby(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_axouvzlg arg3)
tick(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity)
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(dvn arg0, dgj arg1, UUID arg2)
clearInvalidPlayerWhoMayEdit(SignBlockEntity arg0, Level arg1, UUID arg2)
method_49838(class_2625 arg0, class_1937 arg1, UUID arg2)
m_yesfjplu(C_axouvzlg arg0, C_cdctfzbn arg1, UUID arg2)
tryClearInvalidEditor(SignBlockEntity blockEntity, World world, UUID uuid)
tryClearInvalidEditor(SignBlockEntity blockEntity, World world, UUID uuid)
m_276965_(C_2024_ p_277853_, C_1596_ p_277849_, UUID arg2)
public SoundEvent
d()
getSignInteractionFailedSoundEvent()
method_54303()
m_rhqhsacg()
getInteractionFailSound()
getInteractionFailSound()
m_307050_()