Package net.minecraft.entity.passive
Class BeeEntity.MoveToFlowerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.BeeEntity.NotAngryGoal
net.minecraft.entity.passive.BeeEntity.MoveToFlowerGoal
- Enclosing class:
- BeeEntity
public class BeeEntity.MoveToFlowerGoal extends BeeEntity.NotAngryGoal
-
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
ticks
-
Constructor Summary
Constructors Constructor Description MoveToFlowerGoal()
-
Method Summary
Modifier and Type Method Description boolean
canBeeContinue()
boolean
canBeeStart()
private boolean
shouldMoveToFlower()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.passive.BeeEntity.NotAngryGoal
canStart, shouldContinue
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
ticks
private int ticks
-
-
Constructor Details
-
MoveToFlowerGoal
MoveToFlowerGoal()
-
-
Method Details
-
canBeeStart
public boolean canBeeStart()- Specified by:
canBeeStart
in classBeeEntity.NotAngryGoal
-
canBeeContinue
public boolean canBeeContinue()- Specified by:
canBeeContinue
in classBeeEntity.NotAngryGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
shouldMoveToFlower
private boolean shouldMoveToFlower()
-