Default Rewards
Rewards define what is granted to a player immediately upon completing an advancement. Below is a list of all default rewards included in AbyssalLib.
ItemReward
ID: abyssallib:item
Gives the player a specific item stack.
Parameter | Information |
|---|---|
| The item stack to award. |
ExperienceReward
ID: abyssallib:experience
Gives the player a specified amount of experience points.
Parameter | Information |
|---|---|
| The amount of experience to award. |
CommandReward
ID: abyssallib:command
Executes a server command.
Parameter | Information |
|---|---|
| The command string to run. You can use |
PotionEffectReward
ID: abyssallib:potion_effect
Applies a potion effect to the player.
Parameter | Information |
|---|---|
| The |
| The level of the effect (0 is level I). |
| The duration of the effect in ticks. |
| Boolean; whether the effect comes from an ambient source like a beacon. |
| Boolean; whether particles should be visible. |
| Boolean; whether the effect icon should be visible in the HUD. |
LootTableReward
ID: abyssallib:loot_table
Grants the player the contents of a registered Minecraft loot table.
Parameter | Information |
|---|---|
| The namespaced ID of the registered loot table to execute. |
CustomLootTableReward
ID: abyssallib:custom_loot_table
Grants the player items based on a custom loot table. You must provide either a registered ID or an inline definition.
Parameter | Information |
|---|---|
| The ID of a registered custom loot table. (Mutually exclusive with |
| The raw, inline loot table definition. (Mutually exclusive with |