Package org.geysermc.geyser.level
Class GeyserAdvancement
java.lang.Object
org.geysermc.geyser.level.GeyserAdvancement
A wrapper around MCProtocolLib's
Advancement
class so we can control the parent of an advancement-
Method Summary
Modifier and TypeMethodDescriptionstatic GeyserAdvancement
from(com.github.steveice10.mc.protocol.data.game.advancement.Advancement advancement)
com.github.steveice10.mc.protocol.data.game.advancement.Advancement.DisplayData
@NonNull String
getId()
getRootId(AdvancementsCache advancementsCache)
-
Method Details
-
from
public static GeyserAdvancement from(com.github.steveice10.mc.protocol.data.game.advancement.Advancement advancement) -
getId
-
getCriteria
-
getRequirements
-
getParentId
-
getDisplayData
public com.github.steveice10.mc.protocol.data.game.advancement.Advancement.DisplayData getDisplayData() -
getRootId
-