net.minecraft.entity.ai.brain.task

public class DigTask<E extends WardenEntity>

extends MultiTickTask<E>

All mapped superinterfaces:

Task

net.minecraft.world.entity.ai.behavior.warden.Digging
net.minecraft.class_7249
net.minecraft.entity.ai.brain.task.DigTask

Constructor summary

ModifierConstructor
public (int duration)

Method summary

Modifier and TypeMethod
protected boolean
canStillUse(ServerLevel level, E body, long timestamp)
method_42152(class_3218 arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, E arg1, long arg2)
protected boolean
checkExtraStartConditions(ServerLevel level, E body)
method_42151(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
protected void
start(ServerLevel level, E body, long timestamp)
method_42153(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
protected void
stop(ServerLevel level, E body, long timestamp)
method_42154(class_3218 arg0, E arg1, long arg2)
finishRunning(ServerWorld arg0, E arg1, long arg2)
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
start(ServerLevel level, LivingEntity body, long timestamp)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)