net.minecraft.world.level.block.entity

public abstract class BlockEntity

dqh
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
d
LOGGER
field_11868
f_muneaeoa
LOGGER
LOGGER
f_58854_
private final BlockEntityType<?>
e
type
field_11864
f_ryoueidw
type
type
f_58855_
protected Level
n
level
field_11863
f_fsrkvtwf
world
world
f_58857_
protected final BlockPos
o
worldPosition
field_11867
f_vmexpbns
pos
pos
f_58858_
protected boolean
p
remove
field_11865
f_tkrvwfln
removed
removed
f_58859_
private BlockState
f
blockState
field_11866
f_ebvcvspz
cachedState
cachedState
f_58856_
private DataComponentMap
g
components
field_50172
f_acpxxkyo
components
components
f_314183_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(dtc arg0)
validateBlockState(BlockState arg0)
method_61175(class_2680 arg0)
m_aezsotnt(C_txtbiemp arg0)
validateSupports(BlockState state)
m_aezsotnt(BlockState state)
m_345529_(C_2064_ arg0)
public boolean
b(dtc arg0)
isValidBlockState(BlockState arg0)
method_61176(class_2680 arg0)
m_ntnawmxi(C_txtbiemp arg0)
supports(BlockState state)
m_ntnawmxi(BlockState state)
m_345532_(C_2064_ arg0)
public static BlockPos
b(ub 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(dcw 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
m()
hasLevel()
method_11002()
m_pnogyfzc()
hasWorld()
hasWorld()
m_58898_()
protected void
a(ub arg0, jo$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 registryLookup)
readNbtImpl(NbtCompound nbt, HolderLookup$Provider lookupProvider)
m_318667_(C_4917_ p_333170_, C_213466_$C_254607_ arg1)
public final void
c(ub arg0, jo$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 registryLookup)
read(NbtCompound nbt, HolderLookup$Provider lookupProvider)
m_320998_(C_4917_ p_335164_, C_213466_$C_254607_ arg1)
public final void
d(ub arg0, jo$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 registryLookup)
readNbt(NbtCompound nbt, HolderLookup$Provider lookupProvider)
m_324273_(C_4917_ p_332017_, C_213466_$C_254607_ arg1)
protected void
b(ub arg0, jo$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 registryLookup)
writeNbt(NbtCompound nbt, HolderLookup$Provider lookupProvider)
m_183515_(C_4917_ p_327783_, C_213466_$C_254607_ arg1)
public final CompoundTag
b(jo$a arg0)
saveWithFullMetadata(HolderLookup$Provider arg0)
method_38242(class_7225$class_7874 arg0)
m_xokvytvt(C_vtbxyypo$C_etmlgbig arg0)
createNbtWithIdentifyingData(RegistryWrapper$WrapperLookup registryLookup)
toNbtWithIdAndPos(HolderLookup$Provider lookupProvider)
m_187480_(C_213466_$C_254607_ arg0)
public final CompoundTag
c(jo$a arg0)
saveWithId(HolderLookup$Provider arg0)
method_38243(class_7225$class_7874 arg0)
m_dzrbmfhv(C_vtbxyypo$C_etmlgbig arg0)
createNbtWithId(RegistryWrapper$WrapperLookup registryLookup)
toNbtWithId(HolderLookup$Provider lookupProvider)
m_187481_(C_213466_$C_254607_ arg0)
public final CompoundTag
d(jo$a arg0)
saveWithoutMetadata(HolderLookup$Provider arg0)
method_38244(class_7225$class_7874 arg0)
m_ghbzlfof(C_vtbxyypo$C_etmlgbig arg0)
createNbt(RegistryWrapper$WrapperLookup registryLookup)
toNbt(HolderLookup$Provider lookupProvider)
m_187482_(C_213466_$C_254607_ arg0)
public final CompoundTag
e(jo$a arg0)
saveCustomOnly(HolderLookup$Provider arg0)
method_58692(class_7225$class_7874 arg0)
m_qmckaiuk(C_vtbxyypo$C_etmlgbig arg0)
createComponentlessNbt(RegistryWrapper$WrapperLookup registryLookup)
toComponentlessNbt(HolderLookup$Provider lookupProvider)
m_320696_(C_213466_$C_254607_ arg0)
public final CompoundTag
f(jo$a arg0)
saveCustomAndMetadata(HolderLookup$Provider arg0)
method_59535(class_7225$class_7874 arg0)
m_ivkmsjmy(C_vtbxyypo$C_etmlgbig arg0)
createComponentlessNbtWithIdentifyingData(RegistryWrapper$WrapperLookup registryLookup)
toComponentlessNbtWithIdAndPos(HolderLookup$Provider lookupProvider)
m_319785_(C_213466_$C_254607_ arg0)
private void
c(ub arg0)
saveId(CompoundTag arg0)
method_38241(class_2487 arg0)
m_auxezlat(C_hhlwcnih arg0)
writeIdToNbt(NbtCompound nbt)
writeId(NbtCompound nbt)
m_187474_(C_4917_ arg0)
public static void
a(ub arg0, dqj<?> 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
a(cuq arg0, jo$a arg1)
saveToItem(ItemStack arg0, HolderLookup$Provider arg1)
method_38240(class_1799 arg0, class_7225$class_7874 arg1)
m_pvqmpwkq(C_sddaxwyk arg0, C_vtbxyypo$C_etmlgbig arg1)
setStackNbt(ItemStack stack, RegistryWrapper$WrapperLookup registries)
writeNbtToStack(ItemStack stack, HolderLookup$Provider lookupProvider)
m_187476_(C_1391_ p_336381_, C_213466_$C_254607_ arg1)
private void
d(ub arg0)
saveMetadata(CompoundTag arg0)
method_10999(class_2487 arg0)
m_jcglyghm(C_hhlwcnih arg0)
writeIdentifyingData(NbtCompound nbt)
writeIdAndPos(NbtCompound nbt)
m_187478_(C_4917_ arg0)
public static BlockEntity
a(jd arg0, dtc arg1, ub arg2, jo$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 registryLookup)
createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt, HolderLookup$Provider lookupProvider)
m_155241_(C_4675_ p_155242_, C_2064_ p_155243_, C_4917_ p_155244_, C_213466_$C_254607_ p_336084_)
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
m_6596_()
protected static void
a(dcw arg0, jd arg1, dtc 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
aD_()
getBlockPos()
method_11016()
m_qihknhoq()
getPos()
getPos()
m_58899_()
public BlockState
n()
getBlockState()
method_11010()
m_zqrrwulc()
getCachedState()
getCachedState()
m_58900_()
public Packet<ClientGamePacketListener>
az_()
getUpdatePacket()
method_38235()
m_kydjlael()
toUpdatePacket()
toUpdatePacket()
m_58483_()
public CompoundTag
a(jo$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup registryLookup)
toSyncedNbt(HolderLookup$Provider lookupProvider)
m_5995_(C_213466_$C_254607_ arg0)
public boolean
o()
isRemoved()
method_11015()
m_jutqxnar()
isRemoved()
isRemoved()
m_58901_()
public void
aA_()
setRemoved()
method_11012()
m_ftinwujz()
markRemoved()
markRemoved()
m_7651_()
public void
p()
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)
private String
k()
getNameForReporting()
method_61177()
m_bczwkfko()
getNameForReport()
m_345537_()
public boolean
q()
onlyOpCanSetNbt()
method_11011()
m_jlguerjg()
copyItemDataRequiresOperator()
copyItemDataRequiresOperator()
m_6326_()
public BlockEntityType<?>
r()
getType()
method_11017()
m_zgvlsqwh()
getType()
getType()
m_58903_()
public void
c(dtc 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)
protected void
a(dqh$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
m_cckjpvhm(C_kvegafmh$C_uyhxhbrv arg0)
readComponents(BlockEntity$ComponentsAccess components)
readComponents(BlockEntity$ComponentAccess access)
m_318741_(C_1991_$C_313341_ arg0)
public final void
a(cuq arg0)
applyComponentsFromItemStack(ItemStack arg0)
method_58683(class_1799 arg0)
m_rloeylgt(C_sddaxwyk arg0)
readComponents(ItemStack stack)
applyComponents(ItemStack stack)
m_322533_(C_1391_ arg0)
public final void
a(km arg0, kn 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)
m_322221_(C_313470_ p_331646_, C_313461_ arg1)
protected void
a(km$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
m_apmtvpji(C_kouhnfig$C_vfzyoahz arg0)
addComponents(ComponentMap$Builder componentMapBuilder)
addComponents(DataComponentMap$Builder builder)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(ub arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
m_pcgjfrqh(C_hhlwcnih arg0)
removeFromCopiedStackNbt(NbtCompound nbt)
removeComponentData(NbtCompound nbt)
m_318942_(C_4917_ arg0)
public final DataComponentMap
s()
collectComponents()
method_57590()
m_jhcvwprs()
createComponentMap()
copyComponents()
m_321843_()
public DataComponentMap
t()
components()
method_58693()
m_efaugnfj()
getComponents()
getComponents()
m_324356_()
public void
a(km arg0)
setComponents(DataComponentMap arg0)
method_58684(class_9323 arg0)
m_zevtxnnz(C_kouhnfig arg0)
setComponents(ComponentMap components)
setComponents(DataComponentMap components)
m_323608_(C_313470_ arg0)
public static Component
a(String arg0, jo$a arg1)
parseCustomNameSafe(String arg0, HolderLookup$Provider arg1)
method_59894(String arg0, class_7225$class_7874 arg1)
m_ijpcosft(String arg0, C_vtbxyypo$C_etmlgbig arg1)
tryParseCustomName(String json, RegistryWrapper$WrapperLookup registryLookup)
tryParseCustomName(String json, HolderLookup$Provider lookupProvider)
m_336414_(String p_336419_, C_213466_$C_254607_ p_336417_)