Uses of Class
eu.endercentral.crazy_advancements.advancement.Advancement
Package
Description
-
Uses of Advancement in eu.endercentral.crazy_advancements.advancement
Modifier and TypeMethodDescriptionAdvancement.getParent()
Gets the Parent of this AdvancementAdvancementDisplay.getPositionOrigin()
Advancement.getRootAdvancement()
Gets the Root AdvancementModifier and TypeMethodDescriptionAdvancement.getChildren()
Gets all direct ChildrenAdvancement.getRow()
Gets all parents and childrenAdvancement.getRowAfter()
Gets all childrenAdvancement.getRowUntil()
Gets all parentsModifier and TypeMethodDescriptionboolean
AdvancementDisplay.isVisible
(Player player, Advancement advancement) abstract boolean
AdvancementVisibility.isVisible
(Player player, Advancement advancement) Do not call this method directly, useAdvancementVisibility
to get accurate visibility datavoid
AdvancementDisplay.setPositionOrigin
(Advancement positionOrigin) Changes the advancement that marks the origin of the coordinatesModifierConstructorDescriptionAdvancement
(Advancement parent, NameKey name, AdvancementDisplay display, boolean childrenTracking, AdvancementFlag... flags) Constructor for Advancements with a parent and the option to disable children trackingAdvancement
(Advancement parent, NameKey name, AdvancementDisplay display, AdvancementFlag... flags) Constructor for Advancements with a parent -
Uses of Advancement in eu.endercentral.crazy_advancements.event
Modifier and TypeMethodDescriptionAdvancementGrantEvent.getAdvancement()
Gets the AdvancementAdvancementRevokeEvent.getAdvancement()
Gets the AdvancementModifierConstructorDescriptionAdvancementGrantEvent
(AdvancementManager manager, Advancement advancement, Player player) AdvancementRevokeEvent
(AdvancementManager manager, Advancement advancement, Player player) -
Uses of Advancement in eu.endercentral.crazy_advancements.manager
Modifier and TypeMethodDescriptionAdvancementManager.getAdvancement
(NameKey name) Gets an Advancement with a specified NameModifier and TypeMethodDescriptionAdvancementManager.getAdvancements()
Gets a list of Advancements in the ManagerAdvancementManager.getAdvancements
(String namespace) Gets a list of Advancements with a certain namespaceModifier and TypeMethodDescriptionvoid
AdvancementManager.addAdvancement
(Advancement... addedAdvancements) Adds advancements to the Manager
Duplicates will be discardedAdvancementManager.createNewSave
(UUID uuid, Advancement... advancements) Gets the Progress as JSONAdvancementManager.createNewSave
(Player player, Advancement... advancements) Gets the Progress as JSONint
AdvancementManager.getCriteriaProgress
(UUID uuid, Advancement advancement) Gets the Criteria Progressint
AdvancementManager.getCriteriaProgress
(Player player, Advancement advancement) Gets the Criteria ProgressAdvancementManager.grantAdvancement
(UUID uuid, Advancement advancement) Grants an advancement, also works with offline playersAdvancementManager.grantAdvancement
(Player player, Advancement advancement) Grants an advancementAdvancementManager.grantCriteria
(UUID uuid, Advancement advancement, String... criteria) Grans criteria for an advancement, also works with offline playersAdvancementManager.grantCriteria
(Player player, Advancement advancement, String... criteria) Grants criteria for an advancementvoid
AdvancementManager.loadProgress
(UUID uuid, Advancement... advancements) Loads the progress for Advancements in this Managervoid
AdvancementManager.loadProgress
(UUID uuid, SaveFile saveFile, Advancement... advancements) Loads the progress for Advancements in this Managervoid
AdvancementManager.loadProgress
(Player player, Advancement... advancements) Loads the progress for Advancements in this Managervoid
AdvancementManager.loadProgress
(Player player, SaveFile saveFile, Advancement... advancements) Loads the progress for Advancements in this Managervoid
AdvancementManager.removeAdvancement
(Advancement... removedAdvancements) Removes an advancement from the ManagerAdvancementManager.revokeAdvancement
(UUID uuid, Advancement advancement) Revokes an advancement, also works with offline playersAdvancementManager.revokeAdvancement
(Player player, Advancement advancement) Revokes an advancementAdvancementManager.revokeCriteria
(UUID uuid, Advancement advancement, String... criteria) Revokes criteria for an advancement, also works with offline playersAdvancementManager.revokeCriteria
(Player player, Advancement advancement, String... criteria) Revokes criteria for an advancementvoid
AdvancementManager.saveProgress
(UUID uuid, Advancement... advancements) Saves the progress in this Advancement Managers filevoid
AdvancementManager.saveProgress
(Player player, Advancement... advancements) Saves the progress in this Advancement Managers fileAdvancementManager.setCriteriaProgress
(UUID uuid, Advancement advancement, int criteriaProgress) Sets the criteria progress for an advancement, also works with offline players
Only works for Advancements withCriteriaType
NUMBER and will returnSetCriteriaResult
INVALID if it doesn't matchAdvancementManager.setCriteriaProgress
(Player player, Advancement advancement, int criteriaProgress) Sets the criteria progress for an advancement
Only works for Advancements withCriteriaType
Number and will returnSetCriteriaResult
INVALID if it doesn't matchvoid
AdvancementManager.unloadProgress
(UUID uuid, Advancement... advancements) Unloads progress for Advancements in this Managervoid
AdvancementManager.unloadProgress
(Player player, Advancement... advancements) Unloads progress for Advancements in this Managervoid
AdvancementManager.unloadVisibilityStatus
(UUID uuid, Advancement... advancements) Unloads the Visibility Status for Advancements in this Managervoid
AdvancementManager.unloadVisibilityStatus
(Player player, Advancement... advancements) Unloads the Visibility Status for Advancements in this Managervoid
AdvancementManager.updateAdvancement
(Advancement... updatedAdvancements) Updates advancements in this managervoid
AdvancementManager.updateProgress
(Player player, Advancement... advancements) Updates Advancement Progress for a Player -
Uses of Advancement in eu.endercentral.crazy_advancements.packet
Modifier and TypeMethodDescriptionAdvancementsPacket.getAdvancements()
Gets a copy of the list of the added AdvancementsModifier and TypeMethodDescriptionstatic net.minecraft.advancements.Advancement
PacketConverter.toNmsAdvancement
(Advancement advancement) Creates an NMS AdvancementModifierConstructorDescriptionAdvancementsPacket
(Player player, boolean reset, List<Advancement> advancements, List<NameKey> removedAdvancements) Constructor for creating Advancement PacketsVisibilityAdvancementsPacket
(Player player, boolean reset, List<Advancement> advancements, List<NameKey> removedAdvancements) Constructor for creating Advancement Packets that respect Advancement Visiblity