watching

static Stream<PlayerEntitywatching(World world, ChunkPos pos)
static Stream<PlayerEntitywatching(BlockEntity entity)
static Stream<PlayerEntitywatching(World world, BlockPos pos)
static Stream<PlayerEntitywatching(Entity entity)

Warning: If the provided entity is a PlayerEntity themselves, it is notguaranteed by the contract that said PlayerEntity is included in theresulting stream.