public class BreedGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
protected AnimalEntity |
animal |
protected AnimalEntity |
field_75391_e |
protected World |
world |
| Constructor and Description |
|---|
BreedGoal(AnimalEntity animal,
double speedIn) |
BreedGoal(AnimalEntity p_i47306_1_,
double p_i47306_2_,
java.lang.Class<? extends AnimalEntity> p_i47306_4_) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
protected void |
spawnBaby() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, startExecutingprotected final AnimalEntity animal
protected final World world
protected AnimalEntity field_75391_e
public BreedGoal(AnimalEntity animal, double speedIn)
public BreedGoal(AnimalEntity p_i47306_1_, double p_i47306_2_, java.lang.Class<? extends AnimalEntity> p_i47306_4_)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalprotected void spawnBaby()