Package net.minecraft.block.entity
Class BeehiveBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BeehiveBlockEntity
public class BeehiveBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cfointermediary net/minecraft/class_4482named net/minecraft/block/entity/BeehiveBlockEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classBeehiveBlockEntity.Beestatic classBeehiveBlockEntity.BeeState -
Field Summary
Fields Modifier and Type Field Description private List<BeehiveBlockEntity.Bee>beesprivate BlockPosflowerPosFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description BeehiveBlockEntity(BlockPos pos, BlockState state) -
Method Summary
Modifier and Type Method Description private static voidageBee(int int2, BeeEntity beeEntity)voidangerBees(PlayerEntity player, BlockState state, BeehiveBlockEntity.BeeState beeState)voidfromTag(CompoundTag tag)intgetBeeCount()ListTaggetBees()static intgetHoneyLevel(BlockState state)private booleanhasFlowerPos()booleanhasNoBees()booleanisFullOfBees()booleanisNearFire()booleanisSmoked()voidmarkDirty()private static booleanreleaseBee(World world, BlockPos blockPos, BlockState blockState, BeehiveBlockEntity.Bee bee, List<Entity> list, BeehiveBlockEntity.BeeState beeState, BlockPos blockPos2)static voidserverTick(World world, BlockPos blockPos, BlockState blockState, BeehiveBlockEntity beehiveBlockEntity)private static voidtickBees(World world, BlockPos blockPos, BlockState blockState, List<BeehiveBlockEntity.Bee> list, BlockPos blockPos2)CompoundTagtoTag(CompoundTag tag)voidtryEnterHive(Entity entity, boolean hasNectar)voidtryEnterHive(Entity entity, boolean hasNectar, int ticksInHive)private List<Entity>tryReleaseBee(BlockState state, BeehiveBlockEntity.BeeState beeState)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toUpdatePacket
-
Field Details
-
bees
- Mappings:
Namespace Name Mixin selector official aLcfo;a:Ljava/util/List;intermediary field_20423Lnet/minecraft/class_4482;field_20423:Ljava/util/List;named beesLnet/minecraft/block/entity/BeehiveBlockEntity;bees:Ljava/util/List;
-
flowerPos
- Mappings:
Namespace Name Mixin selector official bLcfo;b:Lfx;intermediary field_20424Lnet/minecraft/class_4482;field_20424:Lnet/minecraft/class_2338;named flowerPosLnet/minecraft/block/entity/BeehiveBlockEntity;flowerPos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BeehiveBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcfo;<init>(Lfx;Lcht;)Vintermediary <init>Lnet/minecraft/class_4482;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/BeehiveBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
markDirty
public void markDirty()- Overrides:
markDirtyin classBlockEntity- Mappings:
Namespace Name Mixin selector official Y_Lcfr;Y_()Vintermediary method_5431Lnet/minecraft/class_2586;method_5431()Vnamed markDirtyLnet/minecraft/block/entity/BlockEntity;markDirty()V
-
isNearFire
public boolean isNearFire()- Mappings:
Namespace Name Mixin selector official dLcfo;d()Zintermediary method_23280Lnet/minecraft/class_4482;method_23280()Znamed isNearFireLnet/minecraft/block/entity/BeehiveBlockEntity;isNearFire()Z
-
hasNoBees
public boolean hasNoBees()- Mappings:
Namespace Name Mixin selector official fLcfo;f()Zintermediary method_22400Lnet/minecraft/class_4482;method_22400()Znamed hasNoBeesLnet/minecraft/block/entity/BeehiveBlockEntity;hasNoBees()Z
-
isFullOfBees
public boolean isFullOfBees()- Mappings:
Namespace Name Mixin selector official hLcfo;h()Zintermediary method_21856Lnet/minecraft/class_4482;method_21856()Znamed isFullOfBeesLnet/minecraft/block/entity/BeehiveBlockEntity;isFullOfBees()Z
-
angerBees
public void angerBees(@Nullable PlayerEntity player, BlockState state, BeehiveBlockEntity.BeeState beeState)- Mappings:
Namespace Name Mixin selector official aLcfo;a(Lbhl;Lcht;Lcfo$b;)Vintermediary method_21850Lnet/minecraft/class_4482;method_21850(Lnet/minecraft/class_1657;Lnet/minecraft/class_2680;Lnet/minecraft/class_4482$class_4484;)Vnamed angerBeesLnet/minecraft/block/entity/BeehiveBlockEntity;angerBees(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BeehiveBlockEntity$BeeState;)V
-
tryReleaseBee
- Mappings:
Namespace Name Mixin selector official aLcfo;a(Lcht;Lcfo$b;)Ljava/util/List;intermediary method_21852Lnet/minecraft/class_4482;method_21852(Lnet/minecraft/class_2680;Lnet/minecraft/class_4482$class_4484;)Ljava/util/List;named tryReleaseBeeLnet/minecraft/block/entity/BeehiveBlockEntity;tryReleaseBee(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BeehiveBlockEntity$BeeState;)Ljava/util/List;
-
tryEnterHive
- Mappings:
Namespace Name Mixin selector official aLcfo;a(Laqv;Z)Vintermediary method_21848Lnet/minecraft/class_4482;method_21848(Lnet/minecraft/class_1297;Z)Vnamed tryEnterHiveLnet/minecraft/block/entity/BeehiveBlockEntity;tryEnterHive(Lnet/minecraft/entity/Entity;Z)V
-
getBeeCount
public int getBeeCount()- Mappings:
Namespace Name Mixin selector official iLcfo;i()Iintermediary method_23903Lnet/minecraft/class_4482;method_23903()Inamed getBeeCountLnet/minecraft/block/entity/BeehiveBlockEntity;getBeeCount()I
-
getHoneyLevel
- Mappings:
Namespace Name Mixin selector official aLcfo;a(Lcht;)Iintermediary method_23902Lnet/minecraft/class_4482;method_23902(Lnet/minecraft/class_2680;)Inamed getHoneyLevelLnet/minecraft/block/entity/BeehiveBlockEntity;getHoneyLevel(Lnet/minecraft/block/BlockState;)I
-
isSmoked
public boolean isSmoked()- Mappings:
Namespace Name Mixin selector official jLcfo;j()Zintermediary method_23904Lnet/minecraft/class_4482;method_23904()Znamed isSmokedLnet/minecraft/block/entity/BeehiveBlockEntity;isSmoked()Z
-
tryEnterHive
- Mappings:
Namespace Name Mixin selector official aLcfo;a(Laqv;ZI)Vintermediary method_21849Lnet/minecraft/class_4482;method_21849(Lnet/minecraft/class_1297;ZI)Vnamed tryEnterHiveLnet/minecraft/block/entity/BeehiveBlockEntity;tryEnterHive(Lnet/minecraft/entity/Entity;ZI)V
-
releaseBee
private static boolean releaseBee(World world, BlockPos blockPos, BlockState blockState, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> list, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos blockPos2)- Mappings:
Namespace Name Mixin selector official aLcfo;a(Lbtv;Lfx;Lcht;Lcfo$a;Ljava/util/List;Lcfo$b;Lfx;)Zintermediary method_21855Lnet/minecraft/class_4482;method_21855(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_4482$class_4483;Ljava/util/List;Lnet/minecraft/class_4482$class_4484;Lnet/minecraft/class_2338;)Znamed releaseBeeLnet/minecraft/block/entity/BeehiveBlockEntity;releaseBee(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BeehiveBlockEntity$Bee;Ljava/util/List;Lnet/minecraft/block/entity/BeehiveBlockEntity$BeeState;Lnet/minecraft/util/math/BlockPos;)Z
-
ageBee
- Mappings:
Namespace Name Mixin selector official aLcfo;a(ILbbk;)Vintermediary method_29562Lnet/minecraft/class_4482;method_29562(ILnet/minecraft/class_4466;)Vnamed ageBeeLnet/minecraft/block/entity/BeehiveBlockEntity;ageBee(ILnet/minecraft/entity/passive/BeeEntity;)V
-
hasFlowerPos
private boolean hasFlowerPos()- Mappings:
Namespace Name Mixin selector official tLcfo;t()Zintermediary method_21857Lnet/minecraft/class_4482;method_21857()Znamed hasFlowerPosLnet/minecraft/block/entity/BeehiveBlockEntity;hasFlowerPos()Z
-
tickBees
private static void tickBees(World world, BlockPos blockPos, BlockState blockState, List<BeehiveBlockEntity.Bee> list, @Nullable BlockPos blockPos2)- Mappings:
Namespace Name Mixin selector official aLcfo;a(Lbtv;Lfx;Lcht;Ljava/util/List;Lfx;)Vintermediary method_21858Lnet/minecraft/class_4482;method_21858(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Ljava/util/List;Lnet/minecraft/class_2338;)Vnamed tickBeesLnet/minecraft/block/entity/BeehiveBlockEntity;tickBees(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/List;Lnet/minecraft/util/math/BlockPos;)V
-
serverTick
public static void serverTick(World world, BlockPos blockPos, BlockState blockState, BeehiveBlockEntity beehiveBlockEntity)- Mappings:
Namespace Name Mixin selector official aLcfo;a(Lbtv;Lfx;Lcht;Lcfo;)Vintermediary method_31656Lnet/minecraft/class_4482;method_31656(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_4482;)Vnamed serverTickLnet/minecraft/block/entity/BeehiveBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BeehiveBlockEntity;)V
-
fromTag
- Overrides:
fromTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lmq;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed fromTagLnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Overrides:
toTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfr;b(Lmq;)Lmq;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toTagLnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getBees
- Mappings:
Namespace Name Mixin selector official kLcfo;k()Lmw;intermediary method_21859Lnet/minecraft/class_4482;method_21859()Lnet/minecraft/class_2499;named getBeesLnet/minecraft/block/entity/BeehiveBlockEntity;getBees()Lnet/minecraft/nbt/ListTag;
-