类 AttackGoal


  • public class AttackGoal
    extends Goal
    Mappings:
    Namespace Name
    official azg
    intermediary net/minecraft/class_1371
    named net/minecraft/entity/ai/goal/AttackGoal
    • 字段详细资料

      • world

        private final BlockView world
        Mappings:
        Namespace Name Mixin selector
        official a Lazg;a:Lbuv;
        intermediary field_6538 Lnet/minecraft/class_1371;field_6538:Lnet/minecraft/class_1922;
        named world Lnet/minecraft/entity/ai/goal/AttackGoal;world:Lnet/minecraft/world/BlockView;
      • mob

        private final MobEntity mob
        Mappings:
        Namespace Name Mixin selector
        official b Lazg;b:Lasz;
        intermediary field_6541 Lnet/minecraft/class_1371;field_6541:Lnet/minecraft/class_1308;
        named mob Lnet/minecraft/entity/ai/goal/AttackGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
      • target

        private LivingEntity target
        Mappings:
        Namespace Name Mixin selector
        official c Lazg;c:Lasy;
        intermediary field_6539 Lnet/minecraft/class_1371;field_6539:Lnet/minecraft/class_1309;
        named target Lnet/minecraft/entity/ai/goal/AttackGoal;target:Lnet/minecraft/entity/LivingEntity;
      • cooldown

        private int cooldown
        Mappings:
        Namespace Name Mixin selector
        official d Lazg;d:I
        intermediary field_6540 Lnet/minecraft/class_1371;field_6540:I
        named cooldown Lnet/minecraft/entity/ai/goal/AttackGoal;cooldown:I
    • 构造器详细资料

      • AttackGoal

        public AttackGoal​(MobEntity mob)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazg;<init>(Lasz;)V
        intermediary <init> Lnet/minecraft/class_1371;<init>(Lnet/minecraft/class_1308;)V
        named <init> Lnet/minecraft/entity/ai/goal/AttackGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;)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
      • 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