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
-
-
Field Summary
Fields Modifier and Type Field Description private CatEntity
cat
private PlayerEntity
selectedPlayer
-
Constructor Summary
Constructors Constructor Description TemptGoal(CatEntity p_i50438_1_, double p_i50438_2_, Ingredient p_i50438_4_, boolean p_i50438_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canScare()
boolean
canUse()
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
canContinueToUse, isRunning, shouldFollowItem, start, stop
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
selectedPlayer
@Nullable private PlayerEntity selectedPlayer
-
cat
private final CatEntity cat
-
-
Constructor Detail
-
TemptGoal
public TemptGoal(CatEntity p_i50438_1_, double p_i50438_2_, Ingredient p_i50438_4_, boolean p_i50438_5_)
-
-