Skip to content

Commit e96c7e7

Browse files
authored
Expanded readme
1 parent 2978811 commit e96c7e7

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
# ExpandedData
2-
Expanded Block Data Objects for Minecraft
1+
# Expanded Data
2+
Expanded Block Data Objects for Minecraft `data` commands.
3+
4+
This current version is built for Minecraft pre-release 1.19.4-pre1, but translation is pretyy straight forwards between other versions with only minor tweaks required.
5+
6+
This is a server-side mod, and is designed with full compatibility in mind for datapack useage.
7+
8+
## Example Usage:
9+
Getting a block for use in other data commands
10+
```hs
11+
data get block -188 68 985
12+
```
13+
![image](https://user-images.githubusercontent.com/11393734/221482680-96cd41a7-e530-416f-99d3-e2f71099343c.png)
14+
```js
15+
{block_state: {Properties: {east: "true", waterlogged: "false", south: "true", north: "false", west: "false"}, Name: "minecraft:white_stained_glass_pane"}, x: -188, y: 68, z: 985}
16+
```
17+
The `block_state` property is designed to have 1-to-1 compatibility with the new 1.19.4 `block_display` entities. This allows block data to be copied to/from real blocks and `block_displays`.

0 commit comments

Comments
 (0)