Package net.minecraft.entity.monster
Class GuardianEntity.AttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.monster.GuardianEntity.AttackGoal
-
- Enclosing class:
- GuardianEntity
static class GuardianEntity.AttackGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private int
attackTime
private boolean
elder
private GuardianEntity
guardian
-
Constructor Summary
Constructors Constructor Description AttackGoal(GuardianEntity p_i45833_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
start()
void
stop()
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
guardian
private final GuardianEntity guardian
-
attackTime
private int attackTime
-
elder
private final boolean elder
-
-
Constructor Detail
-
AttackGoal
public AttackGoal(GuardianEntity p_i45833_1_)
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
-