Class AbstractRaiderEntity.InvadeHomeGoal

    • Field Detail

      • speedModifier

        private final double speedModifier
      • visited

        private final java.util.List<BlockPos> visited
      • distanceToPoi

        private final int distanceToPoi
      • stuck

        private boolean stuck
    • Constructor Detail

      • InvadeHomeGoal

        public InvadeHomeGoal​(AbstractRaiderEntity p_i50570_1_,
                              double p_i50570_2_,
                              int p_i50570_4_)
    • Method Detail

      • canUse

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

        private boolean isValidRaid()
      • hasSuitablePoi

        private boolean hasSuitablePoi()
      • stop

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

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

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

        private boolean hasNotVisited​(BlockPos p_220860_1_)
      • updateVisited

        private void updateVisited()