Class Raider.ObtainRaidLeaderBannerGoal<T extends Raider>

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.raid.Raider.ObtainRaidLeaderBannerGoal<T>
Enclosing class:
Raider

public class Raider.ObtainRaidLeaderBannerGoal<T extends Raider> extends Goal
  • Field Details

    • mob

      private final T extends Raider mob
    • unreachableBannerCache

      private it.unimi.dsi.fastutil.ints.Int2LongOpenHashMap unreachableBannerCache
    • pathToBanner

      @Nullable private Path pathToBanner
    • pursuedBannerItemEntity

      @Nullable private ItemEntity pursuedBannerItemEntity
  • Constructor Details

    • ObtainRaidLeaderBannerGoal

      public ObtainRaidLeaderBannerGoal(T p_37917_)
  • Method Details

    • canUse

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

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • cannotPickUpBanner

      private boolean cannotPickUpBanner()
    • start

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

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

      public void tick()
      Overrides:
      tick in class Goal