net.minecraft.entity.ai.brain.task

public class SonicBoomTask

extends MultiTickTask<WardenEntity>

All mapped superinterfaces:

Task

net.minecraft.world.entity.ai.behavior.warden.SonicBoom
net.minecraft.world.entity.ai.behavior.warden.SonicBoom
net.minecraft.class_7396
net.minecraft.entity.ai.brain.task.SonicBoomTask

Field summary

Modifier and TypeField
private static final int
DISTANCE_XZ
DISTANCE_XZ
field_38850
HORIZONTAL_RANGE
private static final int
DISTANCE_Y
DISTANCE_Y
field_38851
VERTICAL_RANGE
private static final double
KNOCKBACK_VERTICAL
KNOCKBACK_VERTICAL
field_38852
field_38852
private static final double
KNOCKBACK_HORIZONTAL
KNOCKBACK_HORIZONTAL
field_38853
field_38853
public static final int
COOLDOWN
COOLDOWN
field_38849
COOLDOWN
private static final int
TICKS_BEFORE_PLAYING_SOUND
TICKS_BEFORE_PLAYING_SOUND
field_38854
SOUND_DELAY
private static final int
DURATION
DURATION
field_38855
RUN_TIME

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
checkExtraStartConditions(ServerLevel level, Warden body)
checkExtraStartConditions(ServerLevel level, Warden body)
method_43262(class_3218 arg0, class_7260 arg1)
shouldRun(ServerWorld arg0, WardenEntity arg1)
protected boolean
canStillUse(ServerLevel level, Warden body, long timestamp)
canStillUse(ServerLevel level, Warden body, long timestamp)
method_43263(class_3218 arg0, class_7260 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, WardenEntity arg1, long arg2)
protected void
start(ServerLevel level, Warden body, long timestamp)
start(ServerLevel level, Warden body, long timestamp)
method_43267(class_3218 arg0, class_7260 arg1, long arg2)
run(ServerWorld arg0, WardenEntity arg1, long arg2)
protected void
tick(ServerLevel level, Warden body, long timestamp)
tick(ServerLevel level, Warden body, long timestamp)
method_43268(class_3218 arg0, class_7260 arg1, long arg2)
keepRunning(ServerWorld arg0, WardenEntity arg1, long arg2)
protected void
stop(ServerLevel level, Warden body, long timestamp)
stop(ServerLevel level, Warden body, long timestamp)
method_43269(class_3218 arg0, class_7260 arg1, long arg2)
finishRunning(ServerWorld arg0, WardenEntity arg1, long arg2)
public static void
setCooldown(LivingEntity body, int cooldown)
setCooldown(LivingEntity body, int cooldown)
method_43264(class_1309 arg0, int arg1)
cooldown(LivingEntity warden, int cooldown)