Class AbstractAdvancement
java.lang.Object
com.fren_gor.ultimateAdvancementAPI.advancement.Advancement
com.fren_gor.ultimateAdvancementAPI.advancement.BaseAdvancement
fr.multimc.api.spigot.common.advancements.AbstractAdvancement
- All Implemented Interfaces:
org.bukkit.event.Listener
- Direct Known Subclasses:
GetItemAdvancement
public abstract class AbstractAdvancement
extends com.fren_gor.ultimateAdvancementAPI.advancement.BaseAdvancement
implements org.bukkit.event.Listener
-
Field Summary
Fields inherited from class com.fren_gor.ultimateAdvancementAPI.advancement.BaseAdvancement
parent
Fields inherited from class com.fren_gor.ultimateAdvancementAPI.advancement.Advancement
advancementTab, display, key, maxProgression
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractAdvancement
(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull String key, @NotNull com.fren_gor.ultimateAdvancementAPI.advancement.display.AdvancementDisplay display, @NotNull com.fren_gor.ultimateAdvancementAPI.advancement.Advancement parent, @org.jetbrains.annotations.Range(from=1L, to=2147483647L) int maxProgression, @NotNull AdvancementProperty... properties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAdvancementProgressionUpdate
(@NotNull com.fren_gor.ultimateAdvancementAPI.events.advancement.AdvancementProgressionUpdateEvent e) void
onPlayerJoin
(@NotNull com.fren_gor.ultimateAdvancementAPI.events.PlayerLoadingCompletedEvent e) abstract void
progressionCompleteCallback
(@NotNull com.fren_gor.ultimateAdvancementAPI.events.advancement.AdvancementProgressionUpdateEvent e, @NotNull MmcPlayer player) abstract void
progressionUpdateCallback
(@NotNull com.fren_gor.ultimateAdvancementAPI.events.advancement.AdvancementProgressionUpdateEvent e, @NotNull MmcPlayer player) Methods inherited from class com.fren_gor.ultimateAdvancementAPI.advancement.BaseAdvancement
getNMSWrapper, getParent, validateRegister
Methods inherited from class com.fren_gor.ultimateAdvancementAPI.advancement.Advancement
displayToastToPlayer, equals, getAdvancementTab, getAnnounceMessage, getDisplay, getKey, getMaxProgression, getProgression, getProgression, getProgression, giveReward, grant, grant, handlePlayer, hashCode, incrementProgression, incrementProgression, incrementProgression, incrementProgression, incrementProgression, incrementProgression, incrementProgression, incrementProgression, incrementProgression, isGranted, isGranted, isGranted, isValid, isVisible, isVisible, isVisible, isVisible, onDispose, onGrant, onRegister, onUpdate, registerEvent, registerEvent, revoke, setProgression, setProgression, setProgression, setProgression, setProgression, toString
-
Constructor Details
-
AbstractAdvancement
public AbstractAdvancement(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull String key, @NotNull @NotNull com.fren_gor.ultimateAdvancementAPI.advancement.display.AdvancementDisplay display, @NotNull @NotNull com.fren_gor.ultimateAdvancementAPI.advancement.Advancement parent, @org.jetbrains.annotations.Range(from=1L, to=2147483647L) int maxProgression, @NotNull @NotNull AdvancementProperty... properties)
-
-
Method Details
-
onAdvancementProgressionUpdate
public void onAdvancementProgressionUpdate(@NotNull @NotNull com.fren_gor.ultimateAdvancementAPI.events.advancement.AdvancementProgressionUpdateEvent e) -
onPlayerJoin
public void onPlayerJoin(@NotNull @NotNull com.fren_gor.ultimateAdvancementAPI.events.PlayerLoadingCompletedEvent e) -
progressionUpdateCallback
public abstract void progressionUpdateCallback(@NotNull @NotNull com.fren_gor.ultimateAdvancementAPI.events.advancement.AdvancementProgressionUpdateEvent e, @NotNull @NotNull MmcPlayer player) -
progressionCompleteCallback
public abstract void progressionCompleteCallback(@NotNull @NotNull com.fren_gor.ultimateAdvancementAPI.events.advancement.AdvancementProgressionUpdateEvent e, @NotNull @NotNull MmcPlayer player)
-