net.minecraft.world.entity.ai.sensing

public class VillagerHostilesSensor

extends Sensor<LivingEntity>

asf
net.minecraft.world.entity.ai.sensing.VillagerHostilesSensor
net.minecraft.class_4150
net.minecraft.unmapped.C_tmhrlmbj
net.minecraft.entity.ai.brain.sensor.VillagerHostilesSensor
net.minecraft.entity.ai.brain.sensor.VillagerHostilesSensor
net.minecraft.server.v1_15_R1.SensorVillagerHostiles

Field summary

Modifier and TypeField
private static final com.google.common.collect.ImmutableMap<EntityType<?>, Float>
a
ACCEPTABLE_DISTANCE_FROM_HOSTILES
field_18473
f_zomqovre
SQUARED_DISTANCES_FOR_DANGER
field_220991_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
m_ttqnpjnq()
getOutputMemoryModules()
func_220974_a()
protected void
a(xd arg0, akw arg1)
doTick(ServerLevel arg0, LivingEntity arg1)
method_19101(class_3218 arg0, class_1309 arg1)
m_ssofdmup(C_bdwnwhiu arg0, C_usxaxydn arg1)
sense(ServerWorld arg0, LivingEntity arg1)
func_212872_a_(ServerWorld arg0, LivingEntity arg1)
private Optional<LivingEntity>
a(akw arg0)
getNearestHostile(LivingEntity arg0)
method_19618(class_1309 arg0)
m_cskibymp(C_usxaxydn arg0)
getNearestHostile(LivingEntity entity)
func_220989_a(LivingEntity arg0)
private Optional<List<LivingEntity>>
b(akw arg0)
getVisibleEntities(LivingEntity arg0)
method_19620(class_1309 arg0)
m_ivyakaxt(C_usxaxydn arg0)
getVisibleMobs(LivingEntity entity)
func_220990_b(LivingEntity arg0)
private int
a(akw arg0, akw arg1, akw arg2)
compareMobDistance(LivingEntity arg0, LivingEntity arg1, LivingEntity arg2)
method_19619(class_1309 arg0, class_1309 arg1, class_1309 arg2)
m_rnapslgh(C_usxaxydn arg0, C_usxaxydn arg1, C_usxaxydn arg2)
compareDistances(LivingEntity entity, LivingEntity hostile1, LivingEntity hostile2)
func_220983_a(LivingEntity arg0, LivingEntity arg1, LivingEntity arg2)
private boolean
a(akw arg0, akw arg1)
isClose(LivingEntity arg0, LivingEntity arg1)
method_19105(class_1309 arg0, class_1309 arg1)
m_ripuwaxr(C_usxaxydn arg0, C_usxaxydn arg1)
isCloseEnoughForDanger(LivingEntity entity, LivingEntity hostile)
func_220987_a(LivingEntity arg0, LivingEntity arg1)
private boolean
c(akw arg0)
isHostile(LivingEntity arg0)
method_19104(class_1309 arg0)
m_crwyabjq(C_usxaxydn arg0)
isHostile(LivingEntity entity)
func_220988_c(LivingEntity arg0)