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.block.entity.SignBlockEntity
net.minecraft.world.level.block.entity.TileEntitySign

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_43294
LOGGER
private static final int
b
MAX_TEXT_LINE_WIDTH
field_40335
MAX_TEXT_WIDTH
private static final int
c
TEXT_LINE_HEIGHT
field_40336
TEXT_LINE_HEIGHT
private UUID
d
playerWhoMayEdit
field_12046
editor
private SignText
e
frontText
field_43295
frontText
private SignText
f
backText
field_43296
backText
private boolean
g
isWaxed
field_43297
waxed

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)
public (BlockEntityType arg0, BlockPos arg1, BlockState arg2)

Method summary

Modifier and TypeMethod
protected SignText
f()
createDefaultSignText()
method_49852()
createText()
public boolean
a(coy arg0)
isFacingFrontText(Player arg0)
method_49834(class_1657 arg0)
isPlayerFacingFront(PlayerEntity player)
public SignText
a(boolean arg0)
getText(boolean arg0)
method_49843(boolean arg0)
getText(boolean front)
public SignText
j()
getFrontText()
method_49853()
getFrontText()
public SignText
k()
getBackText()
method_49854()
getBackText()
public int
b()
getTextLineHeight()
method_45469()
getTextLineHeight()
public int
c()
getMaxTextLineWidth()
method_45470()
getMaxTextWidth()
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup 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)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
private SignText
a(dvo arg0)
loadLines(SignText arg0)
method_50008(class_8242 arg0)
parseLines(SignText signText)
private Component
a(wp arg0)
loadLine(Component arg0)
method_50009(class_2561 arg0)
parseLine(Text text)
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)
tryChangeText(PlayerEntity player, boolean front, List<FilteredMessage> messages)
public boolean
a(UnaryOperator<dvo> arg0, boolean arg1)
updateText(UnaryOperator<SignText> arg0, boolean arg1)
method_49841(UnaryOperator<class_8242> arg0, boolean arg1)
changeText(UnaryOperator<SignText> textChanger, boolean front)
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)
getTextWithMessages(PlayerEntity player, List<FilteredMessage> messages, SignText text)
public boolean
a(dvo arg0, boolean arg1)
setText(SignText arg0, boolean arg1)
method_49840(class_8242 arg0, boolean arg1)
setText(SignText text, boolean front)
private boolean
b(dvo arg0)
setBackText(SignText arg0)
method_49839(class_8242 arg0)
setBackText(SignText backText)
private boolean
c(dvo arg0)
setFrontText(SignText arg0)
method_49846(class_8242 arg0)
setFrontText(SignText frontText)
public boolean
a(boolean arg0, coy arg1)
canExecuteClickCommands(boolean arg0, Player arg1)
method_50010(boolean arg0, class_1657 arg1)
canRunCommandClickEvent(boolean front, PlayerEntity player)
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)
runCommandClickEvent(PlayerEntity player, World world, BlockPos pos, boolean front)
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)
createCommandSource(PlayerEntity player, World world, BlockPos pos)
public ClientboundBlockEntityDataPacket
s()
getUpdatePacket()
method_38249()
toUpdatePacket()
public CompoundTag
a(jt$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public void
a(UUID arg0)
setAllowedPlayerEditor(UUID arg0)
method_11306(UUID arg0)
setEditor(UUID editor)
public UUID
t()
getPlayerWhoMayEdit()
method_11305()
getEditor()
private void
v()
markUpdated()
method_34272()
updateListeners()
public boolean
u()
isWaxed()
method_49855()
isWaxed()
public boolean
b(boolean arg0)
setWaxed(boolean arg0)
method_49849(boolean arg0)
setWaxed(boolean waxed)
public boolean
b(UUID arg0)
playerIsTooFarAwayToEdit(UUID arg0)
method_49847(UUID arg0)
isPlayerTooFarToEdit(UUID uuid)
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)
tick(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity)
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)
tryClearInvalidEditor(SignBlockEntity blockEntity, World world, UUID uuid)
public SoundEvent
d()
getSignInteractionFailedSoundEvent()
method_54303()
getInteractionFailSound()