类 HoldInHandsGoal<T extends MobEntity>


  • public class HoldInHandsGoal<T extends MobEntity>
    extends Goal
    Mappings:
    Namespace Name
    official baa
    intermediary net/minecraft/class_3993
    named net/minecraft/entity/ai/goal/HoldInHandsGoal
    • 字段详细资料

      • actor

        private final T extends MobEntity actor
        Mappings:
        Namespace Name Mixin selector
        official a Lbaa;a:Lasz;
        intermediary field_17755 Lnet/minecraft/class_3993;field_17755:Lnet/minecraft/class_1308;
        named actor Lnet/minecraft/entity/ai/goal/HoldInHandsGoal;actor:Lnet/minecraft/entity/mob/MobEntity;
      • item

        private final ItemStack item
        Mappings:
        Namespace Name Mixin selector
        official b Lbaa;b:Lbpr;
        intermediary field_17756 Lnet/minecraft/class_3993;field_17756:Lnet/minecraft/class_1799;
        named item Lnet/minecraft/entity/ai/goal/HoldInHandsGoal;item:Lnet/minecraft/item/ItemStack;
      • condition

        private final Predicate<? super T extends MobEntity> condition
        Mappings:
        Namespace Name Mixin selector
        official c Lbaa;c:Ljava/util/function/Predicate;
        intermediary field_17757 Lnet/minecraft/class_3993;field_17757:Ljava/util/function/Predicate;
        named condition Lnet/minecraft/entity/ai/goal/HoldInHandsGoal;condition:Ljava/util/function/Predicate;
      • sound

        private final SoundEvent sound
        Mappings:
        Namespace Name Mixin selector
        official d Lbaa;d:Laev;
        intermediary field_18280 Lnet/minecraft/class_3993;field_18280:Lnet/minecraft/class_3414;
        named sound Lnet/minecraft/entity/ai/goal/HoldInHandsGoal;sound:Lnet/minecraft/sound/SoundEvent;
    • 构造器详细资料

      • HoldInHandsGoal

        public HoldInHandsGoal​(T actor,
                               ItemStack item,
                               @Nullable
                               @Nullable SoundEvent sound,
                               Predicate<? super T> condition)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbaa;<init>(Lasz;Lbpr;Laev;Ljava/util/function/Predicate;)V
        intermediary <init> Lnet/minecraft/class_3993;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1799;Lnet/minecraft/class_3414;Ljava/util/function/Predicate;)V
        named <init> Lnet/minecraft/entity/ai/goal/HoldInHandsGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/sound/SoundEvent;Ljava/util/function/Predicate;)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
      • 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
      • 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