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 int
nextAskPlayerForBambooAge
private PandaEntity
panda
Fields 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 boolean
canStart()
private boolean
isBambooClose()
Methods inherited from class net.minecraft.entity.ai.goal.AnimalMateGoal
breed, shouldContinue, stop, tick
Methods 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:
canStart
in classAnimalMateGoal
-
isBambooClose
private boolean isBambooClose()
-