类 SpiderEntity.AttackGoal

  • 封闭类:
    SpiderEntity

    static class SpiderEntity.AttackGoal
    extends MeleeAttackGoal
    Mappings:
    Namespace Name
    official bhk$a
    intermediary net/minecraft/class_1628$class_1629
    named net/minecraft/entity/mob/SpiderEntity$AttackGoal
    • 构造器详细资料

      • AttackGoal

        public AttackGoal​(SpiderEntity spider)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbhk$a;<init>(Lbhk;)V
        intermediary <init> Lnet/minecraft/class_1628$class_1629;<init>(Lnet/minecraft/class_1628;)V
        named <init> Lnet/minecraft/entity/mob/SpiderEntity$AttackGoal;<init>(Lnet/minecraft/entity/mob/SpiderEntity;)V
    • 方法详细资料

      • canStart

        public boolean canStart()
        覆盖:
        canStart 在类中 MeleeAttackGoal
        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 在类中 MeleeAttackGoal
        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
      • getSquaredMaxAttackDistance

        protected double getSquaredMaxAttackDistance​(LivingEntity entity)
        覆盖:
        getSquaredMaxAttackDistance 在类中 MeleeAttackGoal
        Mappings:
        Namespace Name Mixin selector
        official a Laza;a(Lasy;)D
        intermediary method_6289 Lnet/minecraft/class_1366;method_6289(Lnet/minecraft/class_1309;)D
        named getSquaredMaxAttackDistance Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;getSquaredMaxAttackDistance(Lnet/minecraft/entity/LivingEntity;)D