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.class_7396
net.minecraft.entity.ai.brain.task.SonicBoomTask

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
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)
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)
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)
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)
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)
method_43264(class_1309 arg0, int arg1)
cooldown(LivingEntity warden, int cooldown)
protected boolean
checkExtraStartConditions(ServerLevel level, LivingEntity body)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
protected boolean
canStillUse(ServerLevel level, LivingEntity body, long timestamp)
method_18927(class_3218 arg0, class_1309 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
stop(ServerLevel level, LivingEntity body, long timestamp)
method_18926(class_3218 arg0, class_1309 arg1, long arg2)
finishRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
tick(ServerLevel level, LivingEntity body, long timestamp)
method_18924(class_3218 arg0, class_1309 arg1, long arg2)
keepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
start(ServerLevel level, LivingEntity body, long timestamp)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
private static void
lambda$tick$2(Warden arg0, ServerLevel arg1, LivingEntity arg2)
method_43265(class_7260 arg0, class_3218 arg1, class_1309 arg2)
method_43265(WardenEntity arg0, ServerWorld arg1, LivingEntity target)
private static boolean
lambda$tick$1(Warden arg0, LivingEntity arg1)
method_43266(class_7260 arg0, class_1309 arg1)
method_43266(WardenEntity arg0, LivingEntity target)
private static void
lambda$tick$0(Warden arg0, LivingEntity arg1)
method_43973(class_7260 arg0, class_1309 arg1)
method_43973(WardenEntity arg0, LivingEntity target)