net.minecraft.world.level.block.entity

public class BeehiveBlockEntity

extends BlockEntity

cwi
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.TileEntityBeehive

Field summary

Modifier and TypeField
public static final String
a
TAG_FLOWER_POS
field_31306
f_cmipzgih
FLOWER_POS_KEY
FLOWER_POS_KEY
f_155121_
public static final String
b
MIN_OCCUPATION_TICKS
field_31307
f_sjtaryqb
MIN_OCCUPATION_TICKS_KEY
MIN_OCCUPATION_TICKS_KEY
f_155122_
public static final String
c
ENTITY_DATA
field_31308
f_bfqszuje
ENTITY_DATA_KEY
ENTITY_DATA_KEY
f_155123_
public static final String
d
TICKS_IN_HIVE
field_31309
f_mrqiqvzg
TICKS_IN_HIVE_KEY
TICKS_IN_HIVE_KEY
f_155124_
public static final String
e
HAS_NECTAR
field_31310
f_bkvgxwka
HAS_NECTAR_KEY
HAS_NECTAR_KEY
f_155125_
public static final String
f
BEES
field_31311
f_zbytilzr
BEES_KEY
BEES_KEY
f_155126_
private static final List<String>
i
IGNORED_BEE_TAGS
field_33570
f_szjmzyjd
IRRELEVANT_BEE_NBT_KEYS
IRRELEVANT_BEE_NBT_KEYS
f_155129_
public static final int
g
MAX_OCCUPANTS
field_31312
f_naxlgihs
MAX_BEE_COUNT
MAX_BEE_COUNT
f_155127_
private static final int
j
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
k
MIN_OCCUPATION_TICKS_NECTAR
field_31315
f_ooouhrch
MIN_OCCUPATION_TICKS_WITH_NECTAR
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
MIN_OCCUPATION_TICKS_WITHOUT_NECTAR
f_155128_
private final List<BeehiveBlockEntity$BeeData>
l
stored
field_20423
f_nhdfehfl
bees
bees
f_58732_
private BlockPos
m
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
c()
isFireNearby()
method_23280()
m_tbwpiwhq()
isNearFire()
isNearFire()
m_58773_()
public boolean
d()
isEmpty()
method_22400()
m_qxxpjewr()
hasNoBees()
hasNoBees()
m_58774_()
public boolean
f()
isFull()
method_21856()
m_camfdiec()
isFullOfBees()
isFullOfBees()
m_58775_()
public void
a(bwp arg0, cyt arg1, cwi$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(cyt arg0, cwi$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 void
a(bdr 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)
tryEnterHive(Entity entity, boolean hasNectar)
m_58741_(C_507_ p_58743_, boolean arg1)
public int
g()
getOccupantCount()
method_23903()
m_kxlqccck()
getBeeCount()
getBeeCount()
m_58776_()
public static int
a(cyt 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
i()
isSedated()
method_23904()
m_yfffskly()
isSmoked()
isSmoked()
m_58777_()
public void
a(bdr 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)
tryEnterHive(Entity entity, boolean hasNectar, int ticksInHive)
m_58744_(C_507_ p_58746_, boolean p_58747_, int arg2)
public void
a(qp 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)
addBee(NbtCompound nbtCompound, int ticksInHive, boolean hasNectar)
m_155157_(C_4917_ p_155159_, int p_155160_, boolean arg2)
private static boolean
a(cjw arg0, gp arg1, cyt arg2, cwi$a arg3, List<bdr> arg4, cwi$b arg5, gp 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)
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_)
static void
d(qp arg0)
removeIgnoredBeeTags(CompoundTag arg0)
method_36379(class_2487 arg0)
m_bhionskg(C_hhlwcnih arg0)
removeIrrelevantNbtKeys(NbtCompound compound)
removeIrrelevantNbtKeys(NbtCompound compound)
m_155161_(C_4917_ p_155162_)
private static void
a(int arg0, bpp 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)
ageBee(int ticks, BeeEntity bee)
m_58736_(int p_58737_, C_805_ p_58738_)
private boolean
t()
hasSavedFlowerPos()
method_21857()
m_tutnubbv()
hasFlowerPos()
hasFlowerPos()
m_58780_()
private static void
a(cjw arg0, gp arg1, cyt arg2, List<cwi$a> arg3, gp 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(cjw arg0, gp arg1, cyt arg2, cwi 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_)
public void
a(qp arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(qp arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public ListTag
j()
writeBees()
method_21859()
m_zdytcgnm()
getBees()
getBees()
m_58779_()