net.minecraft.world.level.block.entity

public class BeehiveBlockEntity

extends BlockEntity

dpf
net.minecraft.world.level.block.entity.BeehiveBlockEntity
net.minecraft.class_4482
net.minecraft.unmapped.C_cyniebsl
net.minecraft.block.entity.BeehiveBlockEntity
net.minecraft.block.entity.BeehiveBlockEntity
net.minecraft.src.C_1985_
net.minecraft.world.level.block.entity.TileEntityBed

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_49409
f_kcrgkdbc
LOGGER
LOGGER
f_316080_
private static final String
d
TAG_FLOWER_POS
field_31306
f_cmipzgih
FLOWER_POS_KEY
FLOWER_POS_KEY
f_155121_
private static final String
e
BEES
field_31311
f_zbytilzr
BEES_KEY
BEES_KEY
f_155126_
static final List<String>
f
IGNORED_BEE_TAGS
field_33570
f_szjmzyjd
IRRELEVANT_BEE_NBT_KEYS
IRRELEVANT_BEE_NBT_KEYS
f_155129_
public static final int
a
MAX_OCCUPANTS
field_31312
f_naxlgihs
MAX_BEE_COUNT
MAX_BEE_COUNT
f_155127_
private static final int
g
MIN_TICKS_BEFORE_REENTERING_HIVE
field_31314
f_ppvyxmei
ANGERED_CANNOT_ENTER_HIVE_TICKS
ANGERED_CANNOT_ENTER_HIVE_TICKS
f_155130_
private static final int
h
MIN_OCCUPATION_TICKS_NECTAR
field_31315
f_ooouhrch
MIN_OCCUPATION_TICKS_WITH_NECTAR
MIN_OCCUPATION_TICKS_WITH_NECTAR
f_155131_
public static final int
b
MIN_OCCUPATION_TICKS_NECTARLESS
field_31313
f_shwnyonz
MIN_OCCUPATION_TICKS_WITHOUT_NECTAR
MIN_OCCUPATION_TICKS_WITHOUT_NECTAR
f_155128_
private final List<BeehiveBlockEntity$BeeData>
i
stored
field_20423
f_nhdfehfl
bees
bees
f_58732_
private BlockPos
j
savedFlowerPos
field_20424
f_xvejnjen
flowerPos
flowerPos
f_58733_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
m_6596_()
public boolean
b()
isFireNearby()
method_23280()
m_tbwpiwhq()
isNearFire()
isNearFire()
m_58773_()
public boolean
c()
isEmpty()
method_22400()
m_qxxpjewr()
hasNoBees()
hasNoBees()
m_58774_()
public boolean
d()
isFull()
method_21856()
m_camfdiec()
isFullOfBees()
isFullOfBees()
m_58775_()
public void
a(cmy arg0, dsd arg1, dpf$b arg2)
emptyAllLivingFromHive(Player arg0, BlockState arg1, BeehiveBlockEntity$BeeReleaseStatus arg2)
method_21850(class_1657 arg0, class_2680 arg1, class_4482$class_4484 arg2)
m_jbfwnhjx(C_jzrpycqo arg0, C_txtbiemp arg1, C_cyniebsl$C_ajqcctan arg2)
angerBees(PlayerEntity player, BlockState state, BeehiveBlockEntity$BeeState beeState)
angerBees(PlayerEntity player, BlockState state, BeehiveBlockEntity$BeeState beeState)
m_58748_(C_1141_ p_58750_, C_2064_ p_58751_, C_1985_$C_1988_ arg2)
private List<Entity>
a(dsd arg0, dpf$b arg1)
releaseAllOccupants(BlockState arg0, BeehiveBlockEntity$BeeReleaseStatus arg1)
method_21852(class_2680 arg0, class_4482$class_4484 arg1)
m_xedvdixh(C_txtbiemp arg0, C_cyniebsl$C_ajqcctan arg1)
tryReleaseBee(BlockState state, BeehiveBlockEntity$BeeState beeState)
tryReleaseBee(BlockState state, BeehiveBlockEntity$BeeState beeState)
m_58759_(C_2064_ p_58761_, C_1985_$C_1988_ arg1)
public int
f()
getOccupantCount()
method_23903()
m_kxlqccck()
getBeeCount()
getBeeCount()
m_58776_()
public static int
a(dsd arg0)
getHoneyLevel(BlockState arg0)
method_23902(class_2680 arg0)
m_xwylkrni(C_txtbiemp arg0)
getHoneyLevel(BlockState state)
getHoneyLevel(BlockState state)
m_58752_(C_2064_ p_58753_)
public boolean
j()
isSedated()
method_23904()
m_yfffskly()
isSmoked()
isSmoked()
m_58777_()
public void
a(bsv arg0)
addOccupant(Entity arg0)
method_21848(class_1297 arg0)
m_oypeqdjf(C_astfners arg0)
tryEnterHive(Entity entity)
tryEnterHive(Entity entity)
m_58741_(C_507_ arg0)
public void
a(dpf$c arg0)
storeBee(BeehiveBlockEntity$Occupant arg0)
method_35292(class_4482$class_9309 arg0)
m_czgkogzg(C_cyniebsl$C_cakykluc arg0)
addBee(BeehiveBlockEntity$BeeData bee)
addBee(BeehiveBlockEntity$Occupant occupant)
m_155157_(C_1985_$C_313684_ arg0)
private static boolean
a(dbz arg0, iz arg1, dsd arg2, dpf$c arg3, List<bsv> arg4, dpf$b arg5, iz arg6)
releaseOccupant(Level arg0, BlockPos arg1, BlockState arg2, BeehiveBlockEntity$Occupant arg3, List<Entity> arg4, BeehiveBlockEntity$BeeReleaseStatus arg5, BlockPos arg6)
method_21855(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_4482$class_9309 arg3, List<class_1297> arg4, class_4482$class_4484 arg5, class_2338 arg6)
m_agcjqyju(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_cyniebsl$C_cakykluc arg3, List<C_astfners> arg4, C_cyniebsl$C_ajqcctan arg5, C_hynzadkk arg6)
releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity$BeeData bee, List<Entity> entities, BeehiveBlockEntity$BeeState beeState, BlockPos flowerPos)
releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity$Occupant occupant, List<Entity> entities, BeehiveBlockEntity$BeeState beeState, BlockPos flowerPos)
m_155136_(C_1596_ p_155137_, C_4675_ p_155138_, C_2064_ p_155139_, C_1985_$C_313684_ p_335681_, List<C_507_> p_155141_, C_1985_$C_1988_ p_155142_, C_4675_ p_155143_)
private boolean
k()
hasSavedFlowerPos()
method_21857()
m_tutnubbv()
hasFlowerPos()
hasFlowerPos()
m_58780_()
private static void
a(dbz arg0, iz arg1, dsd arg2, List<dpf$a> arg3, iz arg4)
tickOccupants(Level arg0, BlockPos arg1, BlockState arg2, List<BeehiveBlockEntity$BeeData> arg3, BlockPos arg4)
method_21858(class_1937 arg0, class_2338 arg1, class_2680 arg2, List<class_4482$class_4483> arg3, class_2338 arg4)
m_yazffysu(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, List<C_cyniebsl$C_idqjupol> arg3, C_hynzadkk arg4)
tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity$Bee> bees, BlockPos flowerPos)
tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity$Bee> bees, BlockPos flowerPos)
m_155149_(C_1596_ p_155150_, C_4675_ p_155151_, C_2064_ p_155152_, List<C_1985_$C_1987_> p_155153_, C_4675_ p_155154_)
public static void
a(dbz arg0, iz arg1, dsd arg2, dpf arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, BeehiveBlockEntity arg3)
method_31656(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_4482 arg3)
m_aysrthif(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_cyniebsl arg3)
serverTick(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity)
serverTick(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity)
m_155144_(C_1596_ p_155145_, C_4675_ p_155146_, C_2064_ p_155147_, C_1985_ p_155148_)
protected void
a(us arg0, jk$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 arg0, RegistryWrapper$WrapperLookup arg1)
m_trzmaydr(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_335311_, C_213466_$C_254607_ arg1)
protected void
b(us arg0, jk$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 arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_332762_, C_213466_$C_254607_ arg1)
protected void
a(dpi$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
m_cckjpvhm(C_kvegafmh$C_uyhxhbrv arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(ki$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
m_apmtvpji(C_kouhnfig$C_vfzyoahz arg0)
addComponents(ComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(us arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
m_pcgjfrqh(C_hhlwcnih arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
m_pcgjfrqh(NbtCompound arg0)
m_318942_(C_4917_ arg0)
private List<BeehiveBlockEntity$Occupant>
l()
getBees()
method_57580()
m_qwlovmrg()
createBeesData()
m_322480_()