Package net.minecraft.entity.mob
Class SpiderEntity.AttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.mob.SpiderEntity.AttackGoal
- Enclosing class:
- SpiderEntity
static class SpiderEntity.AttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official bfq$a
intermediary net/minecraft/class_1628$class_1629
named net/minecraft/entity/mob/SpiderEntity$AttackGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
Constructors Constructor Description AttackGoal(SpiderEntity spider)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected double
getSquaredMaxAttackDistance(LivingEntity entity)
boolean
shouldContinue()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, method_28346, method_28347, method_28348, method_28349, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
AttackGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbfq$a;<init>(Lbfq;)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
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official a
Lawx;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()- Overrides:
shouldContinue
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
getSquaredMaxAttackDistance
- Overrides:
getSquaredMaxAttackDistance
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official a
Laxh;a(Lari;)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
-