Class AdvancementEvent.AdvancementEarnEvent

Enclosing class:
AdvancementEvent

public static class AdvancementEvent.AdvancementEarnEvent extends AdvancementEvent
Fired when the player earns an advancement. An advancement is earned once its requirements are complete.

Note that advancements may be hidden from the player or used in background mechanics, such as recipe advancements for unlocking recipes in the recipe book.

This event is not cancellable, and does not

invalid reference
have a result
.

This event is fired on the main Forge event bus, only on the logical server.

See Also: