Class CatEntity.MorningGiftGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.CatEntity.MorningGiftGoal
Enclosing class:
CatEntity

static class CatEntity.MorningGiftGoal extends Goal
  • Field Details

    • cat

      private final CatEntity cat
    • ownerPlayer

      private PlayerEntity ownerPlayer
    • goalPos

      private BlockPos goalPos
    • onBedTicks

      private int onBedTicks
  • Constructor Details

    • MorningGiftGoal

      public MorningGiftGoal(CatEntity p_i50439_1_)
  • Method Details

    • canUse

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

      private boolean spaceIsOccupied()
    • canContinueToUse

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

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

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

      private void giveMorningGift()
    • tick

      public void tick()
      Overrides:
      tick in class Goal