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 int
attackTime
private IBlockReader
level
private MobEntity
mob
private LivingEntity
target
-
Constructor Summary
Constructors Constructor Description OcelotAttackGoal(MobEntity p_i1641_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
stop()
void
tick()
-
-
-
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_)
-
-