Class ExpandBeehiveBlockEntity.ExpandBeehiveBlockEntityOccupant
java.lang.Object
com.blamejared.crafttweaker.natives.block.entity.type.ExpandBeehiveBlockEntity.ExpandBeehiveBlockEntityOccupant
- Enclosing class:
ExpandBeehiveBlockEntity
@ZenRegister
public static class ExpandBeehiveBlockEntity.ExpandBeehiveBlockEntityOccupant
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupantcreate(int ticksInHive) Creates a new occupant for a beehive.static net.minecraft.world.entity.EntitycreateEntity(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Creates an entity for the occupant.static net.minecraft.world.item.component.CustomDataentityData(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal) Gets the entity data for the occupant.static intminTicksInHive(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal) Gets the minimum number of ticks the occupant has been in the hive.static net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupantof(net.minecraft.world.entity.Entity entity) Creates a new occupant for a beehive.static intticksInHive(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal) Gets the number of ticks the occupant has been in the hive.
-
Constructor Details
-
ExpandBeehiveBlockEntityOccupant
public ExpandBeehiveBlockEntityOccupant()
-
-
Method Details
-
of
public static net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant of(net.minecraft.world.entity.Entity entity) Creates a new occupant for a beehive.- Parameters:
entity- The entity to create the occupant for.- Returns:
- The new occupant.
-
create
public static net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant create(int ticksInHive) Creates a new occupant for a beehive.- Parameters:
ticksInHive- The number of ticks the occupant has been in the hive.- Returns:
- The new occupant.
-
createEntity
public static net.minecraft.world.entity.Entity createEntity(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Creates an entity for the occupant.- Parameters:
level- The level to create the entity in.pos- The position to create the entity at.- Returns:
- The new entity.
-
entityData
public static net.minecraft.world.item.component.CustomData entityData(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal) Gets the entity data for the occupant.- Returns:
- The entity data for the occupant.
-
ticksInHive
public static int ticksInHive(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal) Gets the number of ticks the occupant has been in the hive.- Returns:
- The number of ticks the occupant has been in the hive.
-
minTicksInHive
public static int minTicksInHive(net.minecraft.world.level.block.entity.BeehiveBlockEntity.Occupant internal) Gets the minimum number of ticks the occupant has been in the hive.- Returns:
- The minimum number of ticks the occupant has been in the hive.
-