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:
FoxEntity.EscapeWhenNotAggressiveGoal
,PandaEntity.PandaEscapeDangerGoal
,PolarBearEntity.PolarBearEscapeDangerGoal
,RabbitEntity.EscapeDangerGoal
,TurtleEntity.TurtleEscapeDangerGoal
,WolfEntity.WolfEscapeDangerGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/EscapeDangerGoal
intermediary net/minecraft/class_1374
official cbh
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
RANGE_Y
public static final int RANGE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named RANGE_Y
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;RANGE_Y:I
intermediary field_36271
Lnet/minecraft/class_1374;field_36271:I
official a
Lcbh;a:I
-
mob
- Mappings:
Namespace Name Mixin selector named mob
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
intermediary field_6549
Lnet/minecraft/class_1374;field_6549:Lnet/minecraft/class_1314;
official b
Lcbh;b:Lbtz;
-
speed
protected final double speed- Mappings:
Namespace Name Mixin selector named speed
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;speed:D
intermediary field_6548
Lnet/minecraft/class_1374;field_6548:D
official c
Lcbh;c:D
-
targetX
protected double targetX- Mappings:
Namespace Name Mixin selector named targetX
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetX:D
intermediary field_6547
Lnet/minecraft/class_1374;field_6547:D
official d
Lcbh;d:D
-
targetY
protected double targetY- Mappings:
Namespace Name Mixin selector named targetY
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetY:D
intermediary field_6546
Lnet/minecraft/class_1374;field_6546:D
official e
Lcbh;e:D
-
targetZ
protected double targetZ- Mappings:
Namespace Name Mixin selector named targetZ
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetZ:D
intermediary field_6550
Lnet/minecraft/class_1374;field_6550:D
official f
Lcbh;f:D
-
active
protected boolean active- Mappings:
Namespace Name Mixin selector named active
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;active:Z
intermediary field_23227
Lnet/minecraft/class_1374;field_23227:Z
official g
Lcbh;g:Z
-
-
Constructor Details
-
EscapeDangerGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V
intermediary <init>
Lnet/minecraft/class_1374;<init>(Lnet/minecraft/class_1314;D)V
official <init>
Lcbh;<init>(Lbtz;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
isInDanger
protected boolean isInDanger()- Mappings:
Namespace Name Mixin selector named isInDanger
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;isInDanger()Z
intermediary method_40072
Lnet/minecraft/class_1374;method_40072()Z
official h
Lcbh;h()Z
-
findTarget
protected boolean findTarget()- Mappings:
Namespace Name Mixin selector named findTarget
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;findTarget()Z
intermediary method_6301
Lnet/minecraft/class_1374;method_6301()Z
official i
Lcbh;i()Z
-
isActive
public boolean isActive()- Mappings:
Namespace Name Mixin selector named isActive
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;isActive()Z
intermediary method_26337
Lnet/minecraft/class_1374;method_26337()Z
official k
Lcbh;k()Z
-
start
public void start() -
stop
public void stop() -
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 b
Lcao;b()Z
-
locateClosestWater
@Nullable protected @Nullable BlockPos locateClosestWater(BlockView world, Entity entity, int rangeX) - Mappings:
Namespace Name Mixin selector named locateClosestWater
Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;locateClosestWater(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;I)Lnet/minecraft/util/math/BlockPos;
intermediary method_6300
Lnet/minecraft/class_1374;method_6300(Lnet/minecraft/class_1922;Lnet/minecraft/class_1297;I)Lnet/minecraft/class_2338;
official a
Lcbh;a(Ldbf;Lbsv;I)Liz;
-