public class AIButterflyMate extends AIButterflyInteract
restentity| Constructor and Description |
|---|
AIButterflyMate(EntityButterfly entity) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canInteract() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
updateTask() |
setHasInteracted, startExecutinggetRandomDestination, getRandomDestinationUpwardspublic AIButterflyMate(EntityButterfly entity)
protected boolean canInteract()
canInteract in class AIButterflyInteractpublic void updateTask()
updateTask in class net.minecraft.entity.ai.EntityAIBasepublic boolean shouldExecute()
shouldExecute in class AIButterflyInteractpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class AIButterflyInteractpublic void resetTask()
resetTask in class AIButterflyInteract