Package net.minecraft.entity.ai.goal
Class OcelotAttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.OcelotAttackGoal
-
public class OcelotAttackGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private intattackTimeprivate IBlockReaderlevelprivate MobEntitymobprivate LivingEntitytarget
-
Constructor Summary
Constructors Constructor Description OcelotAttackGoal(MobEntity p_i1641_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()voidstop()voidtick()
-
-
-
Field Detail
-
level
private final IBlockReader level
-
mob
private final MobEntity mob
-
target
private LivingEntity target
-
attackTime
private int attackTime
-
-
Constructor Detail
-
OcelotAttackGoal
public OcelotAttackGoal(MobEntity p_i1641_1_)
-
-