net.minecraft.world.level.block.entity

public abstract class BlockEntity

dgv
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.class_2586
net.minecraft.unmapped.C_kvegafmh
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BlockEntity
net.minecraft.src.C_1991_
net.minecraft.world.level.block.entity.TileEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
e
LOGGER
field_11868
f_muneaeoa
LOGGER
LOGGER
f_58854_
private final BlockEntityType<?>
f
type
field_11864
f_ryoueidw
type
type
f_58855_
protected Level
o
level
field_11863
f_fsrkvtwf
world
world
f_58857_
protected final BlockPos
p
worldPosition
field_11867
f_vmexpbns
pos
pos
f_58858_
protected boolean
q
remove
field_11865
f_tkrvwfln
removed
removed
f_58859_
private BlockState
g
blockState
field_11866
f_ebvcvspz
cachedState
cachedState
f_58856_

Constructor summary

ModifierConstructor
public (BlockEntityType<?> type, BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static BlockPos
c(sn arg0)
getPosFromTag(CompoundTag arg0)
method_38239(class_2487 arg0)
m_culdahst(C_hhlwcnih arg0)
posFromNbt(NbtCompound nbt)
readBlockPosFromNbt(NbtCompound nbt)
m_187472_(C_4917_ p_187473_)
public Level
i()
getLevel()
method_10997()
m_rtxjwbev()
getWorld()
getWorld()
m_58904_()
public void
a(ctp arg0)
setLevel(Level arg0)
method_31662(class_1937 arg0)
m_kdzukdvh(C_cdctfzbn arg0)
setWorld(World world)
setWorld(World world)
m_142339_(C_1596_ arg0)
public boolean
n()
hasLevel()
method_11002()
m_pnogyfzc()
hasWorld()
hasWorld()
m_58898_()
public void
a(sn arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound nbt)
readNbt(NbtCompound nbt)
m_142466_(C_4917_ arg0)
protected void
b(sn arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
writeNbt(NbtCompound nbt)
m_183515_(C_4917_ arg0)
public final CompoundTag
o()
saveWithFullMetadata()
method_38242()
m_xokvytvt()
createNbtWithIdentifyingData()
toIdentifiedLocatedNbt()
m_187480_()
public final CompoundTag
p()
saveWithId()
method_38243()
m_dzrbmfhv()
createNbtWithId()
toIdentifiedNbt()
m_187481_()
public final CompoundTag
q()
saveWithoutMetadata()
method_38244()
m_ghbzlfof()
createNbt()
toNbt()
m_187482_()
private void
d(sn arg0)
saveId(CompoundTag arg0)
method_38241(class_2487 arg0)
m_auxezlat(C_hhlwcnih arg0)
writeIdToNbt(NbtCompound nbt)
writeIdentifyingData(NbtCompound nbt)
m_187474_(C_4917_ arg0)
public static void
a(sn arg0, dgx<?> arg1)
addEntityType(CompoundTag arg0, BlockEntityType<?> arg1)
method_38238(class_2487 arg0, class_2591<?> arg1)
m_zasadoxf(C_hhlwcnih arg0, C_wgqvodus<?> arg1)
writeIdToNbt(NbtCompound nbt, BlockEntityType<?> type)
writeIdentifyingData(NbtCompound nbt, BlockEntityType<?> type)
m_187468_(C_4917_ p_187469_, C_1992_<?> p_187470_)
public void
e(cmy arg0)
saveToItem(ItemStack arg0)
method_38240(class_1799 arg0)
m_pvqmpwkq(C_sddaxwyk arg0)
setStackNbt(ItemStack stack)
writeNbtToStack(ItemStack stack)
m_187476_(C_1391_ arg0)
private void
e(sn arg0)
saveMetadata(CompoundTag arg0)
method_10999(class_2487 arg0)
m_jcglyghm(C_hhlwcnih arg0)
writeIdentifyingData(NbtCompound nbt)
writeIdentifyingLocatingData(NbtCompound nbt)
m_187478_(C_4917_ arg0)
public static BlockEntity
a(hx arg0, djh arg1, sn arg2)
loadStatic(BlockPos arg0, BlockState arg1, CompoundTag arg2)
method_11005(class_2338 arg0, class_2680 arg1, class_2487 arg2)
m_idcywgkm(C_hynzadkk arg0, C_txtbiemp arg1, C_hhlwcnih arg2)
createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt)
createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt)
m_155241_(C_4675_ p_155242_, C_2064_ p_155243_, C_4917_ p_155244_)
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
m_6596_()
protected static void
a(ctp arg0, hx arg1, djh arg2)
setChanged(Level arg0, BlockPos arg1, BlockState arg2)
method_31663(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_cjlndzcv(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
markDirty(World world, BlockPos pos, BlockState state)
markDirty(World world, BlockPos pos, BlockState state)
m_155232_(C_1596_ p_155233_, C_4675_ p_155234_, C_2064_ p_155235_)
public BlockPos
aB_()
getBlockPos()
method_11016()
m_qihknhoq()
getPos()
getPos()
m_58899_()
public BlockState
r()
getBlockState()
method_11010()
m_zqrrwulc()
getCachedState()
getCachedState()
m_58900_()
public Packet<ClientGamePacketListener>
j()
getUpdatePacket()
method_38235()
m_kydjlael()
toUpdatePacket()
toUpdatePacket()
m_58483_()
public CompoundTag
ax_()
getUpdateTag()
method_16887()
m_escrnqip()
toInitialChunkDataNbt()
toSyncedNbt()
m_5995_()
public boolean
s()
isRemoved()
method_11015()
m_jutqxnar()
isRemoved()
isRemoved()
m_58901_()
public void
ay_()
setRemoved()
method_11012()
m_ftinwujz()
markRemoved()
markRemoved()
m_7651_()
public void
t()
clearRemoved()
method_10996()
m_knsllsrv()
cancelRemoval()
cancelRemoval()
m_6339_()
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
m_qrmwzmws(int arg0, int arg1)
onSyncedBlockEvent(int type, int data)
onSyncedBlockEvent(int type, int data)
m_7531_(int p_58890_, int arg1)
public void
a(p arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_11003(class_129 arg0)
m_yymkkcjv(C_qympisds arg0)
populateCrashReport(CrashReportSection crashReportSection)
populateCrashReport(CrashReportSection crashReportSection)
m_58886_(C_4909_ arg0)
public boolean
u()
onlyOpCanSetNbt()
method_11011()
m_jlguerjg()
copyItemDataRequiresOperator()
copyItemDataRequiresOperator()
m_6326_()
public BlockEntityType<?>
v()
getType()
method_11017()
m_zgvlsqwh()
getType()
getType()
m_58903_()
public void
b(djh arg0)
setBlockState(BlockState arg0)
method_31664(class_2680 arg0)
m_jszkmdfp(C_txtbiemp arg0)
setCachedState(BlockState state)
setCachedState(BlockState state)
m_155250_(C_2064_ arg0)