public class MobSensor<T extends LivingEntity>
extends Sensor<T>
| ckl | |
| net.minecraft.world.entity.ai.sensing.MobSensor | |
| net.minecraft.class_9068 | |
| net.minecraft.entity.ai.brain.sensor.ArmadilloScareDetectedSensor | |
| net.minecraft.src.C_313422_ | |
| net.minecraft.world.entity.ai.sensing.MobSensor |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final BiPredicate<T, LivingEntity> |
| ||||||||||
| private final Predicate<T> |
| ||||||||||
| private final MemoryModuleType<Boolean> |
| ||||||||||
| private final int |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (int senseInterval, BiPredicate<T, LivingEntity> threateningEntityPredicate, Predicate<T> canRollUpPredicate, MemoryModuleType<Boolean> memoryModuleType, int expiry) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected void |
| ||||||||||
| public Set<MemoryModuleType<?>> |
| ||||||||||
| public void |
| ||||||||||
| public void |
| ||||||||||
| public void |
|