Package net.minecraft.entity.passive
Class WolfEntity.AvoidLlamaGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FleeEntityGoal<T>
net.minecraft.entity.passive.WolfEntity.AvoidLlamaGoal<T>
- Enclosing class:
WolfEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal
intermediary net/minecraft/class_1493$class_1494
official cgj$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity
-
Constructor Summary
ConstructorDescriptionAvoidLlamaGoal
(WolfEntity wolf, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canStart()
private boolean
isScaredOf
(LlamaEntity llama) void
start()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.FleeEntityGoal
shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
wolf
- Mappings:
Namespace Name Mixin selector named wolf
Lnet/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal;wolf:Lnet/minecraft/entity/passive/WolfEntity;
intermediary field_6954
Lnet/minecraft/class_1493$class_1494;field_6954:Lnet/minecraft/class_1493;
official j
Lcgj$a;j:Lcgj;
-
-
Constructor Details
-
AvoidLlamaGoal
public AvoidLlamaGoal(WolfEntity wolf, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal;<init>(Lnet/minecraft/entity/passive/WolfEntity;Lnet/minecraft/entity/passive/WolfEntity;Ljava/lang/Class;FDD)V
intermediary <init>
Lnet/minecraft/class_1493$class_1494;<init>(Lnet/minecraft/class_1493;Lnet/minecraft/class_1493;Ljava/lang/Class;FDD)V
official <init>
Lcgj$a;<init>(Lcgj;Lcgj;Ljava/lang/Class;FDD)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official a
Lcao;a()Z
-
isScaredOf
- Mappings:
Namespace Name Mixin selector named isScaredOf
Lnet/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal;isScaredOf(Lnet/minecraft/entity/passive/LlamaEntity;)Z
intermediary method_6720
Lnet/minecraft/class_1493$class_1494;method_6720(Lnet/minecraft/class_1501;)Z
official a
Lcgj$a;a(Lchn;)Z
-
start
public void start()- Overrides:
start
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
official c
Lcao;c()V
-
tick
public void tick()- Overrides:
tick
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
official e
Lcao;e()V
-