net.minecraft.world.level.block.entity

public class BeehiveBlockEntity

extends BlockEntity

dtx
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(coy arg0, dwy arg1, dtx$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(dwy arg0, dtx$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(dwy arg0)
getHoneyLevel(BlockState arg0)
method_23902(class_2680 arg0)
getHoneyLevel(BlockState state)
public boolean
j()
isSedated()
method_23904()
isSmoked()
public void
a(cha arg0)
addOccupant(Bee arg0)
method_21848(class_4466 arg0)
tryEnterHive(BeeEntity entity)
public void
a(dtx$c arg0)
storeBee(BeehiveBlockEntity$Occupant arg0)
method_35292(class_4482$class_9309 arg0)
addBee(BeehiveBlockEntity$BeeData bee)
private static boolean
a(dgj arg0, ji arg1, dwy arg2, dtx$c arg3, List<bum> arg4, dtx$b arg5, ji 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(dgj arg0, ji arg1, dwy arg2, List<dtx$a> arg3, ji 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(dgj arg0, ji arg1, dwy arg2, dtx 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(tq arg0, jt$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(tq arg0, jt$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(dua$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kr$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(tq arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
private List<BeehiveBlockEntity$Occupant>
s()
getBees()
method_57580()
createBeesData()