-
Notifications
You must be signed in to change notification settings - Fork 0
Datapack Info
Skylar Sommers edited this page Sep 8, 2019
·
1 revision
Resources for CivResources can be added via datapacks.
The location for Resources is <domain>/mccivilizations/resources/<name>.json
All fields in the Json Object are optional and will default.
| Name | Type | Required | Default Value | Additional Info |
|---|---|---|---|---|
| name | Text Component | False | Translation (mccivilization.resources.<domain>.<name>) |
See The MC Wiki |
| group | Text Component | False | Translation (mccivilization.resources.bundle) |
See The MC Wiki |
| max | Long | False | Long.MAX_LONG | |
| min | Long | False | 0 |
{
}{
"name": {
"translate": "mccivilizations.resource.test.wheat"
},
"group": {
"translate": "mccivilizations.resource.test.bushel"
},
"max": 100,
"min": -100
}