Package net.minecraft.entity.ai.goal
Class FollowParentGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowParentGoal
public class FollowParentGoal extends Goal
- Mappings:
Namespace Name official rcintermediary net/minecraft/class_1788named net/minecraft/entity/ai/goal/FollowParentGoal
-
Field Summary
Fields Modifier and Type Field Description private intdelay(package private) AnimalEntityfield_7645(package private) AnimalEntityfield_7646(package private) doublespeed -
Constructor Summary
Constructors Constructor Description FollowParentGoal(AnimalEntity animalEntity, double double2) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
method_7363, method_7368, method_7369
-
Field Details
-
field_7645
AnimalEntity field_7645- Mappings:
Namespace Name Mixin selector official aLrc;a:Ltm;intermediary field_7645Lnet/minecraft/class_1788;field_7645:Lnet/minecraft/class_1847;named field_7645Lnet/minecraft/entity/ai/goal/FollowParentGoal;field_7645:Lnet/minecraft/entity/passive/AnimalEntity;
-
field_7646
AnimalEntity field_7646- Mappings:
Namespace Name Mixin selector official bLrc;b:Ltm;intermediary field_7646Lnet/minecraft/class_1788;field_7646:Lnet/minecraft/class_1847;named field_7646Lnet/minecraft/entity/ai/goal/FollowParentGoal;field_7646:Lnet/minecraft/entity/passive/AnimalEntity;
-
speed
double speed- Mappings:
Namespace Name Mixin selector official cLrc;c:Dintermediary field_7647Lnet/minecraft/class_1788;field_7647:Dnamed speedLnet/minecraft/entity/ai/goal/FollowParentGoal;speed:D
-
delay
private int delay- Mappings:
Namespace Name Mixin selector official dLrc;d:Iintermediary field_7648Lnet/minecraft/class_1788;field_7648:Inamed delayLnet/minecraft/entity/ai/goal/FollowParentGoal;delay:I
-
-
Constructor Details
-
FollowParentGoal
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector official bLrd;b()Zintermediary method_7364Lnet/minecraft/class_1789;method_7364()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-