> For the complete documentation index, see [llms.txt](https://novoline.gitbook.io/novoscript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://novoline.gitbook.io/novoscript/api/objects-1/world.md).

# World

{% content-ref url="/pages/-MdVfZlnaPCSXKzlb44R" %}
[Entity](/novoscript/api/objects-1/entity.md)
{% endcontent-ref %}

## world.getEntityList

Returns an array of entities within your render distance

```
world.getEntityList()
```

## world.getPlayerEntities

Returns an array of player entities within your render distance

```
world.getPlayerEntities()
```

## world.getBlockAtBlockPos

Returns the Block object&#x20;

| Parameters | Type     | Description |
| ---------- | -------- | ----------- |
| pos        | BlockPos |             |

```
world.getBlockAtBlockPos(pos) - Block
```

## world.getBlockPos

Returns a BlockPos object from the given coordinates

| Parameters | Type    |
| ---------- | ------- |
| x          | Integer |
| y          | Integer |
| z          | Integer |

```
world.getBlockPos(x,y,z) - BlockPos
```

## world.getBlockName

Returns an unlocalized name of a block

| Parameters | Type  |
| ---------- | ----- |
| block      | Block |

```
world.getBlockName(block) - String
```

## world.removeEntity

Removes the given player from the world

| Parameter | Type   |
| --------- | ------ |
| entity    | Entity |

```
world.removeEntity(entity)
```
