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 official bsm$a
intermediary net/minecraft/class_1493$class_1494
named net/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal
-
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 official j
Lbsm$a;j:Lbsm;
intermediary field_6954
Lnet/minecraft/class_1493$class_1494;field_6954:Lnet/minecraft/class_1493;
named wolf
Lnet/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal;wolf:Lnet/minecraft/entity/passive/WolfEntity;
-
-
Constructor Details
-
AvoidLlamaGoal
public AvoidLlamaGoal(WolfEntity wolf, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) - Mappings:
Namespace Name Mixin selector official <init>
Lbsm$a;<init>(Lbsm;Lbsm;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
named <init>
Lnet/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal;<init>(Lnet/minecraft/entity/passive/WolfEntity;Lnet/minecraft/entity/passive/WolfEntity;Ljava/lang/Class;FDD)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbmt;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
isScaredOf
- Mappings:
Namespace Name Mixin selector official a
Lbsm$a;a(Lbtl;)Z
intermediary method_6720
Lnet/minecraft/class_1493$class_1494;method_6720(Lnet/minecraft/class_1501;)Z
named isScaredOf
Lnet/minecraft/entity/passive/WolfEntity$AvoidLlamaGoal;isScaredOf(Lnet/minecraft/entity/passive/LlamaEntity;)Z
-
start
public void start()- Overrides:
start
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbmt;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-
tick
public void tick()- Overrides:
tick
in classFleeEntityGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official e
Lbmt;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-