net.minecraft.world.level.block.entity

public abstract class BlockEntity

ciq
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.class_2586
net.minecraft.unmapped.C_kvegafmh
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.apache.logging.log4j.Logger
b
LOGGER
field_11868
f_muneaeoa
LOGGER
f_58854_
private final BlockEntityType<?>
c
type
field_11864
f_ryoueidw
type
f_58855_
protected Level
n
level
field_11863
f_fsrkvtwf
world
f_58857_
protected final BlockPos
o
worldPosition
field_11867
f_vmexpbns
pos
f_58858_
protected boolean
p
remove
field_11865
f_tkrvwfln
removed
f_58859_
private BlockState
d
blockState
field_11866
f_ebvcvspz
cachedState
f_58856_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Level
k()
getLevel()
method_10997()
m_rtxjwbev()
getWorld()
m_58904_()
getWorld()
public void
a(bwq arg0)
setLevel(Level arg0)
method_31662(class_1937 arg0)
m_kdzukdvh(C_cdctfzbn arg0)
setWorld(World world)
m_142339_(C_1596_ arg0)
setWorld(World arg0)
public boolean
l()
hasLevel()
method_11002()
m_pnogyfzc()
hasWorld()
m_58898_()
hasWorld()
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound nbt)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
m_fzlqwslp(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
private CompoundTag
c(na arg0)
saveMetadata(CompoundTag arg0)
method_10999(class_2487 arg0)
m_jcglyghm(C_hhlwcnih arg0)
writeIdentifyingData(NbtCompound nbt)
m_58894_(C_4917_ arg0)
public static BlockEntity
a(gg arg0, ckt arg1, na 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)
m_155241_(C_4675_ p_155242_, C_2064_ p_155243_, C_4917_ p_155244_)
create(BlockPosition arg0, IBlockData arg1, NBTTagCompound arg2)
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
m_6596_()
update()
protected static void
a(bwq arg0, gg arg1, ckt 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)
m_155232_(C_1596_ p_155233_, C_4675_ p_155234_, C_2064_ p_155235_)
public BlockPos
m()
getBlockPos()
method_11016()
m_qihknhoq()
getPos()
m_58899_()
getPosition()
public BlockState
n()
getBlockState()
method_11010()
m_zqrrwulc()
getCachedState()
m_58900_()
getBlock()
public ClientboundBlockEntityDataPacket
Y_()
getUpdatePacket()
method_16886()
m_kydjlael()
toUpdatePacket()
m_7033_()
getUpdatePacket()
public CompoundTag
Z_()
getUpdateTag()
method_16887()
m_escrnqip()
toInitialChunkDataNbt()
m_5995_()
public boolean
o()
isRemoved()
method_11015()
m_jutqxnar()
isRemoved()
m_58901_()
isRemoved()
public void
aa_()
setRemoved()
method_11012()
m_ftinwujz()
markRemoved()
m_7651_()
public void
p()
clearRemoved()
method_10996()
m_knsllsrv()
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)
m_7531_(int p_58890_, int arg1)
setProperty(int arg0, int arg1)
public void
a(r arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_11003(class_129 arg0)
m_yymkkcjv(C_qympisds arg0)
populateCrashReport(CrashReportSection crashReportSection)
m_58886_(C_4909_ arg0)
public boolean
q()
onlyOpCanSetNbt()
method_11011()
m_jlguerjg()
copyItemDataRequiresOperator()
m_6326_()
isFilteredNBT()
public BlockEntityType<?>
r()
getType()
method_11017()
m_zgvlsqwh()
getType()
m_58903_()
getTileType()
public void
b(ckt arg0)
setBlockState(BlockState arg0)
method_31664(class_2680 arg0)
m_jszkmdfp(C_txtbiemp arg0)
setCachedState(BlockState state)
m_155250_(C_2064_ arg0)