πŸ† Advancements

Advancements are defined in advancements.yml. This page explains the full structure.


Basic Structure

advancements:
  advancement-key:
    name: "&7Display Name"
    description: "Description text"
    icon: COBBLESTONE
    frame: TASK
    category: bergbau
    parent: parent-key       # Optional
    hidden: false            # Optional
    trigger:
      type: BLOCK_BREAK
      amount: 100
      material: STONE
    rewards:
      xp: 50
      money: 200.0

Fields Explained

name

The display name of the advancement. Supports color codes.

description

A short description shown in the GUI and info command.

icon

The Minecraft material used as the icon. Must be a valid Material namearrow-up-right.

frame

The frame type shown in the vanilla advancement GUI:

Frame
Description
Appearance

TASK

Normal task

Square frame

GOAL

Goal

Rounded frame

CHALLENGE

Challenge

Star shaped frame

category

The category key this advancement belongs to. Must match a category defined in the categories section.

parent

Optional. The key of the parent advancement. Creates a tree structure in the vanilla GUI. The parent must be completed before this advancement becomes available.

hidden

Optional. If true, this advancement is hidden in the GUI until its parent is completed.


Trigger Section

The trigger defines what action the player must perform. See Trigger Typesarrow-up-right for the full list.

Extended Trigger Options

See Conditions Systemarrow-up-right for:

  • Location conditions (point, radius, region, height)

  • State conditions (falling, sneaking, flying, equipment, etc.)

  • World conditions (dimension, biome, weather)

  • Chat filters (exact, contains, regex)

  • Command filters


Rewards Section

See Rewardsarrow-up-right for the full rewards documentation.


Example: Complete Advancement


Example: Advancement with Conditions


Last updated

Was this helpful?