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
official bro$b
intermediary net/minecraft/class_1451$class_3699
named net/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal
  • Field Details

    • cat

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

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

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

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

    • SleepWithOwnerGoal

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

    • canStart

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

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

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

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

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

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

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