Package net.minecraft.entity.ai.goal
Class FlyOntoTreeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.WanderAroundFarGoal
net.minecraft.entity.ai.goal.FlyOntoTreeGoal
public class FlyOntoTreeGoal extends WanderAroundFarGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundFarGoal
probabilityFields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ -
Constructor Summary
Constructors Constructor Description FlyOntoTreeGoal(PathAwareEntity mob, double speed) -
Method Summary
Modifier and Type Method Description private Vec3dgetTreeTarget()protected Vec3dgetWanderTarget()Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
canStart, ignoreChanceOnce, setChance, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
FlyOntoTreeGoal
-
-
Method Details
-
getWanderTarget
- Overrides:
getWanderTargetin classWanderAroundFarGoal
-
getTreeTarget
-