Costs
Effect Cost
ID:
palladium:mob_effectRequires a mob/potion effect of a certain rank/amplifier, which is consumed/reduced by the amount.
- Settings
- Example
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
effect | Mob Effect ID | The type of effect required | / | |
amount | Integer (> 0) | How many levels/amplifier of the effect to consume. Defaults to 1 | / |
{
"type": "palladium:mob_effect",
"effect": "minecraft:hero_of_the_village"
}
Experience Level Cost
ID:
palladium:experience_levelRequires the entity to have a certain number of experience levels.
- Settings
- Example
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
xp_level | Integer (> 0) | The number of experience levels to consume. | / |
{
"type": "palladium:experience_level",
"xp_level": 5
}
Item Cost
ID:
palladium:itemRequires the entity to have a certain item in their inventory.
- Settings
- Example
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
ingredient | Ingredient / Item | The item(s) accepted as payment. | / | |
amount | Integer (> 0) | How many items to consume. Defaults to 1. | / |
{
"type": "palladium:item",
"ingredient": "minecraft:diamond",
"amount": 5
}
Multiversal Designation Cost
ID:
palladium:multiversal_designationRequires items that carry a designation of a specific universe, like a Multiversal Extrapolator that has found that universe. The items are consumed.
- Settings
- Example
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
universe | Universe ID | The universe the items must be designated to. | / | |
amount | Integer (> 0) | How many designated items to consume. | 1 |
{
"type": "palladium:multiversal_designation",
"universe": "example:earth_616"
}
Number Data Attachment Cost
ID:
palladium:number_data_attachmentRequires the entity to have a certain value in a number data attachment, which is consumed.
- Settings
- Example
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
attachment | Data Attachment ID | The ID of the data attachment. | / | |
amount | Integer (> 0) | The amount consumed from the data attachment. | 1 | |
icon | Icon definition | The icon shown in the UI. | / | |
description | Text Component | The display text shown in the UI. | / |
{
"type": "palladium:number_data_attachment",
"attachment": "example:number_attachment_id",
"amount": 10,
"icon": {
"type": "palladium:sprite",
"sprite": "example:sprite_path"
},
"description": "My Currency"
}
Score Cost
ID:
palladium:scoreRequires the entity to have a certain scoreboard score.
- Settings
- Example
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
objective | String | The scoreboard objective name. | / | |
amount | Integer (> 0) | The score amount to consume. Defaults to 1. | / | |
icon | Icon definition | The icon shown in the UI. | / | |
description | Text Component | The display text shown in the UI. | / |
{
"type": "palladium:score",
"objective": "my_score",
"amount": 10,
"icon": {
"type": "palladium:sprite",
"sprite": "example:sprite_path"
},
"description": "My Score"
}