public abstract class AIButterflyInteract extends AIButterflyBase
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.math.BlockPos |
rest |
entity| Modifier | Constructor and Description |
|---|---|
protected |
AIButterflyInteract(EntityButterfly entity) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canInteract() |
void |
resetTask() |
protected void |
setHasInteracted() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getRandomDestination, getRandomDestinationUpwardsprotected AIButterflyInteract(EntityButterfly entity)
public boolean shouldExecute()
shouldExecute in class net.minecraft.entity.ai.EntityAIBaseprotected abstract boolean canInteract()
public boolean shouldContinueExecuting()
shouldContinueExecuting in class net.minecraft.entity.ai.EntityAIBasepublic void startExecuting()
startExecuting in class net.minecraft.entity.ai.EntityAIBasepublic void resetTask()
resetTask in class net.minecraft.entity.ai.EntityAIBaseprotected void setHasInteracted()