Index
All Classes and Interfaces|All Packages
A
- addLoot(ItemStack) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds an
ItemStackto the list of loot rewards for this advancement. - addLoot(ItemStack, Consumer<ItemStack>) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds an
ItemStackto the loot rewards after applying modifications via a consumer. - addLoot(Material) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds an
ItemStackof the specifiedMaterialto the loot rewards. - addLootTable(String) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds a loot table reward using a
Stringkey. - addLootTable(LootTable) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds a loot table reward using a
LootTableobject. - addLootTable(NamespacedKey) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds a loot table reward to the advancement.
- addRecipe(String) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds a recipe reward using a
Stringkey. - addRecipe(NamespacedKey) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds a recipe reward to the advancement.
- addRecipe(R) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Adds a recipe reward to the advancement using a
Recipeobject. - advancement(NamespacedKey) - Static method in interface cz.jeme.advancium.CustomAdvancement
-
Creates a new builder for a
CustomAdvancementusing the givenNamespacedKey. - announceToChat() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Checks whether the advancement is announced in the chat when achieved.
- announceToChat(boolean) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets whether the advancement should be announced in chat when achieved.
- asBukkit() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Converts this custom advancement into a Bukkit
Advancementinstance.
B
- background() - Method in interface cz.jeme.advancium.CustomAdvancementTab
-
Gets the background of the tab as a
NamespacedKey. - background(String) - Method in interface cz.jeme.advancium.CustomAdvancementTab.Builder
-
Sets the background texture for the tab using a string representation of a
NamespacedKey. - background(NamespacedKey) - Method in interface cz.jeme.advancium.CustomAdvancementTab.Builder
-
Sets the background texture for the tab using a
NamespacedKey. - build() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Builds and returns the
CustomAdvancementDisplayinstance. - build() - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Builds and returns the configured
CustomAdvancementRewards. - buildAndBindTo(CustomAdvancement) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds this advancement and binds it to a specified
CustomAdvancementparent. - buildAndBindTo(CustomAdvancementTab) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds this advancement and binds it to the root custom advancement in a specified tab.
- buildAndBindToBukkit(String, Plugin) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds this advancement and binds it to a Bukkit
Advancementusing aStringkey. - buildAndBindToBukkit(Advancement, Plugin) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds this advancement and binds it to a Bukkit
Advancementinstance. - buildAndBindToBukkit(NamespacedKey, Plugin) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds this advancement and binds it to a Bukkit
Advancementusing aNamespacedKey. - buildAndLoad() - Method in interface cz.jeme.advancium.CustomAdvancementTab.Builder
-
Builds and registers the
CustomAdvancementTab.
C
- CHALLENGE - Enum constant in enum class cz.jeme.advancium.CustomAdvancementDisplay.Frame
-
Represents a challenge advancement.
- criteria() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the
Setof criteria. - criteria(Set<String>) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Deprecated.
- CustomAdvancement - Interface in cz.jeme.advancium
-
Represents a custom advancement.
- CustomAdvancement.Builder - Interface in cz.jeme.advancium
-
Builder for creating and configuring instances of
CustomAdvancement. - CustomAdvancementDisplay - Interface in cz.jeme.advancium
-
Represents the display properties of a custom advancement.
- CustomAdvancementDisplay.Builder - Interface in cz.jeme.advancium
-
Builder interface for creating and configuring
CustomAdvancementDisplayinstances. - CustomAdvancementDisplay.Frame - Enum Class in cz.jeme.advancium
-
Enum representing the frame types of a custom advancement.
- CustomAdvancementRewards - Interface in cz.jeme.advancium
-
Represents the rewards granted upon completing a custom advancement.
- CustomAdvancementRewards.Builder - Interface in cz.jeme.advancium
-
Builder for constructing instances of
CustomAdvancementRewards. - CustomAdvancementTab - Interface in cz.jeme.advancium
-
Represents a custom advancement tab.
- CustomAdvancementTab.Builder - Interface in cz.jeme.advancium
-
Builder for creating and configuring instances of
CustomAdvancementTab. - cz.jeme.advancium - package cz.jeme.advancium
-
Provides classes and interfaces for creating and managing custom advancements in Minecraft.
D
- description() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Gets the description of the advancement.
- description(Component) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets the description of the advancement.
- display() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the display properties of the custom advancement.
- display() - Static method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Creates a new builder for configuring and building a
CustomAdvancementDisplay. - display(CustomAdvancementDisplay) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Sets the display properties of the advancement.
- display(CustomAdvancementDisplay.Builder) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds the display properties for the advancement before setting them.
E
- empty() - Static method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Returns an empty implementation of
CustomAdvancementDisplay, containing default values. - empty() - Static method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Returns an empty instance of
CustomAdvancementRewardswith no rewards. - experience() - Method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Gets the amount of experience granted upon completion of the advancement.
- experience(int) - Method in interface cz.jeme.advancium.CustomAdvancementRewards.Builder
-
Sets the amount of experience granted upon completion of the advancement.
F
- frame() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Gets the frame type of the advancement, which informs the visual style and importance.
- frame(CustomAdvancementDisplay.Frame) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets the frame type for the advancement.
G
- GOAL - Enum constant in enum class cz.jeme.advancium.CustomAdvancementDisplay.Frame
-
Represents a goal advancement.
H
- hasCustomParent() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Checks whether this custom advancement has a
CustomAdvancementparent. - hasCustomTab() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Checks whether this custom advancement belongs to a
CustomAdvancementTab. - hidden() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Checks whether the advancement is hidden until it is unlocked.
- hidden(boolean) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets whether the advancement should remain hidden until achieved.
I
- icon() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Gets the icon associated with the advancement.
- icon(ItemStack) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets the icon for the advancement.
- icon(ItemStack, Consumer<ItemStack>) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets the icon for the advancement after applying modifications via a consumer.
- icon(Material) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets the icon for the advancement using a material type.
- id() - Method in enum class cz.jeme.advancium.CustomAdvancementDisplay.Frame
-
Gets the
Stringidentifier of the frame. - isRoot() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Checks whether this custom advancement is a root custom advancement.
K
- key() - Method in interface cz.jeme.advancium.Keyed
- Keyed - Interface in cz.jeme.advancium
-
Something that has an associated
NamespacedKey.
L
- loot() - Method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Returns a deep-copied, immutable list of loot granted as rewards.
- lootTableKeys() - Method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Gets a
ListofNamespacedKeys for loot tables granted as rewards. - lootTables() - Method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Gets a
Listof loot tables granted as rewards.
O
- on(Class<T>, BiConsumer<T, CustomAdvancement>) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Adds an event handler for this advancement with default normal priority (
EventPriority.NORMAL). - on(Class<T>, EventPriority, BiConsumer<T, CustomAdvancement>) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Adds an event handler for this advancement.
- onAdvancementCompleted(BiConsumer<PlayerAdvancementCriterionGrantEvent, CustomAdvancement>) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Adds an event handler that fires when a player completes this advancement (i.e., when they have acquired all required criteria).
- onCriterionGranted(BiConsumer<PlayerAdvancementCriterionGrantEvent, CustomAdvancement>) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Adds an event handler that fires when a player is granted any criterion of this advancement.
P
- parent() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the parent
CustomAdvancement. - parentKey() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the
NamespacedKeyof the parent advancement. - plugin() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the plugin associated with this custom advancement.
- plugin() - Method in interface cz.jeme.advancium.CustomAdvancementTab
-
Gets the plugin associated with this custom advancement tab.
- progress(Player) - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the
AdvancementProgressassociated with the given player.
R
- recipeKeys() - Method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Gets a
ListofNamespacedKeys for recipes granted as rewards. - recipes() - Method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Gets a
Listof recipes granted as rewards. - requirements() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the
Setof criteria groups that define the requirements for advancement completion. - requirements(String, String...) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Sets the requirements for this advancement, where each provided criterion forms its own group.
- requirements(Set<Set<String>>) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Sets the requirements for this advancement with custom groupings.
- rewards() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the rewards granted upon completing the advancement.
- rewards() - Static method in interface cz.jeme.advancium.CustomAdvancementRewards
-
Creates a new builder for configuring and constructing
CustomAdvancementRewards. - rewards(CustomAdvancementRewards) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Sets the rewards for the advancement.
- rewards(CustomAdvancementRewards.Builder) - Method in interface cz.jeme.advancium.CustomAdvancement.Builder
-
Builds the rewards for the advancement before setting them.
- root() - Method in interface cz.jeme.advancium.CustomAdvancementTab
-
Gets the root advancement of this tab.
- root(CustomAdvancement.Builder) - Method in interface cz.jeme.advancium.CustomAdvancementTab.Builder
-
Sets the root advancement for the tab.
S
- showToast() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Checks whether a notification toast is shown to the player when the advancement is achieved.
- showToast(boolean) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets whether a notification toast should be shown when the advancement is achieved.
T
- tab() - Method in interface cz.jeme.advancium.CustomAdvancement
-
Gets the
CustomAdvancementTabwhere this advancement is displayed. - tab(Plugin) - Static method in interface cz.jeme.advancium.CustomAdvancementTab
-
Creates a new builder for configuring and constructing a
CustomAdvancementTab. - TASK - Enum constant in enum class cz.jeme.advancium.CustomAdvancementDisplay.Frame
-
Represents a task advancement.
- title() - Method in interface cz.jeme.advancium.CustomAdvancementDisplay
-
Gets the title of the advancement.
- title(Component) - Method in interface cz.jeme.advancium.CustomAdvancementDisplay.Builder
-
Sets the title of the advancement.
V
- valueOf(String) - Static method in enum class cz.jeme.advancium.CustomAdvancementDisplay.Frame
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cz.jeme.advancium.CustomAdvancementDisplay.Frame
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages
CustomAdvancement.Builder.requirements(String, String...), criteria are now automatically derived from requirements