net.minecraft.world.entity.monster.piglin

public class StopAdmiringIfTiredOfTryingToReachItem<E extends Piglin>

extends Behavior<E>

bse
net.minecraft.world.entity.monster.piglin.StopAdmiringIfTiredOfTryingToReachItem
net.minecraft.class_5430
net.minecraft.entity.ai.brain.task.AdmireItemTimeLimitTask
net.minecraft.src.C_1112_
net.minecraft.world.entity.monster.piglin.BehaviorAdmireTimeout

Field summary

Modifier and TypeField
private final int
a
maxTimeToReachItem
field_25815
timeLimit
f_35227_
private final int
d
disableTime
field_25816
cooldown
f_35228_

Constructor summary

ModifierConstructor
public (int timeLimit, int cooldown)

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_30337(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_35241_, E arg1)
protected void
a(afo arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_30338(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_35244_, E p_35245_, long arg2)