net.minecraft.entity.ai.goal

public class DolphinJumpGoal

extends DiveJumpingGoal

net.minecraft.world.entity.ai.goal.DolphinJumpGoal
net.minecraft.world.entity.ai.goal.DolphinJumpGoal
net.minecraft.class_1357
net.minecraft.entity.ai.goal.DolphinJumpGoal

Field summary

Modifier and TypeField
private static final int[]
STEPS_TO_CHECK
STEPS_TO_CHECK
field_6474
OFFSET_MULTIPLIERS
private final DolphinEntity
dolphin
dolphin
field_6471
dolphin
private final int
interval
interval
field_6472
chance
private boolean
breached
breached
field_6473
inWater

Constructor summary

ModifierConstructor
public (DolphinEntity dolphin, int chance)

Method summary

Modifier and TypeMethod
public boolean
canUse()
canUse()
method_6264()
canStart()
private boolean
waterIsClear(BlockPos dolphinPos, int stepX, int stepZ, int currentStep)
waterIsClear(BlockPos dolphinPos, int stepX, int stepZ, int currentStep)
method_6284(class_2338 arg0, int arg1, int arg2, int arg3)
isWater(BlockPos pos, int offsetX, int offsetZ, int multiplier)
private boolean
surfaceIsClear(BlockPos dolphinPos, int stepX, int stepZ, int currentStep)
surfaceIsClear(BlockPos dolphinPos, int stepX, int stepZ, int currentStep)
method_6282(class_2338 arg0, int arg1, int arg2, int arg3)
isAirAbove(BlockPos pos, int offsetX, int offsetZ, int multiplier)
public boolean
canContinueToUse()
canContinueToUse()
method_6266()
shouldContinue()
public boolean
isInterruptable()
isInterruptable()
method_6267()
canStop()
public void
start()
start()
method_6269()
start()
public void
stop()
stop()
method_6270()
stop()
public void
tick()
tick()
method_6268()
tick()