Class TurtleEntity.PlayerTemptGoal

  • Enclosing class:
    TurtleEntity

    static class TurtleEntity.PlayerTemptGoal
    extends Goal
    • Field Detail

      • speedModifier

        private final double speedModifier
      • calmDown

        private int calmDown
      • items

        private final java.util.Set<Item> items
    • Constructor Detail

      • PlayerTemptGoal

        PlayerTemptGoal​(TurtleEntity p_i48812_1_,
                        double p_i48812_2_,
                        Item p_i48812_4_)
    • Method Detail

      • canUse

        public boolean canUse()
        Specified by:
        canUse in class Goal
      • shouldFollowItem

        private boolean shouldFollowItem​(ItemStack p_203131_1_)
      • stop

        public void stop()
        Overrides:
        stop in class Goal
      • tick

        public void tick()
        Overrides:
        tick in class Goal