public class ApiaristAI
extends net.minecraft.entity.ai.EntityAIMoveToBlock
| Constructor and Description |
|---|
ApiaristAI(net.minecraft.entity.passive.EntityVillager villager,
double speed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasBeeType(EnumBeeType type) |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
void |
updateTask() |
getIsAboveDestination, shouldContinueExecuting, startExecutingpublic ApiaristAI(net.minecraft.entity.passive.EntityVillager villager,
double speed)
public boolean shouldExecute()
shouldExecute in class net.minecraft.entity.ai.EntityAIMoveToBlockpublic void updateTask()
updateTask in class net.minecraft.entity.ai.EntityAIMoveToBlockpublic boolean hasBeeType(EnumBeeType type)
protected boolean shouldMoveTo(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
shouldMoveTo in class net.minecraft.entity.ai.EntityAIMoveToBlock