public class PiglinSpecificSensor extends Sensor<LivingEntity>
Constructor and Description |
---|
PiglinSpecificSensor() |
Modifier and Type | Method and Description |
---|---|
private static Optional<BlockPos> |
findSoulFire(ServerWorld world,
LivingEntity entity) |
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
private static boolean |
method_24648(ServerWorld serverWorld,
BlockPos blockPos) |
protected void |
sense(ServerWorld world,
LivingEntity entity) |
method_30954, tick
public Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules
in class Sensor<LivingEntity>
protected void sense(ServerWorld world, LivingEntity entity)
sense
in class Sensor<LivingEntity>
private static Optional<BlockPos> findSoulFire(ServerWorld world, LivingEntity entity)
private static boolean method_24648(ServerWorld serverWorld, BlockPos blockPos)