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 CatEntitycatprivate PlayerEntityplayerFields 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 booleancanBeScared()booleancanStart()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
isActive, isTemptedBy, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString