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
- Mappings:
Namespace Name official aylintermediary net/minecraft/class_1395named net/minecraft/entity/ai/goal/FlyOntoTreeGoal
-
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
- Mappings:
Namespace Name Mixin selector official <init>Laxv;<init>(Larq;D)Vintermediary <init>Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)Vnamed <init>Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V
-
-
Method Details
-
getWanderTarget
- Overrides:
getWanderTargetin classWanderAroundFarGoal- Mappings:
Namespace Name Mixin selector official gLaxv;g()Ldiu;intermediary method_6302Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;named getWanderTargetLnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;
-
getTreeTarget
- Mappings:
Namespace Name Mixin selector official jLayl;j()Ldiu;intermediary method_6314Lnet/minecraft/class_1395;method_6314()Lnet/minecraft/class_243;named getTreeTargetLnet/minecraft/entity/ai/goal/FlyOntoTreeGoal;getTreeTarget()Lnet/minecraft/util/math/Vec3d;
-