Skill Tree Power Data
Skillful makes some additions to apoli powers. This is done in the skill
field.
Fields
Field | Type | Default | Description |
---|---|---|---|
icon |
Identifier | optional | The item which is displayed as the icon for the skill widget. |
parent |
Identifier | optional | The skill identifier that will be the parent of this widget. |
background |
Identifier | optional | The ID of the texture that will be the background of the skill tree. |
condition |
Condition | optional | Makes it so that the player can only buy the skill if they meet this condition. |
cost |
Integer | optional | The amount of points that the player needs in order to purchase this skill. |
Example
{
"skill": {
"icon": {
"item": "minecraft:feather"
},
"parent": "example_pack:skill_tree",
"cost": 1
}
}
This example in-power skill will create a skill widget that when purchased, grants the power it is in.