Skip to content

Commit 6592641

Browse files
authored
Update documentation for custom block definitions
Clarified the requirements for defining custom blocks in the 'blocks' section.
1 parent 94b897f commit 6592641

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/gamemodes/AOneBlock/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ The first number of any file is how many blocks need to be mined to reach that p
190190
To define custom blocks in `blocks` section, you need to add `-` before each element.
191191
Also, blocks must be defined with type, data and probability values.
192192
Supported types are:
193+
193194
- `block-data`: uses `/setblock` command to place a block in the world. Requires `data` field
194195
- `mob`: uses `spawn entity` API to create requested entity. Requires `mod` field
195196
- `itemsadder`: uses ItemsAdder API to create block. Requires `id` field.

0 commit comments

Comments
 (0)