Class CatEntity.SleepWithOwnerGoal

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

private static class CatEntity.SleepWithOwnerGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal
intermediary net/minecraft/class_1451$class_3699
official cfh$b
  • Field Details

    • cat

      private final CatEntity cat
      Mappings:
      Namespace Name Mixin selector
      named cat Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
      intermediary field_16297 Lnet/minecraft/class_1451$class_3699;field_16297:Lnet/minecraft/class_1451;
      official a Lcfh$b;a:Lcfh;
    • owner

      Mappings:
      Namespace Name Mixin selector
      named owner Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;owner:Lnet/minecraft/entity/player/PlayerEntity;
      intermediary field_16295 Lnet/minecraft/class_1451$class_3699;field_16295:Lnet/minecraft/class_1657;
      official b Lcfh$b;b:Lcmx;
    • bedPos

      @Nullable private @Nullable BlockPos bedPos
      Mappings:
      Namespace Name Mixin selector
      named bedPos Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;bedPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_16294 Lnet/minecraft/class_1451$class_3699;field_16294:Lnet/minecraft/class_2338;
      official c Lcfh$b;c:Ljd;
    • ticksOnBed

      private int ticksOnBed
      Mappings:
      Namespace Name Mixin selector
      named ticksOnBed Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;ticksOnBed:I
      intermediary field_16296 Lnet/minecraft/class_1451$class_3699;field_16296:I
      official d Lcfh$b;d:I
  • Constructor Details

    • SleepWithOwnerGoal

      public SleepWithOwnerGoal(CatEntity cat)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;)V
      intermediary <init> Lnet/minecraft/class_1451$class_3699;<init>(Lnet/minecraft/class_1451;)V
      official <init> Lcfh$b;<init>(Lcfh;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcam;b()Z
    • cannotSleep

      private boolean cannotSleep()
      Mappings:
      Namespace Name Mixin selector
      named cannotSleep Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;cannotSleep()Z
      intermediary method_16098 Lnet/minecraft/class_1451$class_3699;method_16098()Z
      official h Lcfh$b;h()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcam;c()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official d Lcam;d()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official e Lcam;e()V
    • dropMorningGifts

      private void dropMorningGifts()
      Mappings:
      Namespace Name Mixin selector
      named dropMorningGifts Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;dropMorningGifts()V
      intermediary method_16097 Lnet/minecraft/class_1451$class_3699;method_16097()V
      official i Lcfh$b;i()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lcam;a()V