Choice JSON Format
This is the format of a JSON file describing a choice. They need to be placed inside the choices folder within your namespace.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
powers |
Array of Identifiers | optional | IDs of the powers this choice should have. |
icon |
Item Stack | optional | The item stack which is displayed as the icon for the description button for the choice. |
name |
String | optional | The display name of the choice. |
description |
String | optional | The description of the choice. |
action_on_chosen |
Entity Action Types | optional | The action that is run when they player selects this choice. |
Example
{
"powers": [
"example_pack:mana_bar",
"example_pack:mana_recharge",
"example_pack:mana_recharge_2"
],
"icon": "minecraft:diamond",
"name": "Magic User",
"description": "You can harness mana to use in a staff!"
}
This example choice adds with a minecraft:diamond as its icon.