Class DolphinJumpGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.JumpGoal
net.minecraft.world.entity.ai.goal.DolphinJumpGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final Dolphin
private final int
private static final int[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
boolean
void
start()
void
stop()
private boolean
surfaceIsClear
(BlockPos p_25179_, int p_25180_, int p_25181_, int p_25182_) void
tick()
private boolean
waterIsClear
(BlockPos p_25173_, int p_25174_, int p_25175_, int p_25176_) Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
STEPS_TO_CHECK
private static final int[] STEPS_TO_CHECK -
dolphin
-
interval
private final int interval -
breached
private boolean breached
-
-
Constructor Details
-
DolphinJumpGoal
-
-
Method Details
-
canUse
public boolean canUse() -
waterIsClear
-
surfaceIsClear
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
isInterruptable
public boolean isInterruptable()- Overrides:
isInterruptable
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-