Package net.minecraft.entity.passive
Class TurtleEntity.PlayerTemptGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.TurtleEntity.PlayerTemptGoal
- Enclosing class:
- TurtleEntity
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate PlayerEntityprivate final doubleprivate static final EntityPredicateprivate final TurtleEntity -
Constructor Summary
ConstructorsConstructorDescriptionPlayerTemptGoal(TurtleEntity p_i48812_1_, double p_i48812_2_, Item p_i48812_4_) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanUse()private booleanshouldFollowItem(ItemStack p_203131_1_) voidstop()voidtick()
-
Field Details
-
TEMPT_TARGETING
-
turtle
-
speedModifier
private final double speedModifier -
player
-
calmDown
private int calmDown -
items
-
-
Constructor Details
-
PlayerTemptGoal
PlayerTemptGoal(TurtleEntity p_i48812_1_, double p_i48812_2_, Item p_i48812_4_)
-
-
Method Details