net.minecraft.entity.passive

class SnifferBrain$SniffingTask

extends MultiTickTask<SnifferEntity>

All mapped superinterfaces:

Task

net.minecraft.world.entity.animal.sniffer.SnifferAi$Sniffing
net.minecraft.class_8155$class_8161
net.minecraft.entity.passive.SnifferBrain$SniffingTask

Constructor summary

ModifierConstructor
private (int minRunTime, int maxRunTime)

Method summary

Modifier and TypeMethod
protected boolean
checkExtraStartConditions(ServerLevel level, Sniffer body)
method_49176(class_3218 arg0, class_8153 arg1)
shouldRun(ServerWorld arg0, SnifferEntity arg1)
protected boolean
canStillUse(ServerLevel level, Sniffer body, long timestamp)
method_49177(class_3218 arg0, class_8153 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, SnifferEntity arg1, long arg2)
protected void
start(ServerLevel level, Sniffer sniffer, long timestamp)
method_49179(class_3218 arg0, class_8153 arg1, long arg2)
run(ServerWorld arg0, SnifferEntity arg1, long arg2)
protected void
stop(ServerLevel level, Sniffer sniffer, long timestamp)
method_49180(class_3218 arg0, class_8153 arg1, long arg2)
finishRunning(ServerWorld arg0, SnifferEntity 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 sniffer, 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 sniffer, long timestamp)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
private static void
lambda$stop$0(Sniffer arg0, BlockPos arg1)
method_49178(class_8153 arg0, class_2338 arg1)
method_49178(SnifferEntity arg0, BlockPos pos)