public class DinosaurWanderEntityAI
extends net.minecraft.entity.ai.EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
protected DinosaurEntity |
entity |
protected int |
executionChance |
| Constructor and Description |
|---|
DinosaurWanderEntityAI(DinosaurEntity creatureIn,
double speedIn,
int chance) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.util.math.Vec3d |
getWanderPosition() |
protected boolean |
innerShouldStopExcecuting() |
void |
makeUpdate() |
protected boolean |
outterShouldExecute() |
void |
setExecutionChance(int chance) |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
protected DinosaurEntity entity
protected int executionChance
public DinosaurWanderEntityAI(DinosaurEntity creatureIn, double speedIn, int chance)
public boolean shouldExecute()
shouldExecute in class net.minecraft.entity.ai.EntityAIBaseprotected boolean innerShouldStopExcecuting()
protected boolean outterShouldExecute()
protected net.minecraft.util.math.Vec3d getWanderPosition()
public boolean shouldContinueExecuting()
shouldContinueExecuting in class net.minecraft.entity.ai.EntityAIBasepublic void startExecuting()
startExecuting in class net.minecraft.entity.ai.EntityAIBasepublic void makeUpdate()
public void setExecutionChance(int chance)