net.minecraft.world.level.block.entity

public class BeehiveBlockEntity

extends BlockEntity

duu
net.minecraft.world.level.block.entity.BeehiveBlockEntity
net.minecraft.class_4482
net.minecraft.block.entity.BeehiveBlockEntity
net.minecraft.world.level.block.entity.TileEntityBeehive

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_49409
LOGGER
private static final String
d
TAG_FLOWER_POS
field_31306
FLOWER_POS_KEY
private static final String
e
BEES
field_31311
BEES_KEY
static final List<String>
f
IGNORED_BEE_TAGS
field_33570
IRRELEVANT_BEE_NBT_KEYS
public static final int
a
MAX_OCCUPANTS
field_31312
MAX_BEE_COUNT
private static final int
g
MIN_TICKS_BEFORE_REENTERING_HIVE
field_31314
ANGERED_CANNOT_ENTER_HIVE_TICKS
private static final int
h
MIN_OCCUPATION_TICKS_NECTAR
field_31315
MIN_OCCUPATION_TICKS_WITH_NECTAR
public static final int
b
MIN_OCCUPATION_TICKS_NECTARLESS
field_31313
MIN_OCCUPATION_TICKS_WITHOUT_NECTAR
private final List<BeehiveBlockEntity$BeeData>
i
stored
field_20423
bees
private BlockPos
j
savedFlowerPos
field_20424
flowerPos

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public void
e()
setChanged()
method_5431()
markDirty()
public boolean
b()
isFireNearby()
method_23280()
isNearFire()
public boolean
c()
isEmpty()
method_22400()
hasNoBees()
public boolean
d()
isFull()
method_21856()
isFullOfBees()
public void
a(cpx arg0, dxv arg1, duu$b arg2)
emptyAllLivingFromHive(Player arg0, BlockState arg1, BeehiveBlockEntity$BeeReleaseStatus arg2)
method_21850(class_1657 arg0, class_2680 arg1, class_4482$class_4484 arg2)
angerBees(PlayerEntity player, BlockState state, BeehiveBlockEntity$BeeState beeState)
private List<Entity>
a(dxv arg0, duu$b arg1)
releaseAllOccupants(BlockState arg0, BeehiveBlockEntity$BeeReleaseStatus arg1)
method_21852(class_2680 arg0, class_4482$class_4484 arg1)
tryReleaseBee(BlockState state, BeehiveBlockEntity$BeeState beeState)
public int
f()
getOccupantCount()
method_23903()
getBeeCount()
public static int
a(dxv arg0)
getHoneyLevel(BlockState arg0)
method_23902(class_2680 arg0)
getHoneyLevel(BlockState state)
public boolean
j()
isSedated()
method_23904()
isSmoked()
public void
a(bvk arg0)
addOccupant(Entity arg0)
method_21848(class_1297 arg0)
tryEnterHive(Entity entity)
public void
a(duu$c arg0)
storeBee(BeehiveBlockEntity$Occupant arg0)
method_35292(class_4482$class_9309 arg0)
addBee(BeehiveBlockEntity$BeeData bee)
private static boolean
a(dhi arg0, jh arg1, dxv arg2, duu$c arg3, List<bvk> arg4, duu$b arg5, jh 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)
releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity$BeeData bee, List<Entity> entities, BeehiveBlockEntity$BeeState beeState, BlockPos flowerPos)
private boolean
k()
hasSavedFlowerPos()
method_21857()
hasFlowerPos()
private static void
a(dhi arg0, jh arg1, dxv arg2, List<duu$a> arg3, jh 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)
tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity$Bee> bees, BlockPos flowerPos)
public static void
a(dhi arg0, jh arg1, dxv arg2, duu arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, BeehiveBlockEntity arg3)
method_31656(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_4482 arg3)
serverTick(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity)
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
a(dux$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kq$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(ux arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
private List<BeehiveBlockEntity$Occupant>
t()
getBees()
method_57580()
createBeesData()