> For the complete documentation index, see [llms.txt](https://blowsy.gitbook.io/raven-b4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blowsy.gitbook.io/raven-b4/documentation/tile-entity.md).

# tile entity

Tile entities. (chests, skulls, beacons, etc)

{% hint style="warning" %}
Required: world.getTileEntities();
{% endhint %}

{% content-ref url="/pages/5b3QsJrr3LmqIv1SpA2Y" %}
[objects](/raven-b4/documentation/objects.md)
{% endcontent-ref %}

### getPosition

```java
Vec3 position = tileEntity.getPosition();
```

Returns the position of a tile entity.

### getSkullData

```java
Object[] skullData = tileEntity.getSkullData();
```

Returns the metadata of a skull.

| property | index | type   |
| -------- | ----- | ------ |
| type     | 0     | int    |
| rotation | 1     | int    |
| name     | 2     | String |
| uuid     | 3     | String |
