Class CatEntity.TemptGoal

Enclosing class:
CatEntity

private static class CatEntity.TemptGoal extends TemptGoal
Mappings:
Namespace Name
named net/minecraft/entity/passive/CatEntity$TemptGoal
intermediary net/minecraft/class_1451$class_3700
official cfh$c
  • Field Details

    • player

      Mappings:
      Namespace Name Mixin selector
      named player Lnet/minecraft/entity/passive/CatEntity$TemptGoal;player:Lnet/minecraft/entity/player/PlayerEntity;
      intermediary field_16298 Lnet/minecraft/class_1451$class_3700;field_16298:Lnet/minecraft/class_1657;
      official c Lcfh$c;c:Lcmx;
    • cat

      private final CatEntity cat
      Mappings:
      Namespace Name Mixin selector
      named cat Lnet/minecraft/entity/passive/CatEntity$TemptGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
      intermediary field_17948 Lnet/minecraft/class_1451$class_3700;field_17948:Lnet/minecraft/class_1451;
      official d Lcfh$c;d:Lcfh;
  • Constructor Details

    • TemptGoal

      public TemptGoal(CatEntity cat, double speed, Predicate<ItemStack> foodPredicate, boolean canBeScared)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/CatEntity$TemptGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DLjava/util/function/Predicate;Z)V
      intermediary <init> Lnet/minecraft/class_1451$class_3700;<init>(Lnet/minecraft/class_1451;DLjava/util/function/Predicate;Z)V
      official <init> Lcfh$c;<init>(Lcfh;DLjava/util/function/Predicate;Z)V
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class TemptGoal
      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
    • canBeScared

      protected boolean canBeScared()
      Overrides:
      canBeScared in class TemptGoal
      Mappings:
      Namespace Name Mixin selector
      named canBeScared Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
      intermediary method_16081 Lnet/minecraft/class_1391;method_16081()Z
      official h Lcbu;h()Z
    • canStart

      public boolean canStart()
      Overrides:
      canStart in class TemptGoal
      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