Class MoveThroughVillageAtNightGoal

    • Field Detail

      • interval

        private final int interval
      • wantedPos

        @Nullable
        private BlockPos wantedPos
    • Constructor Detail

      • MoveThroughVillageAtNightGoal

        public MoveThroughVillageAtNightGoal​(CreatureEntity p_i50321_1_,
                                             int p_i50321_2_)
    • Method Detail

      • canUse

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

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

        private void moveRandomly()