Package net.minecraft.entity.mob
Class DrownedEntity.DrownedAttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.ai.goal.ZombieAttackGoal
net.minecraft.entity.mob.DrownedEntity.DrownedAttackGoal
- Enclosing class:
- DrownedEntity
static class DrownedEntity.DrownedAttackGoal extends ZombieAttackGoal
- Mappings:
Namespace Name official bgn$aintermediary net/minecraft/class_1551$class_1552named net/minecraft/entity/mob/DrownedEntity$DrownedAttackGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields Modifier and Type Field Description private DrownedEntitydrownedFields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob -
Constructor Summary
Constructors Constructor Description DrownedAttackGoal(DrownedEntity drowned, double speed, boolean pauseWhenMobIdle) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()Methods inherited from class net.minecraft.entity.ai.goal.ZombieAttackGoal
start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, getCooldown, getMaxCooldown, getSquaredMaxAttackDistance, isCooledDown, setMaxCooldownMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
drowned
- Mappings:
Namespace Name Mixin selector official bLbgn$a;b:Lbgn;intermediary field_7235Lnet/minecraft/class_1551$class_1552;field_7235:Lnet/minecraft/class_1551;named drownedLnet/minecraft/entity/mob/DrownedEntity$DrownedAttackGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
-
-
Constructor Details
-
DrownedAttackGoal
- Mappings:
Namespace Name Mixin selector official <init>Lbgn$a;<init>(Lbgn;DZ)Vintermediary <init>Lnet/minecraft/class_1551$class_1552;<init>(Lnet/minecraft/class_1551;DZ)Vnamed <init>Lnet/minecraft/entity/mob/DrownedEntity$DrownedAttackGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;DZ)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLayq;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector official bLayq;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-