Layer JSON Format
This is the format of a JSON file describing a layer. Layers are collections of choices, and a player can have a single choice on each layer.
Layer files need to be placed inside the choice_layers folder within your namespace.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
choices |
Array of Identifiers | Defines the choices that should be in this layer. | |
enabled |
Boolean | true |
If set to false, this layer will be unavailable. |
Example
{
"choices": [
"example_pack:non-magic",
"example_pack:magic"
]
}
This example choice layer (data/example_pack/choice_layers/example_choice.json) Allows you to choose if you want the magic powers in the example pack, or not.