Package net.minecraft.entity.ai.goal
Class FormCaravanGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FormCaravanGoal
public class FormCaravanGoal extends Goal
- Mappings:
Namespace Name official axeintermediary net/minecraft/class_1362named net/minecraft/entity/ai/goal/FormCaravanGoal
-
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 intcounterLlamaEntityllamaprivate doublespeed -
Constructor Summary
Constructors Constructor Description FormCaravanGoal(LlamaEntity llama, double speed) -
Method Summary
Modifier and Type Method Description private booleancanFollow(LlamaEntity llama, int length)booleancanStart()booleanshouldContinue()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, start, toString
-
Field Details
-
llama
- Mappings:
Namespace Name Mixin selector official aLaxe;a:Lbcu;intermediary field_6488Lnet/minecraft/class_1362;field_6488:Lnet/minecraft/class_1501;named llamaLnet/minecraft/entity/ai/goal/FormCaravanGoal;llama:Lnet/minecraft/entity/passive/LlamaEntity;
-
speed
private double speed- Mappings:
Namespace Name Mixin selector official bLaxe;b:Dintermediary field_6487Lnet/minecraft/class_1362;field_6487:Dnamed speedLnet/minecraft/entity/ai/goal/FormCaravanGoal;speed:D
-
counter
private int counter- Mappings:
Namespace Name Mixin selector official cLaxe;c:Iintermediary field_6489Lnet/minecraft/class_1362;field_6489:Inamed counterLnet/minecraft/entity/ai/goal/FormCaravanGoal;counter:I
-
-
Constructor Details
-
FormCaravanGoal
- Mappings:
Namespace Name Mixin selector official <init>Laxe;<init>(Lbcu;D)Vintermediary <init>Lnet/minecraft/class_1362;<init>(Lnet/minecraft/class_1501;D)Vnamed <init>Lnet/minecraft/entity/ai/goal/FormCaravanGoal;<init>(Lnet/minecraft/entity/passive/LlamaEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector official bLawx;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
stop
public void stop() -
tick
public void tick() -
canFollow
- Mappings:
Namespace Name Mixin selector official aLaxe;a(Lbcu;I)Zintermediary method_6285Lnet/minecraft/class_1362;method_6285(Lnet/minecraft/class_1501;I)Znamed canFollowLnet/minecraft/entity/ai/goal/FormCaravanGoal;canFollow(Lnet/minecraft/entity/passive/LlamaEntity;I)Z
-