ACHIEVEMENTGET

ACHIEVEMENTGET(<text>,[itemid[:damage]])

Type: Action

Category: GUI

Permission: N/A

Since Minecraft Version: v1.4

Since Version: v0.9.4

Minor: 9

API: 5

Patch: 4


Description

Displays an "Advancement made!" popup you get when completing an advancement with a custom message and optionally a custom item.

The successor is TOAST with the option to create other types of popups.

Example
// With no item id; Shows an grass block
ACHIEVEMENTGET("Hello Grass")

// With an item id
ACHIEVEMENTGET("Hello Stone","stone")

// With an item id and metadata
ACHIEVEMENTGET("Hello Birch","log:2")

Changelog
  • Added em v0.9.4:
  • Deprecated em v0.15.1: Preferred to use [TOAST](/docs/actions/toast) now
  • Updated em v0.15.1: Shows now an Advancement Toast