Class AdvancementEvent


@Deprecated(since="1.19.2") public class AdvancementEvent extends PlayerEvent
This event is fired when a player gets an advancement.
This event is not Cancelable.

This event does not have a result. Event.HasResult

This event is fired on the MinecraftForge.EVENT_BUS.
  • Field Details

    • advancement

      private final Advancement advancement
      Deprecated.
  • Constructor Details

    • AdvancementEvent

      public AdvancementEvent(Player player, Advancement advancement)
      Deprecated.
  • Method Details

    • getAdvancement

      public Advancement getAdvancement()
      Deprecated.