net.minecraft.world.entity.ai.sensing

public class NearestItemSensor

extends Sensor<Mob>

cfk
net.minecraft.world.entity.ai.sensing.NearestItemSensor
net.minecraft.class_4833
net.minecraft.unmapped.C_pxaexatm
net.minecraft.entity.ai.brain.sensor.NearestItemsSensor
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
b
XZ_RANGE
field_30255
f_hiyribjz
HORIZONTAL_RANGE
HORIZONTAL_RANGE
f_148283_
private static final long
c
Y_RANGE
field_30256
f_vfhqsfmg
VERTICAL_RANGE
VERTICAL_RANGE
f_148284_
public static final int
a
MAX_DISTANCE_TO_WANTED_ITEM
field_30254
f_zihauqqd
MAX_RANGE
MAX_RANGE
f_148282_

Constructor summary

ModifierConstructor
public ()

Method summary

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