Class TemptGoal

    • Field Detail

      • speedModifier

        private final double speedModifier
      • px

        private double px
      • py

        private double py
      • pz

        private double pz
      • pRotX

        private double pRotX
      • pRotY

        private double pRotY
      • calmDown

        private int calmDown
      • isRunning

        private boolean isRunning
      • canScare

        private final boolean canScare
    • Constructor Detail

      • TemptGoal

        public TemptGoal​(CreatureEntity p_i47822_1_,
                         double p_i47822_2_,
                         Ingredient p_i47822_4_,
                         boolean p_i47822_5_)
      • TemptGoal

        public TemptGoal​(CreatureEntity p_i47823_1_,
                         double p_i47823_2_,
                         boolean p_i47823_4_,
                         Ingredient p_i47823_5_)
    • Method Detail

      • canUse

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

        protected boolean shouldFollowItem​(ItemStack p_188508_1_)
      • canScare

        protected boolean canScare()
      • start

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

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

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

        public boolean isRunning()