Package net.minecraft.entity.ai.goal
Class FollowGroupLeaderGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowGroupLeaderGoal
public class FollowGroupLeaderGoal extends Goal
- Mappings:
Namespace Name official awt
intermediary net/minecraft/class_1349
named net/minecraft/entity/ai/goal/FollowGroupLeaderGoal
-
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
checkSurroundingDelay
private SchoolingFishEntity
fish
private int
moveDelay
-
Constructor Summary
Constructors Constructor Description FollowGroupLeaderGoal(SchoolingFishEntity fish)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected int
getSurroundingSearchDelay(SchoolingFishEntity fish)
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
fish
- Mappings:
Namespace Name Mixin selector official a
Lawt;a:Lbbi;
intermediary field_6441
Lnet/minecraft/class_1349;field_6441:Lnet/minecraft/class_1425;
named fish
Lnet/minecraft/entity/ai/goal/FollowGroupLeaderGoal;fish:Lnet/minecraft/entity/passive/SchoolingFishEntity;
-
moveDelay
private int moveDelay- Mappings:
Namespace Name Mixin selector official b
Lawt;b:I
intermediary field_6440
Lnet/minecraft/class_1349;field_6440:I
named moveDelay
Lnet/minecraft/entity/ai/goal/FollowGroupLeaderGoal;moveDelay:I
-
checkSurroundingDelay
private int checkSurroundingDelay- Mappings:
Namespace Name Mixin selector official c
Lawt;c:I
intermediary field_6439
Lnet/minecraft/class_1349;field_6439:I
named checkSurroundingDelay
Lnet/minecraft/entity/ai/goal/FollowGroupLeaderGoal;checkSurroundingDelay:I
-
-
Constructor Details
-
FollowGroupLeaderGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lawt;<init>(Lbbi;)V
intermediary <init>
Lnet/minecraft/class_1349;<init>(Lnet/minecraft/class_1425;)V
named <init>
Lnet/minecraft/entity/ai/goal/FollowGroupLeaderGoal;<init>(Lnet/minecraft/entity/passive/SchoolingFishEntity;)V
-
-
Method Details
-
getSurroundingSearchDelay
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Lbbi;)I
intermediary method_6261
Lnet/minecraft/class_1349;method_6261(Lnet/minecraft/class_1425;)I
named getSurroundingSearchDelay
Lnet/minecraft/entity/ai/goal/FollowGroupLeaderGoal;getSurroundingSearchDelay(Lnet/minecraft/entity/passive/SchoolingFishEntity;)I
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-