Class WanderingTraderEntity.MoveToGoal

    • Field Detail

      • stopDistance

        final double stopDistance
      • speedModifier

        final double speedModifier
    • Constructor Detail

    • Method Detail

      • stop

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

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

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

        private boolean isTooFarAway​(BlockPos p_220846_1_,
                                     double p_220846_2_)