AbyssalLib Help

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

item

The item stack to award.

ExperienceReward

ID: abyssallib:experience

Gives the player a specified amount of experience points.

Parameter

Information

amount

The amount of experience to award.

CommandReward

ID: abyssallib:command

Executes a server command.

Parameter

Information

command

The command string to run. You can use %player% as a placeholder for the player's name.

PotionEffectReward

ID: abyssallib:potion_effect

Applies a potion effect to the player.

Parameter

Information

type

The PotionEffectType ID to apply.

amplifier

The level of the effect (0 is level I).

duration

The duration of the effect in ticks.

ambient

Boolean; whether the effect comes from an ambient source like a beacon.

particles

Boolean; whether particles should be visible.

icon

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

loot_table

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

id

The ID of a registered custom loot table. (Mutually exclusive with table).

table

The raw, inline loot table definition. (Mutually exclusive with id).

05 June 2026