net.minecraft.world.entity.ai.sensing

public class NearestItemSensor

extends Sensor<Mob>

bwk
net.minecraft.world.entity.ai.sensing.NearestItemSensor
net.minecraft.class_4833
net.minecraft.entity.ai.brain.sensor.NearestItemsSensor
net.minecraft.src.C_767_
net.minecraft.world.entity.ai.sensing.SensorNearestItems

Field summary

Modifier and TypeField
private static final long
c
XZ_RANGE
field_30255
HORIZONTAL_RANGE
f_148283_
private static final long
d
Y_RANGE
field_30256
VERTICAL_RANGE
f_148284_
public static final int
a
MAX_DISTANCE_TO_WANTED_ITEM
field_30254
MAX_RANGE
f_148282_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
m_7163_()
protected void
a(and arg0, bmn arg1)
doTick(ServerLevel arg0, Mob arg1)
method_24645(class_3218 arg0, class_1308 arg1)
sense(ServerWorld arg0, MobEntity arg1)
m_5578_(C_12_ p_26698_, C_526_ arg1)