Class TargetGoal

    • Field Detail

      • mustSee

        protected final boolean mustSee
      • mustReach

        private final boolean mustReach
      • reachCache

        private int reachCache
      • reachCacheTime

        private int reachCacheTime
      • unseenTicks

        private int unseenTicks
      • unseenMemoryTicks

        protected int unseenMemoryTicks
    • Constructor Detail

      • TargetGoal

        public TargetGoal​(MobEntity p_i50308_1_,
                          boolean p_i50308_2_)
      • TargetGoal

        public TargetGoal​(MobEntity p_i50309_1_,
                          boolean p_i50309_2_,
                          boolean p_i50309_3_)
    • Method Detail

      • getFollowDistance

        protected double getFollowDistance()
      • start

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

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

        private boolean canReach​(LivingEntity p_75295_1_)
      • setUnseenMemoryTicks

        public TargetGoal setUnseenMemoryTicks​(int p_190882_1_)