net.minecraft.world.entity.monster.piglin

public class StopAdmiringIfItemTooFarAway<E extends Piglin>

extends Behavior<E>

bjh
net.minecraft.world.entity.monster.piglin.StopAdmiringIfItemTooFarAway
net.minecraft.class_4827
net.minecraft.entity.ai.brain.task.WantNewItemTask
net.minecraft.src.C_1111_
net.minecraft.world.entity.monster.piglin.BehaviorStopAdmiringItem

Field summary

Modifier and TypeField
private final int
a
maxDistanceToItem
field_22328
range
f_35210_

Constructor summary

ModifierConstructor
public (int range)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24619(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_35222_, E arg1)
protected void
a(abr arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_24620(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_35225_, E p_35226_, long arg2)