类 TemptGoal

    • 字段详细资料

      • TEMPTING_ENTITY_PREDICATE

        private static final TargetPredicate TEMPTING_ENTITY_PREDICATE
        Mappings:
        Namespace Name Mixin selector
        official c Lazx;c:Lbcb;
        intermediary field_18090 Lnet/minecraft/class_1391;field_18090:Lnet/minecraft/class_4051;
        named TEMPTING_ENTITY_PREDICATE Lnet/minecraft/entity/ai/goal/TemptGoal;TEMPTING_ENTITY_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
      • predicate

        private final TargetPredicate predicate
        Mappings:
        Namespace Name Mixin selector
        official d Lazx;d:Lbcb;
        intermediary field_28404 Lnet/minecraft/class_1391;field_28404:Lnet/minecraft/class_4051;
        named predicate Lnet/minecraft/entity/ai/goal/TemptGoal;predicate:Lnet/minecraft/entity/ai/TargetPredicate;
      • mob

        protected final PathAwareEntity mob
        Mappings:
        Namespace Name Mixin selector
        official a Lazx;a:Latg;
        intermediary field_6616 Lnet/minecraft/class_1391;field_6616:Lnet/minecraft/class_1314;
        named mob Lnet/minecraft/entity/ai/goal/TemptGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      • speed

        private final double speed
        Mappings:
        Namespace Name Mixin selector
        official e Lazx;e:D
        intermediary field_6615 Lnet/minecraft/class_1391;field_6615:D
        named speed Lnet/minecraft/entity/ai/goal/TemptGoal;speed:D
      • lastPlayerX

        private double lastPlayerX
        Mappings:
        Namespace Name Mixin selector
        official f Lazx;f:D
        intermediary field_6614 Lnet/minecraft/class_1391;field_6614:D
        named lastPlayerX Lnet/minecraft/entity/ai/goal/TemptGoal;lastPlayerX:D
      • lastPlayerY

        private double lastPlayerY
        Mappings:
        Namespace Name Mixin selector
        official g Lazx;g:D
        intermediary field_6611 Lnet/minecraft/class_1391;field_6611:D
        named lastPlayerY Lnet/minecraft/entity/ai/goal/TemptGoal;lastPlayerY:D
      • lastPlayerZ

        private double lastPlayerZ
        Mappings:
        Namespace Name Mixin selector
        official h Lazx;h:D
        intermediary field_6621 Lnet/minecraft/class_1391;field_6621:D
        named lastPlayerZ Lnet/minecraft/entity/ai/goal/TemptGoal;lastPlayerZ:D
      • lastPlayerPitch

        private double lastPlayerPitch
        Mappings:
        Namespace Name Mixin selector
        official i Lazx;i:D
        intermediary field_6619 Lnet/minecraft/class_1391;field_6619:D
        named lastPlayerPitch Lnet/minecraft/entity/ai/goal/TemptGoal;lastPlayerPitch:D
      • lastPlayerYaw

        private double lastPlayerYaw
        Mappings:
        Namespace Name Mixin selector
        official j Lazx;j:D
        intermediary field_6618 Lnet/minecraft/class_1391;field_6618:D
        named lastPlayerYaw Lnet/minecraft/entity/ai/goal/TemptGoal;lastPlayerYaw:D
      • closestPlayer

        protected PlayerEntity closestPlayer
        Mappings:
        Namespace Name Mixin selector
        official b Lazx;b:Lbjf;
        intermediary field_6617 Lnet/minecraft/class_1391;field_6617:Lnet/minecraft/class_1657;
        named closestPlayer Lnet/minecraft/entity/ai/goal/TemptGoal;closestPlayer:Lnet/minecraft/entity/player/PlayerEntity;
      • cooldown

        private int cooldown
        Mappings:
        Namespace Name Mixin selector
        official k Lazx;k:I
        intermediary field_6612 Lnet/minecraft/class_1391;field_6612:I
        named cooldown Lnet/minecraft/entity/ai/goal/TemptGoal;cooldown:I
      • active

        private boolean active
        Mappings:
        Namespace Name Mixin selector
        official l Lazx;l:Z
        intermediary field_6613 Lnet/minecraft/class_1391;field_6613:Z
        named active Lnet/minecraft/entity/ai/goal/TemptGoal;active:Z
      • food

        private final Ingredient food
        Mappings:
        Namespace Name Mixin selector
        official m Lazx;m:Lbsg;
        intermediary field_6622 Lnet/minecraft/class_1391;field_6622:Lnet/minecraft/class_1856;
        named food Lnet/minecraft/entity/ai/goal/TemptGoal;food:Lnet/minecraft/recipe/Ingredient;
      • canBeScared

        private final boolean canBeScared
        Mappings:
        Namespace Name Mixin selector
        official n Lazx;n:Z
        intermediary field_6620 Lnet/minecraft/class_1391;field_6620:Z
        named canBeScared Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared:Z
    • 构造器详细资料

      • TemptGoal

        public TemptGoal​(PathAwareEntity entity,
                         double speed,
                         Ingredient food,
                         boolean canBeScared)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazx;<init>(Latg;DLbsg;Z)V
        intermediary <init> Lnet/minecraft/class_1391;<init>(Lnet/minecraft/class_1314;DLnet/minecraft/class_1856;Z)V
        named <init> Lnet/minecraft/entity/ai/goal/TemptGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DLnet/minecraft/recipe/Ingredient;Z)V
    • 方法详细资料

      • canStart

        public boolean canStart()
        指定者:
        canStart 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official a Layq;a()Z
        intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
        named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      • isTemptedBy

        private boolean isTemptedBy​(LivingEntity entity)
        Mappings:
        Namespace Name Mixin selector
        official a Lazx;a(Lasy;)Z
        intermediary method_6312 Lnet/minecraft/class_1391;method_6312(Lnet/minecraft/class_1309;)Z
        named isTemptedBy Lnet/minecraft/entity/ai/goal/TemptGoal;isTemptedBy(Lnet/minecraft/entity/LivingEntity;)Z
      • shouldContinue

        public boolean shouldContinue()
        覆盖:
        shouldContinue 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official b Layq;b()Z
        intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
        named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      • canBeScared

        protected boolean canBeScared()
        Mappings:
        Namespace Name Mixin selector
        official g Lazx;g()Z
        intermediary method_16081 Lnet/minecraft/class_1391;method_16081()Z
        named canBeScared Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
      • start

        public void start()
        覆盖:
        start 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official c Layq;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()
        覆盖:
        stop 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official d Layq;d()V
        intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
        named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      • tick

        public void tick()
        覆盖:
        tick 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official e Layq;e()V
        intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
        named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      • isActive

        public boolean isActive()
        Mappings:
        Namespace Name Mixin selector
        official h Lazx;h()Z
        intermediary method_6313 Lnet/minecraft/class_1391;method_6313()Z
        named isActive Lnet/minecraft/entity/ai/goal/TemptGoal;isActive()Z