File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,21 +8,17 @@ This data map is located at `neoforged/data_maps/item/compostables.json` and its
8
8
``` js
9
9
{
10
10
// 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
15
12
}
16
13
```
17
14
18
15
Example:
19
16
``` js
20
17
{
21
18
" 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
23
20
" minecraft:acacia_log" : {
24
- " chance" : 0.5 ,
25
- " amount" : 2
21
+ " chance" : 0.5
26
22
}
27
23
}
28
24
}
You can’t perform that action at this time.
0 commit comments