Class GolemRandomStrollInVillageGoal


public class GolemRandomStrollInVillageGoal extends RandomStrollGoal
  • Field Details

  • Constructor Details

    • GolemRandomStrollInVillageGoal

      public GolemRandomStrollInVillageGoal(PathfinderMob p_25398_, double p_25399_)
  • Method Details

    • getPosition

      protected @Nullable Vec3 getPosition()
      Overrides:
      getPosition in class RandomStrollGoal
    • getPositionTowardsAnywhere

      private @Nullable Vec3 getPositionTowardsAnywhere()
    • getPositionTowardsVillagerWhoWantsGolem

      private @Nullable Vec3 getPositionTowardsVillagerWhoWantsGolem()
    • getPositionTowardsPoi

      private @Nullable Vec3 getPositionTowardsPoi()
    • getRandomVillageSection

      private @Nullable SectionPos getRandomVillageSection()
    • getRandomPoiWithinSection

      private @Nullable BlockPos getRandomPoiWithinSection(SectionPos pSectionPos)
    • doesVillagerWantGolem

      private boolean doesVillagerWantGolem(Villager pVillager)