Package net.minecraft.entity.passive
Class PandaEntity.PandaMateGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.AnimalMateGoal
net.minecraft.entity.passive.PandaEntity.PandaMateGoal
- Enclosing class:
- PandaEntity
class PandaEntity.PandaMateGoal extends AnimalMateGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields Modifier and Type Field Description private intnextAskPlayerForBambooAgeprivate PandaEntitypandaFields inherited from class net.minecraft.entity.ai.goal.AnimalMateGoal
animal, mate, world -
Constructor Summary
Constructors Constructor Description PandaMateGoal(PandaEntity panda, double chance) -
Method Summary
Modifier and Type Method Description booleancanStart()private booleanisBambooClose()Methods inherited from class net.minecraft.entity.ai.goal.AnimalMateGoal
breed, shouldContinue, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, start, toString
-
Field Details
-
panda
-
nextAskPlayerForBambooAge
private int nextAskPlayerForBambooAge
-
-
Constructor Details
-
PandaMateGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classAnimalMateGoal
-
isBambooClose
private boolean isBambooClose()
-