Package | Description |
---|---|
net.minecraft.entity.ai.brain | |
net.minecraft.entity.ai.brain.sensor | |
net.minecraft.entity.merchant.villager |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<SensorType<? extends Sensor<? super E>>,Sensor<? super E>> |
Brain.sensors |
private java.util.Map<SensorType<? extends Sensor<? super E>>,Sensor<? super E>> |
Brain.sensors |
Constructor and Description |
---|
Brain(java.util.Collection<MemoryModuleType<?>> memoryModules,
java.util.Collection<SensorType<? extends Sensor<? super E>>> sensorTypes,
com.mojang.datafixers.Dynamic<T> dynamicIn) |
Modifier and Type | Class and Description |
---|---|
class |
SensorType<U extends Sensor<?>> |
Modifier and Type | Class and Description |
---|---|
class |
DummySensor |
class |
GolemLastSeenSensor |
class |
HurtBySensor |
class |
InteractableDoorsSensor |
class |
NearestBedSensor |
class |
NearestLivingEntitiesSensor |
class |
NearestPlayersSensor |
class |
SecondaryPositionSensor |
class |
VillagerBabiesSensor |
class |
VillagerHostilesSensor |
Modifier and Type | Method and Description |
---|---|
private static <U extends Sensor<?>> |
SensorType.register(java.lang.String key,
java.util.function.Supplier<U> p_220996_1_) |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>> |
VillagerEntity.SENSOR_TYPES |