net.minecraft.world.level.block.entity

public class BeehiveBlockEntity

extends BlockEntity

cin
net.minecraft.world.level.block.entity.BeehiveBlockEntity
net.minecraft.class_4482
net.minecraft.unmapped.C_cyniebsl
net.minecraft.block.entity.BeehiveBlockEntity
net.minecraft.src.C_1985_
net.minecraft.world.level.block.entity.TileEntityBeehive

Field summary

Modifier and TypeField
public static final String
a
TAG_FLOWER_POS
field_31306
f_cmipzgih
FLOWER_POS_KEY
f_155121_
public static final String
b
MIN_OCCUPATION_TICKS
field_31307
f_sjtaryqb
MIN_OCCUPATION_TICKS_KEY
f_155122_
public static final String
c
ENTITY_DATA
field_31308
f_bfqszuje
ENTITY_DATA_KEY
f_155123_
public static final String
d
TICKS_IN_HIVE
field_31309
f_mrqiqvzg
TICKS_IN_HIVE_KEY
f_155124_
public static final String
e
HAS_NECTAR
field_31310
f_bkvgxwka
HAS_NECTAR_KEY
f_155125_
public static final String
f
BEES
field_31311
f_zbytilzr
BEES_KEY
f_155126_
private static final List<String>
i
IGNORED_BEE_TAGS
field_33570
f_szjmzyjd
IRRELEVANT_BEE_NBT_KEYS
f_155129_
public static final int
g
MAX_OCCUPANTS
field_31312
f_naxlgihs
MAX_BEE_COUNT
f_155127_
private static final int
j
MIN_TICKS_BEFORE_REENTERING_HIVE
field_31314
f_ppvyxmei
ANGERED_CANNOT_ENTER_HIVE_TICKS
f_155130_
private static final int
k
MIN_OCCUPATION_TICKS_NECTAR
field_31315
f_ooouhrch
MIN_OCCUPATION_TICKS_WITH_NECTAR
f_155131_
public static final int
h
MIN_OCCUPATION_TICKS_NECTARLESS
field_31313
f_shwnyonz
MIN_OCCUPATION_TICKS_WITHOUT_NECTAR
f_155128_
private final List<BeehiveBlockEntity$BeeData>
l
stored
field_20423
f_nhdfehfl
bees
f_58732_
private BlockPos
m
savedFlowerPos
field_20424
f_xvejnjen
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()
m_6596_()
update()
public boolean
d()
isFireNearby()
method_23280()
m_tbwpiwhq()
isNearFire()
m_58773_()
public boolean
f()
isEmpty()
method_22400()
m_qxxpjewr()
hasNoBees()
m_58774_()
isEmpty()
public boolean
g()
isFull()
method_21856()
m_camfdiec()
isFullOfBees()
m_58775_()
isFull()
public void
a(bke arg0, ckt arg1, cin$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)
m_58748_(C_1141_ p_58750_, C_2064_ p_58751_, C_1985_$C_1988_ arg2)
private List<Entity>
a(ckt arg0, cin$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)
m_58759_(C_2064_ p_58761_, C_1985_$C_1988_ arg1)
releaseBees(IBlockData arg0, TileEntityBeehive$ReleaseStatus arg1)
public void
a(atg arg0, boolean arg1)
addOccupant(Entity arg0, boolean arg1)
method_21848(class_1297 arg0, boolean arg1)
m_oypeqdjf(C_astfners arg0, boolean arg1)
tryEnterHive(Entity entity, boolean hasNectar)
m_58741_(C_507_ p_58743_, boolean arg1)
addBee(Entity arg0, boolean arg1)
public int
h()
getOccupantCount()
method_23903()
m_kxlqccck()
getBeeCount()
m_58776_()
getBeeCount()
public static int
a(ckt arg0)
getHoneyLevel(BlockState arg0)
method_23902(class_2680 arg0)
m_xwylkrni(C_txtbiemp arg0)
getHoneyLevel(BlockState state)
m_58752_(C_2064_ p_58753_)
public boolean
i()
isSedated()
method_23904()
m_yfffskly()
isSmoked()
m_58777_()
isSedated()
public void
a(atg arg0, boolean arg1, int arg2)
addOccupantWithPresetTicks(Entity arg0, boolean arg1, int arg2)
method_21849(class_1297 arg0, boolean arg1, int arg2)
m_tlwujyfa(C_astfners arg0, boolean arg1, int arg2)
tryEnterHive(Entity entity, boolean hasNectar, int ticksInHive)
m_58744_(C_507_ p_58746_, boolean p_58747_, int arg2)
public void
a(na arg0, int arg1, boolean arg2)
storeBee(CompoundTag arg0, int arg1, boolean arg2)
method_35292(class_2487 arg0, int arg1, boolean arg2)
m_czgkogzg(C_hhlwcnih arg0, int arg1, boolean arg2)
addBee(NbtCompound nbtCompound, int ticksInHive, boolean hasNectar)
m_155157_(C_4917_ p_155159_, int p_155160_, boolean arg2)
private static boolean
a(bwq arg0, gg arg1, ckt arg2, cin$a arg3, List<atg> arg4, cin$b arg5, gg arg6)
releaseOccupant(Level arg0, BlockPos arg1, BlockState arg2, BeehiveBlockEntity$BeeData arg3, List<Entity> arg4, BeehiveBlockEntity$BeeReleaseStatus arg5, BlockPos arg6)
method_21855(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_4482$class_4483 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_idqjupol arg3, List<C_astfners> arg4, C_cyniebsl$C_ajqcctan arg5, C_hynzadkk arg6)
releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity$Bee bee, 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_1987_ p_155140_, List<C_507_> p_155141_, C_1985_$C_1988_ p_155142_, C_4675_ p_155143_)
releaseBee(World arg0, BlockPosition arg1, IBlockData arg2, TileEntityBeehive$HiveBee arg3, List<Entity> arg4, TileEntityBeehive$ReleaseStatus arg5, BlockPosition arg6)
static void
c(na arg0)
removeIgnoredBeeTags(CompoundTag arg0)
method_36379(class_2487 arg0)
m_bhionskg(C_hhlwcnih arg0)
removeIrrelevantNbtKeys(NbtCompound compound)
m_155161_(C_4917_ p_155162_)
private static void
a(int arg0, bdz arg1)
setBeeReleaseData(int arg0, Bee arg1)
method_29562(int arg0, class_4466 arg1)
m_pggxgjsn(int arg0, C_hgfgxpql arg1)
ageBee(int ticks, BeeEntity bee)
m_58736_(int p_58737_, C_805_ p_58738_)
private boolean
s()
hasSavedFlowerPos()
method_21857()
m_tutnubbv()
hasFlowerPos()
m_58780_()
private static void
a(bwq arg0, gg arg1, ckt arg2, List<cin$a> arg3, gg 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)
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(bwq arg0, gg arg1, ckt arg2, cin 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)
m_155144_(C_1596_ p_155145_, C_4675_ p_155146_, C_2064_ p_155147_, C_1985_ p_155148_)
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
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 arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public ListTag
j()
writeBees()
method_21859()
m_zdytcgnm()
getBees()
m_58779_()