Package net.minecraft.entity.ai.goal
Class FollowOwnerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowOwnerGoal
- Direct Known Subclasses:
class_3374
- Mappings:
Namespace Name official xcintermediary net/minecraft/class_894named net/minecraft/entity/ai/goal/FollowOwnerGoal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float(package private) float(package private) floatprivate final EntityNavigationprivate LivingEntityprivate final doubleprivate final TameableEntityprivate int(package private) World -
Constructor Summary
ConstructorsConstructorDescriptionFollowOwnerGoal(TameableEntity tameable, double speed, float minDistance, float maxDistance) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected booleanmethod_15080(int int2, int int3, int int4, int int5, int int6) booleanvoidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getCategoryBits, setCategoryBits
-
Field Details
-
tameable
- Mappings:
Namespace Name Mixin selector official dLxc;d:Lwb;intermediary field_3495Lnet/minecraft/class_894;field_3495:Lnet/minecraft/class_880;named tameableLnet/minecraft/entity/ai/goal/FollowOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
-
owner
- Mappings:
Namespace Name Mixin selector official eLxc;e:Lvp;intermediary field_6841Lnet/minecraft/class_894;field_6841:Lnet/minecraft/class_1699;named ownerLnet/minecraft/entity/ai/goal/FollowOwnerGoal;owner:Lnet/minecraft/entity/LivingEntity;
-
world
World world- Mappings:
Namespace Name Mixin selector official aLxc;a:Lamu;intermediary field_3492Lnet/minecraft/class_894;field_3492:Lnet/minecraft/class_1150;named worldLnet/minecraft/entity/ai/goal/FollowOwnerGoal;world:Lnet/minecraft/world/World;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official fLxc;f:Dintermediary field_6842Lnet/minecraft/class_894;field_6842:Dnamed speedLnet/minecraft/entity/ai/goal/FollowOwnerGoal;speed:D
-
updateCountdownTicks
private int updateCountdownTicks- Mappings:
Namespace Name Mixin selector official hLxc;h:Iintermediary field_3499Lnet/minecraft/class_894;field_3499:Inamed updateCountdownTicksLnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
-
maxDistance
float maxDistance- Mappings:
Namespace Name Mixin selector official bLxc;b:Fintermediary field_3493Lnet/minecraft/class_894;field_3493:Fnamed maxDistanceLnet/minecraft/entity/ai/goal/FollowOwnerGoal;maxDistance:F
-
minDistance
float minDistance- Mappings:
Namespace Name Mixin selector official cLxc;c:Fintermediary field_3494Lnet/minecraft/class_894;field_3494:Fnamed minDistanceLnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
-
field_14576
private float field_14576- Mappings:
Namespace Name Mixin selector official iLxc;i:Fintermediary field_14576Lnet/minecraft/class_894;field_14576:Fnamed field_14576Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_14576:F
-
-
Constructor Details
-
FollowOwnerGoal
- Mappings:
Namespace Name Mixin selector official <init>Lxc;<init>(Lwb;DFF)Vintermediary <init>Lnet/minecraft/class_894;<init>(Lnet/minecraft/class_880;DFF)Vnamed <init>Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;DFF)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector official bLxe;b()Zintermediary method_2744Lnet/minecraft/class_896;method_2744()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
method_15080
protected boolean method_15080(int int2, int int3, int int4, int int5, int int6) - Mappings:
Namespace Name Mixin selector official aLxc;a(IIIII)Zintermediary method_15080Lnet/minecraft/class_894;method_15080(IIIII)Znamed method_15080Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;method_15080(IIIII)Z
-