net.minecraft.world.level.block.entity

public abstract class BlockEntity

dxf
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

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_11868
f_muneaeoa
LOGGER
LOGGER
private final BlockEntityType<?>
e
type
field_11864
f_ryoueidw
type
type
protected Level
n
level
field_11863
f_fsrkvtwf
world
world
protected final BlockPos
o
worldPosition
field_11867
f_vmexpbns
pos
pos
protected boolean
p
remove
field_11865
f_tkrvwfln
removed
removed
private BlockState
f
blockState
field_11866
f_ebvcvspz
cachedState
cachedState
private DataComponentMap
g
components
field_50172
f_acpxxkyo
components
components

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(eah arg0)
validateBlockState(BlockState arg0)
method_61175(class_2680 arg0)
m_aezsotnt(C_txtbiemp arg0)
validateSupports(BlockState state)
validate(BlockState state)
public boolean
b(eah arg0)
isValidBlockState(BlockState arg0)
method_61176(class_2680 arg0)
m_ntnawmxi(C_txtbiemp arg0)
supports(BlockState state)
supportsState(BlockState state)
public static BlockPos
b(tz arg0)
getPosFromTag(CompoundTag arg0)
method_38239(class_2487 arg0)
m_culdahst(C_hhlwcnih arg0)
posFromNbt(NbtCompound nbt)
readBlockPosFromNbt(NbtCompound nbt)
public Level
i()
getLevel()
method_10997()
m_rtxjwbev()
getWorld()
getWorld()
public void
a(dja arg0)
setLevel(Level arg0)
method_31662(class_1937 arg0)
m_kdzukdvh(C_cdctfzbn arg0)
setWorld(World world)
setWorld(World world)
public boolean
l()
hasLevel()
method_11002()
m_pnogyfzc()
hasWorld()
hasWorld()
protected void
a(tz arg0, jg$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 nbt, RegistryWrapper$WrapperLookup registries)
readNbtImpl(NbtCompound nbt, HolderLookup$Provider lookupProvider)
public final void
c(tz arg0, jg$a arg1)
loadWithComponents(CompoundTag arg0, HolderLookup$Provider arg1)
method_58690(class_2487 arg0, class_7225$class_7874 arg1)
m_rjyhuhsi(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
read(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
read(NbtCompound nbt, HolderLookup$Provider lookupProvider)
public final void
d(tz arg0, jg$a arg1)
loadCustomOnly(CompoundTag arg0, HolderLookup$Provider arg1)
method_58691(class_2487 arg0, class_7225$class_7874 arg1)
m_gmqocbcr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readComponentlessNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
readNbt(NbtCompound nbt, HolderLookup$Provider lookupProvider)
protected void
b(tz arg0, jg$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 nbt, RegistryWrapper$WrapperLookup registries)
writeNbt(NbtCompound nbt, HolderLookup$Provider lookupProvider)
public final CompoundTag
b(jg$a arg0)
saveWithFullMetadata(HolderLookup$Provider arg0)
method_38242(class_7225$class_7874 arg0)
m_xokvytvt(C_vtbxyypo$C_etmlgbig arg0)
createNbtWithIdentifyingData(RegistryWrapper$WrapperLookup registries)
toNbtWithIdAndPos(HolderLookup$Provider lookupProvider)
public final CompoundTag
c(jg$a arg0)
saveWithId(HolderLookup$Provider arg0)
method_38243(class_7225$class_7874 arg0)
m_dzrbmfhv(C_vtbxyypo$C_etmlgbig arg0)
createNbtWithId(RegistryWrapper$WrapperLookup registries)
toNbtWithId(HolderLookup$Provider lookupProvider)
public final CompoundTag
d(jg$a arg0)
saveWithoutMetadata(HolderLookup$Provider arg0)
method_38244(class_7225$class_7874 arg0)
m_ghbzlfof(C_vtbxyypo$C_etmlgbig arg0)
createNbt(RegistryWrapper$WrapperLookup registries)
toNbt(HolderLookup$Provider lookupProvider)
public final CompoundTag
e(jg$a arg0)
saveCustomOnly(HolderLookup$Provider arg0)
method_58692(class_7225$class_7874 arg0)
m_qmckaiuk(C_vtbxyypo$C_etmlgbig arg0)
createComponentlessNbt(RegistryWrapper$WrapperLookup registries)
toComponentlessNbt(HolderLookup$Provider lookupProvider)
public final CompoundTag
f(jg$a arg0)
saveCustomAndMetadata(HolderLookup$Provider arg0)
method_59535(class_7225$class_7874 arg0)
m_ivkmsjmy(C_vtbxyypo$C_etmlgbig arg0)
createComponentlessNbtWithIdentifyingData(RegistryWrapper$WrapperLookup registries)
toComponentlessNbtWithIdAndPos(HolderLookup$Provider lookupProvider)
private void
c(tz arg0)
saveId(CompoundTag arg0)
method_38241(class_2487 arg0)
m_auxezlat(C_hhlwcnih arg0)
writeIdToNbt(NbtCompound nbt)
writeId(NbtCompound nbt)
public static void
a(tz arg0, dxh<?> 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)
private void
d(tz arg0)
saveMetadata(CompoundTag arg0)
method_10999(class_2487 arg0)
m_jcglyghm(C_hhlwcnih arg0)
writeIdentifyingData(NbtCompound nbt)
writeIdAndPos(NbtCompound nbt)
public static BlockEntity
a(iu arg0, eah arg1, tz arg2, jg$a arg3)
loadStatic(BlockPos arg0, BlockState arg1, CompoundTag arg2, HolderLookup$Provider arg3)
method_11005(class_2338 arg0, class_2680 arg1, class_2487 arg2, class_7225$class_7874 arg3)
m_idcywgkm(C_hynzadkk arg0, C_txtbiemp arg1, C_hhlwcnih arg2, C_vtbxyypo$C_etmlgbig arg3)
createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt, HolderLookup$Provider lookupProvider)
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
protected static void
a(dja arg0, iu arg1, eah 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)
public BlockPos
ax_()
getBlockPos()
method_11016()
m_qihknhoq()
getPos()
getPos()
public BlockState
m()
getBlockState()
method_11010()
m_zqrrwulc()
getCachedState()
getCachedState()
public Packet<ClientGamePacketListener>
au_()
getUpdatePacket()
method_38235()
m_kydjlael()
toUpdatePacket()
toUpdatePacket()
public CompoundTag
a(jg$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup registries)
toSyncedNbt(HolderLookup$Provider lookupProvider)
public boolean
n()
isRemoved()
method_11015()
m_jutqxnar()
isRemoved()
isRemoved()
public void
as_()
setRemoved()
method_11012()
m_ftinwujz()
markRemoved()
markRemoved()
public void
o()
clearRemoved()
method_10996()
m_knsllsrv()
cancelRemoval()
cancelRemoval()
public void
a(iu arg0, eah arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
m_zbfmojnu(C_hynzadkk arg0, C_txtbiemp arg1)
onBlockReplaced(BlockPos pos, BlockState oldState)
m_zbfmojnu(BlockPos pos, BlockState state)
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)
public void
a(p arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_11003(class_129 arg0)
m_yymkkcjv(C_qympisds arg0)
populateCrashReport(CrashReportSection crashReportSection)
populateCrashReport(CrashReportSection crashReportSection)
private String
k()
getNameForReporting()
method_61177()
m_bczwkfko()
getNameForReport()
getName()
public BlockEntityType<?>
p()
getType()
method_11017()
m_zgvlsqwh()
getType()
getType()
public void
c(eah arg0)
setBlockState(BlockState arg0)
method_31664(class_2680 arg0)
m_jszkmdfp(C_txtbiemp arg0)
setCachedState(BlockState state)
setCachedState(BlockState state)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_57568(class_9473 arg0)
m_cckjpvhm(C_hmcnusfu arg0)
readComponents(ComponentsAccess components)
readComponents(ke arg0)
public final void
a(czd arg0)
applyComponentsFromItemStack(ItemStack arg0)
method_58683(class_1799 arg0)
m_rloeylgt(C_sddaxwyk arg0)
readComponents(ItemStack stack)
applyComponents(ItemStack stack)
public final void
a(kg arg0, kh arg1)
applyComponents(DataComponentMap arg0, DataComponentPatch arg1)
method_58685(class_9323 arg0, class_9326 arg1)
m_kdfbpbpy(C_kouhnfig arg0, C_jqyoylib arg1)
readComponents(ComponentMap defaultComponents, ComponentChanges components)
applyComponents(DataComponentMap baseComponents, DataComponentPatch patch)
protected void
a(kg$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
m_apmtvpji(C_kouhnfig$C_vfzyoahz arg0)
addComponents(ComponentMap$Builder builder)
addComponents(DataComponentMap$Builder builder)
public void
a(tz arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
m_pcgjfrqh(C_hhlwcnih arg0)
removeFromCopiedStackNbt(NbtCompound nbt)
removeComponentData(NbtCompound nbt)
public final DataComponentMap
q()
collectComponents()
method_57590()
m_jhcvwprs()
createComponentMap()
copyComponents()
public DataComponentMap
r()
components()
method_58693()
m_efaugnfj()
getComponents()
getComponents()
public void
a(kg arg0)
setComponents(DataComponentMap arg0)
method_58684(class_9323 arg0)
m_zevtxnnz(C_kouhnfig arg0)
setComponents(ComponentMap components)
setComponents(DataComponentMap components)
public static Component
a(uw arg0, jg$a arg1)
parseCustomNameSafe(Tag arg0, HolderLookup$Provider arg1)
method_59894(class_2520 arg0, class_7225$class_7874 arg1)
m_ijpcosft(C_oivssbvb arg0, C_vtbxyypo$C_etmlgbig arg1)
tryParseCustomName(NbtElement nbt, RegistryWrapper$WrapperLookup registries)
tryParseCustomName(NbtElement arg0, HolderLookup$Provider arg1)