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$bintermediary net/minecraft/class_1551$class_1554named 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 DrownedEntitydrownedFields 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 booleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos)booleanshouldContinue()voidstart()voidstop()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, startMovingToTarget, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
drowned
- Mappings:
Namespace Name Mixin selector official gLbet$b;g:Lbet;intermediary field_7237Lnet/minecraft/class_1551$class_1554;field_7237:Lnet/minecraft/class_1551;named drownedLnet/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)Vintermediary <init>Lnet/minecraft/class_1551$class_1554;<init>(Lnet/minecraft/class_1551;D)Vnamed <init>Lnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLawx;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official bLawx;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLaxl;a(Lbty;Lfx;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
start
public void start()- Overrides:
startin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official cLawx;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()
-