Package net.minecraft.entity.passive
Class CatEntity.TemptGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.passive.CatEntity.TemptGoal
- Enclosing class:
- CatEntity
static class CatEntity.TemptGoal extends TemptGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private CatEntity
cat
private PlayerEntity
player
Fields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob
-
Constructor Summary
Constructors Constructor Description TemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared)
-
Method Summary
Modifier and Type Method Description protected boolean
canBeScared()
boolean
canStart()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
isActive, isTemptedBy, shouldContinue, start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString