Package net.minecraft.entity.monster
Class DrownedEntity.TridentAttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.RangedAttackGoal
-
- net.minecraft.entity.monster.DrownedEntity.TridentAttackGoal
-
- Enclosing class:
- DrownedEntity
static class DrownedEntity.TridentAttackGoal extends RangedAttackGoal
-
-
Field Summary
Fields Modifier and Type Field Description private DrownedEntity
drowned
-
Constructor Summary
Constructors Constructor Description TridentAttackGoal(IRangedAttackMob p_i48907_1_, double p_i48907_2_, int p_i48907_4_, float p_i48907_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
void
start()
void
stop()
-
Methods inherited from class net.minecraft.entity.ai.goal.RangedAttackGoal
canContinueToUse, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
drowned
private final DrownedEntity drowned
-
-
Constructor Detail
-
TridentAttackGoal
public TridentAttackGoal(IRangedAttackMob p_i48907_1_, double p_i48907_2_, int p_i48907_4_, float p_i48907_5_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classRangedAttackGoal
-
stop
public void stop()
- Overrides:
stop
in classRangedAttackGoal
-
-