Package net.minecraft.entity.mob
Class DrownedEntity.LeaveWaterGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.mob.DrownedEntity.LeaveWaterGoal
- Enclosing class:
- DrownedEntity
static class DrownedEntity.LeaveWaterGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official bet$b
intermediary net/minecraft/class_1551$class_1554
named net/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private DrownedEntity
drowned
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
Constructor Summary
Constructors Constructor Description LeaveWaterGoal(DrownedEntity drowned, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected boolean
isTargetPos(WorldView world, BlockPos pos)
boolean
shouldContinue()
void
start()
void
stop()
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, startMovingToTarget, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
drowned
- Mappings:
Namespace Name Mixin selector official g
Lbet$b;g:Lbet;
intermediary field_7237
Lnet/minecraft/class_1551$class_1554;field_7237:Lnet/minecraft/class_1551;
named drowned
Lnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
-
-
Constructor Details
-
LeaveWaterGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbet$b;<init>(Lbet;D)V
intermediary <init>
Lnet/minecraft/class_1551$class_1554;<init>(Lnet/minecraft/class_1551;D)V
named <init>
Lnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Lawx;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Laxl;a(Lbty;Lfx;)Z
intermediary method_6296
Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named isTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
start
public void start()- Overrides:
start
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()
-