Package net.minecraft.entity.ai.goal
Class EscapeDangerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.EscapeDangerGoal
- Direct Known Subclasses:
PolarBearEntity.class_3038,RabbitEntity.EscapeDangerGoal,TurtleEntity.class_3501
- Mappings:
Namespace Name official ahointermediary net/minecraft/class_914named net/minecraft/entity/ai/goal/EscapeDangerGoal
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getCategoryBits, setCategoryBits, stop, tick
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official aLaho;a:Lafg;intermediary field_3579Lnet/minecraft/class_914;field_3579:Lnet/minecraft/class_877;named mobLnet/minecraft/entity/ai/goal/EscapeDangerGoal;mob:Lnet/minecraft/entity/PathAwareEntity;
-
speed
protected double speed- Mappings:
Namespace Name Mixin selector official bLaho;b:Dintermediary field_6853Lnet/minecraft/class_914;field_6853:Dnamed speedLnet/minecraft/entity/ai/goal/EscapeDangerGoal;speed:D
-
targetX
protected double targetX- Mappings:
Namespace Name Mixin selector official cLaho;c:Dintermediary field_3581Lnet/minecraft/class_914;field_3581:Dnamed targetXLnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetX:D
-
targetY
protected double targetY- Mappings:
Namespace Name Mixin selector official dLaho;d:Dintermediary field_3582Lnet/minecraft/class_914;field_3582:Dnamed targetYLnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetY:D
-
targetZ
protected double targetZ- Mappings:
Namespace Name Mixin selector official eLaho;e:Dintermediary field_3583Lnet/minecraft/class_914;field_3583:Dnamed targetZLnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetZ:D
-
-
Constructor Details
-
EscapeDangerGoal
- Mappings:
Namespace Name Mixin selector official <init>Laho;<init>(Lafg;D)Vintermediary <init>Lnet/minecraft/class_914;<init>(Lnet/minecraft/class_877;D)Vnamed <init>Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;<init>(Lnet/minecraft/entity/PathAwareEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
method_13953
protected boolean method_13953()- Mappings:
Namespace Name Mixin selector official gLaho;g()Zintermediary method_13953Lnet/minecraft/class_914;method_13953()Znamed method_13953Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;method_13953()Z
-
start
public void start() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector official bLagt;b()Zintermediary method_2744Lnet/minecraft/class_896;method_2744()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
method_15698
- Mappings:
Namespace Name Mixin selector official aLaho;a(Laxk;Laer;II)Lel;intermediary method_15698Lnet/minecraft/class_914;method_15698(Lnet/minecraft/class_1158;Lnet/minecraft/class_864;II)Lnet/minecraft/class_2552;named method_15698Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;method_15698(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;II)Lnet/minecraft/util/math/BlockPos;
-