Class PatrolVillageGoal


public class PatrolVillageGoal extends RandomWalkingGoal
  • Constructor Details

    • PatrolVillageGoal

      public PatrolVillageGoal(CreatureEntity p_i231547_1_, double p_i231547_2_)
  • Method Details

    • getPosition

      @Nullable protected Vector3d getPosition()
      Overrides:
      getPosition in class RandomWalkingGoal
    • getPositionTowardsAnywhere

      @Nullable private Vector3d getPositionTowardsAnywhere()
    • getPositionTowardsVillagerWhoWantsGolem

      @Nullable private Vector3d getPositionTowardsVillagerWhoWantsGolem()
    • getPositionTowardsPoi

      @Nullable private Vector3d getPositionTowardsPoi()
    • getRandomVillageSection

      @Nullable private SectionPos getRandomVillageSection()
    • getRandomPoiWithinSection

      @Nullable private BlockPos getRandomPoiWithinSection(SectionPos p_234029_1_)
    • doesVillagerWantGolem

      private boolean doesVillagerWantGolem(VillagerEntity p_234028_1_)