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
Modifier and TypeFieldDescriptionprivate int
private PlayerEntity
private final double
private static final EntityPredicate
private final TurtleEntity
-
Constructor Summary
ConstructorDescriptionPlayerTemptGoal
(TurtleEntity p_i48812_1_, double p_i48812_2_, Item p_i48812_4_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
private boolean
shouldFollowItem
(ItemStack p_203131_1_) void
stop()
void
tick()
-
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