AbyssalLib Help

Default Criterion

Criteria define the specific conditions or actions a player must complete to unlock an advancement. Below is a list of all default criteria included in AbyssalLib.

AutoCraftCriterion

ID: abyssallib:auto_grant

Automatically grants progress for this criterion when the player joins the server.

(No parameters required)

ItemHasCriterion

ID: abyssallib:has_item

Checks if any item within the player's inventory matches the provided predicate.

Parameter

Information

predicate

The item predicate to check against.

StatisticCriterion

ID: abyssallib:statistic

Checks the value of a specific vanilla Minecraft statistic.

Parameter

Information

statistic

The statistic to check.

threshold

The value needed for the criterion to be awarded.

LevelCriterion

ID: abyssallib:level

Awards the criterion if the player's experience level matches or exceeds the given level.

Parameter

Information

level

The experience level needed to grant this criterion.

CustomStatisticCriterion

ID: abyssallib:custom_statistic

Checks the value of a custom statistic against a threshold.

Parameter

Information

statistic

The custom statistic ID to check. (in the format: "statistic:type/statistic:id"

threshold

The value required for the criterion to be granted (can be a float, integer, or boolean).

CustomAttributeCriterion

ID: abyssallib:custom_attribute

Checks the value of a custom attribute against a threshold.

Parameter

Information

attribute

The custom attribute ID to check.

threshold

The value required for the criteria to be granted (can be an integer, float, double, or any other Number type).

ItemCraftedCriterion

ID: abyssallib:item_crafted

Checks if the player has crafted a specified amount of a given item ID.

Parameter

Information

item

The ID of the item to check (e.g., "minecraft:stick").

amount

The number of this item ID that must be crafted.

EntityKilledCriterion

ID: abyssallib:entity_killed

Checks if the player has killed a specified amount of a given entity ID.

Parameter

Information

entity

The ID of the entity to check (e.g., "minecraft:zombie").

amount

The number of this entity ID that must be killed.

BlockMinedCriterion

ID: abyssallib:block_mined

Checks if the player has mined a specified amount of a given block ID.

Parameter

Information

block

The ID of the block to check for (e.g, "minecraft:crafting_table").

amount

The amount of blocks of this ID that must be broken.

LocationCriterion

ID: abyssallib:location

Checks if the player is currently located inside a specific world and/or biome.

Parameter

Information

world

The name of the world the player must be in.

biome

The ID of the biome the player must be in.

PotionEffectCriterion

ID: abyssallib:potion_effect

Checks if the player currently has the provided potion effect.

Parameter

Information

effect

The effect type ID the player must have.

05 June 2026