Skip to content

Commit 1e52938

Browse files
committed
Update neo_maps.md
1 parent 1e015ac commit 1e52938

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/datamaps/neo_maps.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,17 @@ This data map is located at `neoforged/data_maps/item/compostables.json` and its
88
```js
99
{
1010
// A 0 to 1 (inclusive) float representing the chance that the item will update the level of the composter
11-
"chance": 1,
12-
13-
// A 1 to 7 integer that indicates how many levels should be added to the composter when the item is successfully composted. Defaults to 1 level.
14-
"amount": 1 // int
11+
"chance": 1
1512
}
1613
```
1714

1815
Example:
1916
```js
2017
{
2118
"values": {
22-
// Give acacia logs a 50% chance that they will fill a composter with 2 levels
19+
// Give acacia logs a 50% chance that they will fill a composter
2320
"minecraft:acacia_log": {
24-
"chance": 0.5,
25-
"amount": 2
21+
"chance": 0.5
2622
}
2723
}
2824
}

0 commit comments

Comments
 (0)