Class PiglinSpecificSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.PiglinSpecificSensor
- 
Field SummaryFields inherited from class net.minecraft.world.entity.ai.sensing.SensorTARGETING_RANGE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddoTick(ServerLevel p_26726_, LivingEntity p_26727_) findNearestRepellent(ServerLevel p_26735_, LivingEntity p_26736_) private static booleanisValidRepellent(ServerLevel p_26729_, BlockPos p_26730_) Set<MemoryModuleType<?>>requires()Methods inherited from class net.minecraft.world.entity.ai.sensing.SensorisEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
- 
Constructor Details- 
PiglinSpecificSensorpublic PiglinSpecificSensor()
 
- 
- 
Method Details- 
requires- Specified by:
- requiresin class- Sensor<LivingEntity>
 
- 
doTick- Specified by:
- doTickin class- Sensor<LivingEntity>
 
- 
findNearestRepellent
- 
isValidRepellent
 
-