类 AdvancementEvent.AdvancementEarnEvent

封闭类:
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 have a result.

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

另请参阅:
  • 构造器详细资料