public class MobSensor<T extends LivingEntity>
extends Sensor<T>
cdo | |
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 |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final BiPredicate<T, LivingEntity> |
| ||||||||||
private final Predicate<T> |
| ||||||||||
private final MemoryModuleType<Boolean> |
| ||||||||||
private final int |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (int senseInterval, BiPredicate<T, LivingEntity> threateningEntityPredicate, Predicate<T> canRollUpPredicate, MemoryModuleType<Boolean> memoryModuleType, int expiry) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected void |
| ||||||||||
public Set<MemoryModuleType<?>> |
| ||||||||||
public void |
| ||||||||||
public void |
| ||||||||||
public void |
|