Package net.minecraft.entity.ai.goal
Class FormCaravanGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FormCaravanGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/FormCaravanGoal
intermediary net/minecraft/class_1362
official cdk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
final LlamaEntity
private static final int
private double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canFollow
(LlamaEntity llama, int length) boolean
canStart()
boolean
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, start, toGoalTicks, toString
-
Field Details
-
MAX_CARAVAN_LENGTH
private static final int MAX_CARAVAN_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_CARAVAN_LENGTH
Lnet/minecraft/entity/ai/goal/FormCaravanGoal;MAX_CARAVAN_LENGTH:I
intermediary field_30217
Lnet/minecraft/class_1362;field_30217:I
official c
Lcdk;c:I
-
llama
- Mappings:
Namespace Name Mixin selector named llama
Lnet/minecraft/entity/ai/goal/FormCaravanGoal;llama:Lnet/minecraft/entity/passive/LlamaEntity;
intermediary field_6488
Lnet/minecraft/class_1362;field_6488:Lnet/minecraft/class_1501;
official a
Lcdk;a:Lckd;
-
speed
private double speed- Mappings:
Namespace Name Mixin selector named speed
Lnet/minecraft/entity/ai/goal/FormCaravanGoal;speed:D
intermediary field_6487
Lnet/minecraft/class_1362;field_6487:D
official b
Lcdk;b:D
-
counter
private int counter- Mappings:
Namespace Name Mixin selector named counter
Lnet/minecraft/entity/ai/goal/FormCaravanGoal;counter:I
intermediary field_6489
Lnet/minecraft/class_1362;field_6489:I
official d
Lcdk;d:I
-
-
Constructor Details
-
FormCaravanGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/FormCaravanGoal;<init>(Lnet/minecraft/entity/passive/LlamaEntity;D)V
intermediary <init>
Lnet/minecraft/class_1362;<init>(Lnet/minecraft/class_1501;D)V
official <init>
Lcdk;<init>(Lckd;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lcdd;c()Z
-
stop
public void stop() -
tick
public void tick() -
canFollow
- Mappings:
Namespace Name Mixin selector named canFollow
Lnet/minecraft/entity/ai/goal/FormCaravanGoal;canFollow(Lnet/minecraft/entity/passive/LlamaEntity;I)Z
intermediary method_6285
Lnet/minecraft/class_1362;method_6285(Lnet/minecraft/class_1501;I)Z
official a
Lcdk;a(Lckd;I)Z
-