net.minecraft.world.entity.ai.sensing

public class VillagerHostilesSensor

extends NearestVisibleLivingEntitySensor

cgu
net.minecraft.world.entity.ai.sensing.VillagerHostilesSensor
net.minecraft.class_4150
net.minecraft.entity.ai.brain.sensor.VillagerHostilesSensor
net.minecraft.world.entity.ai.sensing.SensorVillagerHostiles

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(ash arg0, bwg arg1, bwg arg2)
isMatchingEntity(ServerLevel arg0, LivingEntity arg1, LivingEntity arg2)
method_35148(class_3218 arg0, class_1309 arg1, class_1309 arg2)
matches(ServerWorld arg0, LivingEntity arg1, LivingEntity arg2)
private boolean
a(bwg arg0, bwg arg1)
isClose(LivingEntity arg0, LivingEntity arg1)
method_19105(class_1309 arg0, class_1309 arg1)
isCloseEnoughForDanger(LivingEntity villager, LivingEntity target)
protected MemoryModuleType<LivingEntity>
b()
getMemory()
method_35150()
getOutputMemoryModule()
private boolean
b(bwg arg0)
isHostile(LivingEntity arg0)
method_19104(class_1309 arg0)
isHostile(LivingEntity entity)