Class GeyserAdvancement

java.lang.Object
org.geysermc.geyser.level.GeyserAdvancement

public class GeyserAdvancement extends Object
A wrapper around MCProtocolLib's Advancement class so we can control the parent of an advancement
  • Method Details

    • from

      public static GeyserAdvancement from(com.github.steveice10.mc.protocol.data.game.advancement.Advancement advancement)
    • getId

      @NonNull public @NonNull String getId()
    • getCriteria

      @NonNull public @NonNull List<String> getCriteria()
    • getRequirements

      @NonNull public @NonNull List<List<String>> getRequirements()
    • getParentId

      public String getParentId()
    • getDisplayData

      public com.github.steveice10.mc.protocol.data.game.advancement.Advancement.DisplayData getDisplayData()
    • getRootId

      public String getRootId(AdvancementsCache advancementsCache)