Index
All Classes and Interfaces|All Packages
A
- accept(T) - Method in class dev.aurelium.slate.inv.InventoryListener
- Action - Class in dev.aurelium.slate.action
- Action(Slate) - Constructor for class dev.aurelium.slate.action.Action
- ActionManager - Class in dev.aurelium.slate.action
- ActionManager(Slate) - Constructor for class dev.aurelium.slate.action.ActionManager
- ActionParser - Class in dev.aurelium.slate.action.parser
- ActionParser(Slate) - Constructor for class dev.aurelium.slate.action.parser.ActionParser
- actions - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- actions() - Method in record class dev.aurelium.slate.action.ItemActions
-
Returns the value of the
actionsrecord component. - actions() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
actionsrecord component. - actions() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
actionsrecord component. - actions(ItemActions) - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- ActiveItem - Class in dev.aurelium.slate.item.active
- ActiveItem() - Constructor for class dev.aurelium.slate.item.active.ActiveItem
- ActiveMenu - Class in dev.aurelium.slate.menu
- ActiveMenu(MenuInventory) - Constructor for class dev.aurelium.slate.menu.ActiveMenu
- ActiveSingleItem - Class in dev.aurelium.slate.item.active
- ActiveSingleItem(SingleItem) - Constructor for class dev.aurelium.slate.item.active.ActiveSingleItem
- ActiveTemplateItem<C> - Class in dev.aurelium.slate.item.active
- ActiveTemplateItem(TemplateItem<C>) - Constructor for class dev.aurelium.slate.item.active.ActiveTemplateItem
- add(ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Adds an item to the first empty slot of the inventory.
- add(ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- addLoadedMenu(LoadedMenu) - Method in class dev.aurelium.slate.Slate
- addMergeDirectory(File) - Method in class dev.aurelium.slate.Slate
- addProtection(ItemStack) - Static method in class dev.aurelium.slate.item.ItemProtection
- addToIterator(SlotIterator) - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Adds all the current page items to the given iterator.
- addToIterator(SlotIterator) - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- all() - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Returns a 2D array of ClickableItems containing all the items of the inventory.
- all() - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- allowOverride(boolean) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Sets the value of the allow override option.
- allowOverride(boolean) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- ANY - Enum constant in enum class dev.aurelium.slate.action.trigger.ClickTrigger
- anyReplacer() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns the value of the
anyReplacerrecord component. - anyReplacer() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns the value of the
anyReplacerrecord component. - anyReplacer() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
anyReplacerrecord component. - append(String, String...) - Method in class dev.aurelium.slate.item.provider.ListBuilder
- applyGlobalReplacers(String, Slate, Player, ActiveMenu, PlaceholderType) - Method in record class dev.aurelium.slate.builder.GlobalBehavior
- applyNewLines(String) - Method in class dev.aurelium.slate.text.TextFormatter
- applyNewLines(List<String>) - Method in class dev.aurelium.slate.text.TextFormatter
- applyRect(int, int, int, int, BiConsumer<Integer, Integer>) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Apply the consumer on a rectangle inside the inventory using the given positions.
- applyRect(int, int, int, int, BiConsumer<Integer, Integer>) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- applyRect(int, int, int, int, Consumer<ClickableItem>) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Apply the consumer on a rectangle inside the inventory using the given positions.
- applyRect(int, int, int, int, Consumer<ClickableItem>) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- applyReplacers(String, Slate, Player, ActiveMenu, ComponentData, T) - Method in record class dev.aurelium.slate.builder.BuiltComponent
- applyReplacers(String, Slate, Player, ActiveMenu, PlaceholderType) - Method in record class dev.aurelium.slate.builder.BuiltItem
- applyReplacers(String, Slate, Player, ActiveMenu, PlaceholderType, T) - Method in record class dev.aurelium.slate.builder.BuiltTemplate
- applyReplacers(String, Player, ActiveMenu, PlaceholderType, T) - Method in class dev.aurelium.slate.text.TemplateTextReplacer
- applyTitleReplacers(String, Slate, Player, ActiveMenu) - Method in record class dev.aurelium.slate.builder.BuiltMenu
- attach(char, T) - Method in class dev.aurelium.slate.inv.util.Pattern
-
Attaches an object to a character in this pattern instance.
B
- baseItem() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns the value of the
baseItemrecord component. - baseItem() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns the value of the
baseItemrecord component. - baseItem(ItemStack) - Method in class dev.aurelium.slate.item.builder.SingleItemBuilder
- baseItems() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
baseItemsrecord component. - baseItems(Map<C, ItemStack>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- blacklist(int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Blacklists the given slot index.
- blacklist(int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- blacklist(int, int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Blacklists the given slot position.
- blacklist(int, int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- blacklist(SlotPos) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Blacklists the given slot position.
- blacklist(SlotPos) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- blacklistPattern(Pattern<Boolean>) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
This method has the inverse effect of
SlotIterator.withPattern(Pattern), where the other method would only allow the iterator to go, this method prohibits this slots to iterate over - blacklistPattern(Pattern<Boolean>) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- blacklistPattern(Pattern<Boolean>, int, int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
This method has the inverse effect of
SlotIterator.withPattern(Pattern, int, int), where the other method would only allow the iterator to go, this method prohibits this slots to iterate over - blacklistPattern(Pattern<Boolean>, int, int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- blockWithBase64(Block, String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Sets the block to a skull with the skin for the base64 string.
- blockWithName(Block, String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Deprecated.names don't make for good identifiers.
- blockWithUrl(Block, String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Sets the block to a skull with the skin found at the provided mojang URL.
- blockWithUuid(Block, UUID) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Sets the block to a skull with the given UUID.
- BORDER - Enum constant in enum class dev.aurelium.slate.fill.FillShape
- BOTTOM_ROW - Enum constant in enum class dev.aurelium.slate.fill.FillShape
- build() - Method in class dev.aurelium.slate.builder.ComponentBuilder
- build() - Method in class dev.aurelium.slate.builder.GlobalBehaviorBuilder
- build() - Method in class dev.aurelium.slate.builder.ItemBuilder
- build() - Method in class dev.aurelium.slate.builder.MenuBuilder
- build() - Method in class dev.aurelium.slate.builder.TemplateBuilder
- build() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- build() - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- build() - Method in class dev.aurelium.slate.item.builder.SingleItemBuilder
- build() - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- build() - Method in class dev.aurelium.slate.item.provider.ListBuilder
- build() - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Builds the
SlateOptionsobject. - builder() - Static method in record class dev.aurelium.slate.builder.GlobalBehavior
-
Creates a new
GlobalBehaviorBuilder. - builder() - Static method in class dev.aurelium.slate.builder.GlobalBehaviorBuilder
-
Creates a new
GlobalBehaviorBuilder. - builder() - Static method in class dev.aurelium.slate.builder.ItemBuilder
-
Create a new ItemBuilder instance
- builder() - Static method in class dev.aurelium.slate.builder.MenuBuilder
-
Creates a new menu builder instance.
- builder() - Static method in class dev.aurelium.slate.inv.SmartInventory
- builder() - Static method in record class dev.aurelium.slate.option.SlateOptions
- builder(Class<T>) - Static method in class dev.aurelium.slate.builder.ComponentBuilder
- builder(Class<T>) - Static method in class dev.aurelium.slate.builder.TemplateBuilder
- buildMenu(String, Consumer<MenuBuilder>) - Method in class dev.aurelium.slate.Slate
-
Creates a new menu with a name and a consumer to build the menu.
- BuiltComponent<T> - Record Class in dev.aurelium.slate.builder
- BuiltComponent(Class<T>, Map<String, ComponentReplacer<T>>, ComponentReplacer<T>, ComponentVisibility<T>, ComponentInstances<T>) - Constructor for record class dev.aurelium.slate.builder.BuiltComponent
-
Creates an instance of a
BuiltComponentrecord class. - BuiltItem - Record Class in dev.aurelium.slate.builder
- BuiltItem(Map<String, ItemReplacer>, ItemReplacer, Map<ClickTrigger, ItemClicker>, ItemModifier, MenuListener) - Constructor for record class dev.aurelium.slate.builder.BuiltItem
-
Creates an instance of a
BuiltItemrecord class. - BuiltMenu - Record Class in dev.aurelium.slate.builder
- BuiltMenu(Map<String, BuiltItem>, Map<String, BuiltTemplate<?>>, Map<String, BuiltComponent<?>>, Map<String, ItemReplacer>, Map<String, ItemReplacer>, ItemReplacer, PageProvider, PropertyProvider, ItemModifier, MenuListener, MenuListener, Map<String, Object>) - Constructor for record class dev.aurelium.slate.builder.BuiltMenu
-
Creates an instance of a
BuiltMenurecord class. - BuiltTemplate<T> - Record Class in dev.aurelium.slate.builder
- BuiltTemplate(Class<T>, Map<String, TemplateReplacer<T>>, TemplateReplacer<T>, Map<ClickTrigger, TemplateClicker<T>>, TemplateModifier<T>, DefinedContexts<T>, TemplateSlot<T>, MenuListener, ContextListener<T>) - Constructor for record class dev.aurelium.slate.builder.BuiltTemplate
-
Creates an instance of a
BuiltTemplaterecord class. - BukkitScheduler - Class in dev.aurelium.slate.scheduler
- BukkitScheduler(JavaPlugin) - Constructor for class dev.aurelium.slate.scheduler.BukkitScheduler
C
- cancel() - Method in class dev.aurelium.slate.scheduler.WrappedTask
- cancelUpdateTask(Player) - Method in class dev.aurelium.slate.inv.InventoryManager
- canClick(Predicate<Player>) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Sets a test to check if a player is allowed to click the item.
- canSee(Predicate<Player>) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Sets a test to check if a player is allowed to see this item.
- canSee(Predicate<Player>, ItemStack) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Sets a test to check if a player is allowed to see this item.
- capitalize(String) - Static method in class dev.aurelium.slate.util.TextUtil
- capitalizeWord(String) - Static method in class dev.aurelium.slate.util.TextUtil
- capitalizeWord(String, char...) - Static method in class dev.aurelium.slate.util.TextUtil
- CENTER - Enum constant in enum class dev.aurelium.slate.context.GroupAlign
- checkBounds(int, int) - Method in class dev.aurelium.slate.inv.SmartInventory
-
Checks if this inventory has a slot at the specified position
- ChestInventoryOpener - Class in dev.aurelium.slate.inv.opener
- ChestInventoryOpener() - Constructor for class dev.aurelium.slate.inv.opener.ChestInventoryOpener
- click(ItemClick) - Method in interface dev.aurelium.slate.function.ItemClicker
-
Code to run when an item is clicked.
- click(TemplateClick<T>) - Method in interface dev.aurelium.slate.function.TemplateClicker
-
Code to run when an instance of a template is clicked.
- ClickableItem - Class in dev.aurelium.slate.inv
- clickConditions() - Method in record class dev.aurelium.slate.action.condition.ItemConditions
-
Returns the value of the
clickConditionsrecord component. - clickers() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns the value of the
clickersrecord component. - clickers() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
clickersrecord component. - ClickTrigger - Enum Class in dev.aurelium.slate.action.trigger
- clone(ItemStack) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Clones this ClickableItem using a different item.
- cloneWithNewItem(ItemStack) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Clones this ClickableItem while keeping its
Consumer, but giving it a newItemStack. - close(Player) - Method in class dev.aurelium.slate.inv.SmartInventory
- close(InventoryCloseEvent) - Method in class dev.aurelium.slate.menu.MenuInventory
- CLOSE - Enum constant in enum class dev.aurelium.slate.action.MenuAction.ActionType
- CLOSE - Enum constant in enum class dev.aurelium.slate.action.trigger.MenuTrigger
- closeable(boolean) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- column() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Gets the current column of the iterator.
- column() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- column(int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Sets the current column of the iterator.
- column(int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- CommandAction - Class in dev.aurelium.slate.action
- CommandAction(Slate, String, CommandAction.Executor) - Constructor for class dev.aurelium.slate.action.CommandAction
- CommandAction.Executor - Enum Class in dev.aurelium.slate.action
- CommandActionParser - Class in dev.aurelium.slate.action.parser
- CommandActionParser(Slate) - Constructor for class dev.aurelium.slate.action.parser.CommandActionParser
- component() - Method in class dev.aurelium.slate.info.ComponentPlaceholderInfo
-
Gets the component data of the component containing the placeholder, which contains information about this instance.
- component(String, Class<T>, Consumer<ComponentBuilder<T>>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add a component to the menu.
- component(String, Class<T>, ComponentBuilder<T>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add a component to the menu that accepts a
ComponentBuilderinstance you must create yourself. - component(String, Consumer<ComponentBuilder<?>>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add a component without a context type to the menu.
- COMPONENT - Enum constant in enum class dev.aurelium.slate.lore.LoreType
- ComponentBuilder<T> - Class in dev.aurelium.slate.builder
- ComponentData - Record Class in dev.aurelium.slate.component
- ComponentData(int) - Constructor for record class dev.aurelium.slate.component.ComponentData
-
Creates an instance of a
ComponentDatarecord class. - ComponentInfo<T> - Class in dev.aurelium.slate.info
- ComponentInfo(Slate, Player, ActiveMenu, ItemStack, String, T) - Constructor for class dev.aurelium.slate.info.ComponentInfo
- ComponentInstances<T> - Interface in dev.aurelium.slate.function
- ComponentLore - Class in dev.aurelium.slate.lore.type
- ComponentLore(String) - Constructor for class dev.aurelium.slate.lore.type.ComponentLore
- ComponentLoreParser - Class in dev.aurelium.slate.lore.parser
- ComponentLoreParser() - Constructor for class dev.aurelium.slate.lore.parser.ComponentLoreParser
- ComponentParser - Class in dev.aurelium.slate.component
- ComponentParser(Slate) - Constructor for class dev.aurelium.slate.component.ComponentParser
- ComponentPlaceholderInfo<T> - Class in dev.aurelium.slate.info
-
Represents contextual information about a placeholder in a menu within a component.
- ComponentPlaceholderInfo(Slate, Player, String, ActiveMenu, PlaceholderData, ComponentData, T) - Constructor for class dev.aurelium.slate.info.ComponentPlaceholderInfo
- ComponentReplacer<T> - Interface in dev.aurelium.slate.function
- components() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
componentsrecord component. - components() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
componentsrecord component. - ComponentVisibility<T> - Interface in dev.aurelium.slate.function
- Condition - Class in dev.aurelium.slate.action.condition
- Condition(Slate) - Constructor for class dev.aurelium.slate.action.condition.Condition
- ConditionParser - Class in dev.aurelium.slate.action.condition
- ConditionParser(Slate) - Constructor for class dev.aurelium.slate.action.condition.ConditionParser
- conditions - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- conditions() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
conditionsrecord component. - conditions(ItemConditions) - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- ConfigurateItemParser - Class in dev.aurelium.slate.item.parser
- ConfigurateItemParser(Slate) - Constructor for class dev.aurelium.slate.item.parser.ConfigurateItemParser
- CONSOLE - Enum constant in enum class dev.aurelium.slate.action.CommandAction.Executor
- contextClass() - Method in record class dev.aurelium.slate.component.MenuComponent
-
Returns the value of the
contextClassrecord component. - contextClass(Class<C>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- contextFilters() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns the value of the
contextFiltersrecord component. - ContextGroup - Class in dev.aurelium.slate.context
- ContextGroup(SlotPos, SlotPos, GroupAlign) - Constructor for class dev.aurelium.slate.context.ContextGroup
- contextGroups(Map<String, ContextGroup>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- contextListener() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
contextListenerrecord component. - ContextListener<T> - Interface in dev.aurelium.slate.function
- ContextManager - Class in dev.aurelium.slate.context
- ContextManager() - Constructor for class dev.aurelium.slate.context.ContextManager
- ContextProvider<C> - Interface in dev.aurelium.slate.context
- contextType() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns the value of the
contextTyperecord component. - contextType() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
contextTyperecord component. - contextualActions(Map<C, ItemActions>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- contextualConditions(Map<C, ItemConditions>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- contextualDisplayNames(Map<C, String>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- contextualLore(Map<C, List<LoreLine>>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- createEmpty() - Static method in record class dev.aurelium.slate.builder.BuiltItem
- createEmpty() - Static method in record class dev.aurelium.slate.builder.BuiltMenu
- createEmpty(Class<T>) - Static method in record class dev.aurelium.slate.builder.BuiltComponent
- createEmpty(Class<T>) - Static method in record class dev.aurelium.slate.builder.BuiltTemplate
- createScheduler(JavaPlugin) - Static method in class dev.aurelium.slate.scheduler.Scheduler
- createSkull() - Static method in class dev.aurelium.slate.util.SkullCreator
-
Creates a player skull, should work in both legacy and new Bukkit APIs.
D
- data() - Method in class dev.aurelium.slate.info.PlaceholderInfo
-
Gets data about the specific placeholder, such as where it is located (display name or lore), the active style, and list data if applicable.
- decodeSkinUrl(String) - Static method in class dev.aurelium.slate.util.SkullCreator
- defaultBaseItem(ItemStack) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- DefaultContextProvider<C> - Class in dev.aurelium.slate.context
- DefaultContextProvider(Class<C>, BiFunction<String, String, C>) - Constructor for class dev.aurelium.slate.context.DefaultContextProvider
- defaultOptions() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
defaultOptionsrecord component. - defaultOptions(Map<String, Object>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Sets default options for the menu, matching values in the options section of a menu file.
- defaultPosition(PositionProvider) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- defaultProperty(String, Object) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Sets a property only if a property with the given name has not been set.
- defaultSize(InventoryType) - Method in interface dev.aurelium.slate.inv.opener.InventoryOpener
-
This method is used to configure the default inventory size(s) for inventories supported by this opener.
- definedContexts() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
definedContextsrecord component. - definedContexts(DefinedContexts<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- DefinedContexts<T> - Interface in dev.aurelium.slate.function
- deleteStaticReferences() - Static method in class dev.aurelium.slate.inv.SmartInvsPlugin
- detectListPlaceholder(String) - Static method in class dev.aurelium.slate.lore.LoreInterpreter
- dev.aurelium.slate - package dev.aurelium.slate
- dev.aurelium.slate.action - package dev.aurelium.slate.action
- dev.aurelium.slate.action.condition - package dev.aurelium.slate.action.condition
- dev.aurelium.slate.action.parser - package dev.aurelium.slate.action.parser
- dev.aurelium.slate.action.trigger - package dev.aurelium.slate.action.trigger
- dev.aurelium.slate.builder - package dev.aurelium.slate.builder
- dev.aurelium.slate.component - package dev.aurelium.slate.component
- dev.aurelium.slate.context - package dev.aurelium.slate.context
- dev.aurelium.slate.fill - package dev.aurelium.slate.fill
- dev.aurelium.slate.function - package dev.aurelium.slate.function
- dev.aurelium.slate.info - package dev.aurelium.slate.info
- dev.aurelium.slate.inv - package dev.aurelium.slate.inv
-
Default package for the SmartInvs API.
- dev.aurelium.slate.inv.content - package dev.aurelium.slate.inv.content
-
Lists the classes related to the content of an inventory, and the ways to edit this content.
- dev.aurelium.slate.inv.opener - package dev.aurelium.slate.inv.opener
-
Lists the classes related to the opening of an inventory,
InventoryOpener. - dev.aurelium.slate.inv.util - package dev.aurelium.slate.inv.util
-
Lists all the other util classes related to the SmartInvs API.
- dev.aurelium.slate.item - package dev.aurelium.slate.item
- dev.aurelium.slate.item.active - package dev.aurelium.slate.item.active
- dev.aurelium.slate.item.builder - package dev.aurelium.slate.item.builder
- dev.aurelium.slate.item.option - package dev.aurelium.slate.item.option
- dev.aurelium.slate.item.parser - package dev.aurelium.slate.item.parser
- dev.aurelium.slate.item.provider - package dev.aurelium.slate.item.provider
- dev.aurelium.slate.lore - package dev.aurelium.slate.lore
- dev.aurelium.slate.lore.parser - package dev.aurelium.slate.lore.parser
- dev.aurelium.slate.lore.type - package dev.aurelium.slate.lore.type
- dev.aurelium.slate.menu - package dev.aurelium.slate.menu
- dev.aurelium.slate.option - package dev.aurelium.slate.option
- dev.aurelium.slate.position - package dev.aurelium.slate.position
- dev.aurelium.slate.scheduler - package dev.aurelium.slate.scheduler
- dev.aurelium.slate.text - package dev.aurelium.slate.text
- dev.aurelium.slate.util - package dev.aurelium.slate.util
- DISPLAY_NAME - Enum constant in enum class dev.aurelium.slate.item.provider.PlaceholderType
- displayName - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- displayName() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns the value of the
displayNamerecord component. - displayName(String) - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- displayNames() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
displayNamesrecord component. - doesAllowOverride() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Gets the value of the allow override option.
- doesAllowOverride() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- DROP - Enum constant in enum class dev.aurelium.slate.action.trigger.ClickTrigger
E
- empty() - Static method in record class dev.aurelium.slate.action.condition.ItemConditions
- empty() - Static method in record class dev.aurelium.slate.action.ItemActions
- empty(Slate) - Static method in record class dev.aurelium.slate.fill.FillData
- empty(Slate, Player) - Static method in class dev.aurelium.slate.menu.ActiveMenu
- empty(ItemStack) - Static method in class dev.aurelium.slate.inv.ClickableItem
-
Creates a ClickableItem made of a given item and an empty consumer, thus doing nothing when we click on the item.
- EmptyActiveMenu - Class in dev.aurelium.slate.menu
- enabled() - Method in record class dev.aurelium.slate.fill.FillData
-
Returns the value of the
enabledrecord component. - ended() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Checks if this iterator has been ended.
- ended() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- endPosition(int, int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Sets the slot where the iterator should end.
- endPosition(int, int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- endPosition(SlotPos) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Sets the slot where the iterator should end.
- endPosition(SlotPos) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- equals(Object) - Method in record class dev.aurelium.slate.action.condition.ItemConditions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.action.ItemActions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.builder.GlobalBehavior
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.component.ComponentData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.component.MenuComponent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.fill.FillData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class dev.aurelium.slate.inv.content.SlotPos
- equals(Object) - Method in record class dev.aurelium.slate.item.ItemVariant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.item.TemplateData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.lore.LoreStyles
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.option.SlateOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.position.FixedPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.position.GroupPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.aurelium.slate.position.MultiPosition
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Enum constant in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
- event() - Method in class dev.aurelium.slate.item.ItemClick
-
Gets the original Bukkit event for the inventory click.
- execute(Player, MenuInventory, InventoryContents) - Method in class dev.aurelium.slate.action.Action
- execute(Player, MenuInventory, InventoryContents) - Method in class dev.aurelium.slate.action.CommandAction
- execute(Player, MenuInventory, InventoryContents) - Method in class dev.aurelium.slate.action.MenuAction
- execute(Player, MenuInventory, InventoryContents) - Method in class dev.aurelium.slate.action.SoundAction
- executeActions(MenuTrigger, Player, MenuInventory) - Method in record class dev.aurelium.slate.menu.LoadedMenu
F
- failsClickConditions(ClickTrigger, Player, MenuInventory) - Method in class dev.aurelium.slate.item.MenuItem
- failsConditions(Player, MenuInventory, List<Condition>) - Method in class dev.aurelium.slate.item.MenuItem
- failsContextClickConditions(C, ClickTrigger, Player, MenuInventory) - Method in class dev.aurelium.slate.item.TemplateItem
- failsContextViewConditions(C, Player, MenuInventory) - Method in class dev.aurelium.slate.item.TemplateItem
- failsViewConditions(Player, MenuInventory) - Method in class dev.aurelium.slate.item.MenuItem
- fill(ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given item.
- fill(ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fill(Inventory, InventoryContents, Player) - Method in interface dev.aurelium.slate.inv.opener.InventoryOpener
- fillBorders(ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory borders with the given item.
- fillBorders(ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillColumn(int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the given inventory column with the given item.
- fillColumn(int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillData() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
fillDatarecord component. - FillData - Record Class in dev.aurelium.slate.fill
- FillData(FillItem, SlotPos[], boolean) - Constructor for record class dev.aurelium.slate.fill.FillData
-
Creates an instance of a
FillDatarecord class. - fillItem() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
fillItemrecord component. - fillItem(ItemModifier) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Defines a fill item or modifies an existing fill item in the menu.
- FillItem - Class in dev.aurelium.slate.fill
- FillItem(Slate, ItemStack) - Constructor for class dev.aurelium.slate.fill.FillItem
- FillItemParser - Class in dev.aurelium.slate.fill
- FillItemParser(Slate) - Constructor for class dev.aurelium.slate.fill.FillItemParser
- fillPattern(Pattern<ClickableItem>) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPattern(Pattern<ClickableItem>) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPattern(Pattern<ClickableItem>, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPattern(Pattern<ClickableItem>, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPattern(Pattern<ClickableItem>, int, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPattern(Pattern<ClickableItem>, int, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPattern(Pattern<ClickableItem>, SlotPos) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPattern(Pattern<ClickableItem>, SlotPos) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPatternRepeating(Pattern<ClickableItem>) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPatternRepeating(Pattern<ClickableItem>) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPatternRepeating(Pattern<ClickableItem>, int, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPatternRepeating(Pattern<ClickableItem>, int, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPatternRepeating(Pattern<ClickableItem>, int, int, int, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPatternRepeating(Pattern<ClickableItem>, int, int, int, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillPatternRepeating(Pattern<ClickableItem>, SlotPos, SlotPos) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the inventory with the given
Pattern. - fillPatternRepeating(Pattern<ClickableItem>, SlotPos, SlotPos) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillRect(int, int, int, int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.fillRect(int, int, ClickableItem), but withSlotPosinstead of the indexes. - fillRect(int, int, int, int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillRect(int, int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills a rectangle inside the inventory using the given positions.
- fillRect(int, int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillRect(SlotPos, SlotPos, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.fillRect(int, int, ClickableItem), but with rows and columns instead of the indexes. - fillRect(SlotPos, SlotPos, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillRow(int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Fills the given inventory row with the given item.
- fillRow(int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- FillShape - Enum Class in dev.aurelium.slate.fill
- fillSquare(int, int, int, int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Completely fills the provided square with the given
ClickableItem. - fillSquare(int, int, int, int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillSquare(int, int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Completely fills the provided square with the given
ClickableItem. - fillSquare(int, int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- fillSquare(SlotPos, SlotPos, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Completely fills the provided square with the given
ClickableItem. - fillSquare(SlotPos, SlotPos, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- findAllKeys(char) - Method in class dev.aurelium.slate.inv.util.Pattern
-
Searches through this patterns lines to find all occurrences of this key.
- findItem(ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Looks for the given item and compares them using
ItemStack.isSimilar(ItemStack), ignoring the amount. - findItem(ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- findItem(ItemStack) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Looks for the given item and compares them using
ItemStack.isSimilar(ItemStack), ignoring the amount. - findItem(ItemStack) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- findKey(char) - Method in class dev.aurelium.slate.inv.util.Pattern
-
Searches through this patterns lines to find the first top-left occurrence of this key.
- findOpener(InventoryType) - Method in class dev.aurelium.slate.inv.InventoryManager
- first() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets the current page to the first page.
- first() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- first() - Method in class dev.aurelium.slate.util.Pair
- firstEmpty() - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Returns the position of the first empty slot in the inventory, or
Optional.empty()if there is no free slot. - firstEmpty() - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- FixedPosition - Record Class in dev.aurelium.slate.position
- FixedPosition(SlotPos) - Constructor for record class dev.aurelium.slate.position.FixedPosition
-
Creates an instance of a
FixedPositionrecord class. - format0(double) - Static method in class dev.aurelium.slate.util.NumberUtil
- format1(double) - Static method in class dev.aurelium.slate.util.NumberUtil
- format2(double) - Static method in class dev.aurelium.slate.util.NumberUtil
- formats() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
formatsrecord component. - from(ItemStack, Consumer<ItemClickData>) - Static method in class dev.aurelium.slate.inv.ClickableItem
-
Creates a ClickableItem made of a given item and a given ItemClickData's consumer.
- FULL - Enum constant in enum class dev.aurelium.slate.fill.FillShape
G
- generate() - Method in class dev.aurelium.slate.menu.MenuFileGenerator
- generateFiles() - Method in class dev.aurelium.slate.Slate
-
Generates missing menu files into the
SlateOptions.mainDirectory()based on the menu names registered previously throughSlate.buildMenu(String, Consumer). - generateUserFile(String) - Method in class dev.aurelium.slate.util.YamlLoader
- get() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Gets the item at the current position in the inventory.
- get() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- get(int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Returns the item in the inventory at the given slot index, or
Optional.empty()if the slot is empty or if the index is out of bounds. - get(int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- get(int, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.get(int), but with a row and a column instead of the index. - get(int, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- get(MenuInfo) - Method in interface dev.aurelium.slate.function.DefinedContexts
-
Gets the set of defined contexts for a template.
- get(MenuInfo) - Method in interface dev.aurelium.slate.function.PropertyProvider
-
Gets the default properties of a menu.
- get(TemplateInfo<T>) - Method in interface dev.aurelium.slate.function.TemplateSlot
-
Gets the slot position of a template instance.
- get(SlotPos) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.get(int), but with aSlotPosinstead of the index. - get(SlotPos) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- get(Player) - Method in interface dev.aurelium.slate.function.LocaleProvider
-
Gets the locale of a player.
- getActionManager() - Method in class dev.aurelium.slate.Slate
- getActions() - Method in class dev.aurelium.slate.item.MenuItem
- getActiveDisplayName(C) - Method in class dev.aurelium.slate.item.TemplateItem
-
Gets the active display name for the given context.
- getActiveItem(String) - Method in class dev.aurelium.slate.menu.MenuInventory
- getActiveLore(C) - Method in class dev.aurelium.slate.item.TemplateItem
-
Gets the active lore for the given context.
- getActiveMenu() - Method in class dev.aurelium.slate.menu.MenuInventory
- getAlign() - Method in class dev.aurelium.slate.context.ContextGroup
- getBackingItem(String) - Method in record class dev.aurelium.slate.builder.BuiltMenu
- getBaseItem() - Method in class dev.aurelium.slate.fill.FillItem
- getBaseItem() - Method in class dev.aurelium.slate.item.SingleItem
- getBaseItems() - Method in class dev.aurelium.slate.item.TemplateItem
- getBottomInventory(Player) - Static method in class dev.aurelium.slate.util.InventoryUtil
- getBuiltMenu() - Method in class dev.aurelium.slate.menu.MenuInventory
- getBuiltMenu(String) - Method in class dev.aurelium.slate.Slate
-
Gets a built menu by its name.
- getBuiltMenus() - Method in class dev.aurelium.slate.Slate
- getCenterSlots() - Method in class dev.aurelium.slate.position.GroupUtil
- getColumn() - Method in class dev.aurelium.slate.inv.content.SlotPos
- getColumnCount() - Method in class dev.aurelium.slate.inv.util.Pattern
-
This method counts the amount of rows this pattern has based on the length of the lines
- getColumns() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getColumns() - Method in class dev.aurelium.slate.inv.SmartInventory
- getComponent() - Method in class dev.aurelium.slate.lore.type.ComponentLore
- getComponent(String, Class<T>) - Method in record class dev.aurelium.slate.builder.BuiltMenu
- getComponents() - Method in class dev.aurelium.slate.menu.ActiveMenu
- getConditions() - Method in class dev.aurelium.slate.item.MenuItem
- getConditions(ConfigurationNode, String) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- getContents() - Method in class dev.aurelium.slate.menu.MenuInventory
- getContents(Player) - Method in class dev.aurelium.slate.inv.InventoryManager
- getContextActions(C) - Method in class dev.aurelium.slate.item.TemplateItem
- getContextClass() - Method in class dev.aurelium.slate.item.TemplateItem
- getContextClass(String) - Method in class dev.aurelium.slate.context.ContextManager
- getContextGroups() - Method in class dev.aurelium.slate.item.TemplateItem
- getContextGroups(String) - Method in class dev.aurelium.slate.menu.ActiveMenu
- getContextManager() - Method in class dev.aurelium.slate.Slate
- getContextProvider(Class<?>) - Method in class dev.aurelium.slate.context.ContextManager
- getContextProvider(String) - Method in class dev.aurelium.slate.context.ContextManager
- getContextProvider(String) - Method in class dev.aurelium.slate.item.provider.ProviderManager
- getContextualDisplayName(C) - Method in class dev.aurelium.slate.item.TemplateItem
- getContextualLore(C) - Method in class dev.aurelium.slate.item.TemplateItem
- getCooldown() - Method in class dev.aurelium.slate.item.active.ActiveItem
- getCurrentPage() - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets the current page of the menu, 0 is the first page
- getCurrentPage() - Method in class dev.aurelium.slate.menu.MenuInventory
- getDefault() - Method in class dev.aurelium.slate.inv.util.Pattern
-
Returns the default value set via
Pattern.setDefault(Object)
Warning: This method can returnnull, if a default value hasn't been set yet - getDefault(Slate) - Static method in class dev.aurelium.slate.fill.FillItem
- getDefaultBaseItem() - Method in class dev.aurelium.slate.item.TemplateItem
- getDefaultPosition() - Method in class dev.aurelium.slate.item.TemplateItem
- getDefaultValue() - Method in class dev.aurelium.slate.item.option.Option
- getDisplayName() - Method in class dev.aurelium.slate.item.MenuItem
- getElement(Map<?, ?>, String) - Method in class dev.aurelium.slate.util.MapParser
- getEnd() - Method in class dev.aurelium.slate.context.ContextGroup
- getEvent() - Method in class dev.aurelium.slate.inv.ItemClickData
- getFormat(String) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets a format from the menu's formats, returns the key if the format does not exist
- getFormats() - Method in class dev.aurelium.slate.menu.ActiveMenu
- getGlobalBehavior() - Method in class dev.aurelium.slate.Slate
- getId() - Method in enum class dev.aurelium.slate.action.trigger.ClickTrigger
- getId() - Method in enum class dev.aurelium.slate.action.trigger.MenuTrigger
- getId() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getId() - Method in class dev.aurelium.slate.inv.SmartInventory
- getInsertion() - Method in class dev.aurelium.slate.lore.ListData
- getInstances(ComponentInfo<T>) - Method in interface dev.aurelium.slate.function.ComponentInstances
-
Gets the amount of instances of a component in a template.
- getInt(Map<?, ?>, String) - Method in class dev.aurelium.slate.util.MapParser
- getInt(Map<?, ?>, String, int) - Method in class dev.aurelium.slate.util.MapParser
- getInterval() - Method in class dev.aurelium.slate.lore.ListData
- getInventory(Player) - Method in class dev.aurelium.slate.inv.InventoryManager
- getInventoryManager() - Method in class dev.aurelium.slate.Slate
- getItem() - Method in class dev.aurelium.slate.inv.ClickableItem
-
Returns the item contained in this ClickableItem disregarding the visibility test set via
ClickableItem.canSee(Predicate, ItemStack). - getItem() - Method in class dev.aurelium.slate.inv.ItemClickData
- getItem() - Method in class dev.aurelium.slate.item.active.ActiveSingleItem
- getItem() - Method in class dev.aurelium.slate.item.active.ActiveTemplateItem
- getItem(String) - Method in interface dev.aurelium.slate.item.provider.KeyedItemProvider
-
Gets a custom item from a key.
- getItem(Player) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Returns the item contained in this ClickableItem or the fallback item, if the player is not allowed to see the item.
- getItemOption(String, String) - Method in class dev.aurelium.slate.menu.ActiveMenu
- getItemOption(String, String, Object) - Method in class dev.aurelium.slate.menu.ActiveMenu
- getItemProtection() - Method in class dev.aurelium.slate.Slate
- getKey() - Method in class dev.aurelium.slate.item.option.Option
- getKeyedItemProvider() - Method in class dev.aurelium.slate.item.provider.ProviderManager
- getLeafNodes(ConfigurationNode) - Method in class dev.aurelium.slate.util.YamlLoader
- getLeftSlots() - Method in class dev.aurelium.slate.position.GroupUtil
- getListeners() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getLoadedMenu(String) - Method in class dev.aurelium.slate.Slate
- getLoadedMenus() - Method in class dev.aurelium.slate.Slate
- getLore() - Method in class dev.aurelium.slate.item.MenuItem
- getLore(ConfigurationNode) - Method in class dev.aurelium.slate.lore.LoreFactory
- getLoreInterpreter() - Method in class dev.aurelium.slate.menu.MenuInventory
- getLoreWrappingWidth() - Method in class dev.aurelium.slate.Slate
- getMajorVersion(String) - Static method in class dev.aurelium.slate.util.VersionUtil
- getManager() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getManager() - Method in class dev.aurelium.slate.inv.SmartInventory
- getMap(Map<?, ?>, String) - Method in class dev.aurelium.slate.util.MapParser
- getMap(Map<?, ?>, String, Map<?, ?>) - Method in class dev.aurelium.slate.util.MapParser
- getMapList(Map<?, ?>, String) - Method in class dev.aurelium.slate.util.MapParser
- getMapList(Map<?, ?>, String, List<Map<?, ?>>) - Method in class dev.aurelium.slate.util.MapParser
- getMenu() - Method in class dev.aurelium.slate.menu.MenuInventory
- getMinorVersion(String) - Static method in class dev.aurelium.slate.util.VersionUtil
- getName() - Method in class dev.aurelium.slate.item.MenuItem
- getName() - Method in class dev.aurelium.slate.menu.ActiveMenu
- getObject(int) - Method in class dev.aurelium.slate.inv.util.Pattern
-
Returns the object from the n-th key in this pattern.
- getObject(int, int) - Method in class dev.aurelium.slate.inv.util.Pattern
-
Retrieves the object associated with the key found at the row and column in this pattern, if there is no object attached to that character, the default object set via
Pattern.setDefault(Object)is used. - getObject(SlotPos) - Method in class dev.aurelium.slate.inv.util.Pattern
-
This method is simple a shorthand to the method call
getObject(slot.getRow(), slot.getColumn()), so all the special cases described in that method will apply to this one - getOpenedPlayers(SmartInventory) - Method in class dev.aurelium.slate.inv.InventoryManager
- getOption(Class<T>, String) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets the value of an option from the menu's configurable options cast to a type.
- getOption(Class<T>, String, T) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets the value of an option from the menu's configurable options cast to a type, or returns the default value if the option does not exist.
- getOption(String) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets the value of an option from the menu's configurable options.
- getOption(String, Object) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets the value of an option from the menu's configurable options, or returns the default value if the option does not exist.
- getOptions() - Method in class dev.aurelium.slate.item.MenuItem
- getOptions() - Method in class dev.aurelium.slate.Slate
- getPage() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Gets the current page.
- getPage() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- getPageItems() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Gets the items of the current page.
- getPageItems() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- getPages(MenuInfo) - Method in interface dev.aurelium.slate.function.PageProvider
-
Gets the amount of pages in a menu.
- getParent() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getParent() - Method in class dev.aurelium.slate.inv.SmartInventory
- getParentName() - Method in class dev.aurelium.slate.info.ComponentInfo
-
Gets the name of the item or template this component is part of.
- getParserClass() - Method in enum class dev.aurelium.slate.lore.LoreType
- getPlayer() - Method in class dev.aurelium.slate.inv.ItemClickData
- getPlayer() - Method in class dev.aurelium.slate.menu.MenuInventory
- getPlugin() - Method in class dev.aurelium.slate.Slate
- getPosition(C) - Method in class dev.aurelium.slate.item.TemplateItem
- getPosition(Collection<PositionProvider>) - Method in record class dev.aurelium.slate.position.FixedPosition
- getPosition(Collection<PositionProvider>) - Method in record class dev.aurelium.slate.position.GroupPosition
- getPosition(Collection<PositionProvider>) - Method in record class dev.aurelium.slate.position.MultiPosition
- getPosition(Collection<PositionProvider>) - Method in interface dev.aurelium.slate.position.PositionProvider
- getPositions() - Method in class dev.aurelium.slate.item.SingleItem
- getPositionsMap() - Method in class dev.aurelium.slate.item.TemplateItem
- getProperties() - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets all properties from the menu's properties.
- getProperties() - Method in class dev.aurelium.slate.menu.MenuInventory
- getProperties(String, ConfigurationNode) - Method in class dev.aurelium.slate.action.parser.MenuActionParser
- getProperty(String) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets a property from the menu's properties with the given name.
- getProperty(String, Object) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets a property from the menu's properties with the given name, or returns the default value if the property does not exist.
- getProvider() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getProvider() - Method in class dev.aurelium.slate.inv.SmartInventory
- getRightSlots() - Method in class dev.aurelium.slate.position.GroupUtil
- getRow() - Method in class dev.aurelium.slate.inv.content.SlotPos
- getRowCount() - Method in class dev.aurelium.slate.inv.util.Pattern
-
This method counts the amount of rows this pattern has based on the amount of lines provided at creation
- getRows() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getRows() - Method in class dev.aurelium.slate.inv.SmartInventory
- getScheduler() - Method in class dev.aurelium.slate.Slate
- getSlate() - Method in class dev.aurelium.slate.menu.MenuInventory
- getSlot() - Method in class dev.aurelium.slate.inv.ItemClickData
- getStart() - Method in class dev.aurelium.slate.context.ContextGroup
- getString(Map<?, ?>, String) - Method in class dev.aurelium.slate.util.MapParser
- getString(Map<?, ?>, String, String) - Method in class dev.aurelium.slate.util.MapParser
- getStyle(int) - Method in record class dev.aurelium.slate.lore.LoreStyles
- getStyle(String) - Static method in class dev.aurelium.slate.util.LoreUtil
- getStyles() - Method in class dev.aurelium.slate.lore.type.TextLore
- getTemplate(String, Class<T>) - Method in record class dev.aurelium.slate.builder.BuiltMenu
- getText() - Method in class dev.aurelium.slate.lore.type.TextLore
- getTextFormatter() - Method in class dev.aurelium.slate.menu.MenuInventory
- getTitle() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getTitle() - Method in class dev.aurelium.slate.inv.SmartInventory
- getTopInventory(Player) - Static method in class dev.aurelium.slate.util.InventoryUtil
- getTotalPages() - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets the total number of pages in the menu
- getTotalPages() - Method in class dev.aurelium.slate.menu.MenuInventory
- getType() - Method in interface dev.aurelium.slate.context.ContextProvider
- getType() - Method in class dev.aurelium.slate.context.DefaultContextProvider
- getType() - Method in class dev.aurelium.slate.inv.InventoryListener
- getType() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getType() - Method in class dev.aurelium.slate.inv.SmartInventory
- getType() - Method in class dev.aurelium.slate.lore.LoreLine
- getUpdateFrequency() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- getUpdateFrequency() - Method in class dev.aurelium.slate.inv.SmartInventory
- getVariants() - Method in class dev.aurelium.slate.item.SingleItem
- getVariants() - Method in class dev.aurelium.slate.item.TemplateItem
- getVersionString(String) - Static method in class dev.aurelium.slate.util.VersionUtil
- getWrapIndent() - Method in class dev.aurelium.slate.lore.type.TextLore
- getWrapStyle() - Method in class dev.aurelium.slate.lore.type.TextLore
- GlobalBehavior - Record Class in dev.aurelium.slate.builder
- GlobalBehavior(Set<ItemReplacer>, LocaleProvider) - Constructor for record class dev.aurelium.slate.builder.GlobalBehavior
-
Creates an instance of a
GlobalBehaviorrecord class. - GlobalBehaviorBuilder - Class in dev.aurelium.slate.builder
-
Builder for creating
GlobalBehaviorinstances. - globalReplacers() - Method in record class dev.aurelium.slate.builder.GlobalBehavior
-
Returns the value of the
globalReplacersrecord component. - GREATER_THAN - Enum constant in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
- GREATER_THAN_OR_EQUALS - Enum constant in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
- group() - Method in record class dev.aurelium.slate.position.GroupPosition
-
Returns the value of the
grouprecord component. - GroupAlign - Enum Class in dev.aurelium.slate.context
- GroupPosition - Record Class in dev.aurelium.slate.position
- GroupPosition(ContextGroup, int) - Constructor for record class dev.aurelium.slate.position.GroupPosition
-
Creates an instance of a
GroupPositionrecord class. - GroupUtil - Class in dev.aurelium.slate.position
- GroupUtil(int, int, int, int, int) - Constructor for class dev.aurelium.slate.position.GroupUtil
H
- handle(MenuInfo) - Method in interface dev.aurelium.slate.function.MenuListener
-
Code to run when a menu is opened.
- handle(TemplateInfo<T>) - Method in interface dev.aurelium.slate.function.ContextListener
-
Code to run when a template is initialized
- handleClick(Set<ClickTrigger>, ItemClick) - Method in record class dev.aurelium.slate.builder.BuiltItem
- handleClick(Set<ClickTrigger>, TemplateClick<T>) - Method in record class dev.aurelium.slate.builder.BuiltTemplate
- handleInventoryOpenError(SmartInventory, Player, Exception) - Method in class dev.aurelium.slate.inv.InventoryManager
- handleInventoryUpdateError(SmartInventory, Player, Exception) - Method in class dev.aurelium.slate.inv.InventoryManager
- hasDefaultValue() - Method in class dev.aurelium.slate.item.option.Option
- hashCode() - Method in record class dev.aurelium.slate.action.condition.ItemConditions
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.action.ItemActions
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.builder.GlobalBehavior
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.component.ComponentData
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.component.MenuComponent
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.fill.FillData
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.aurelium.slate.inv.content.SlotPos
- hashCode() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.lore.LoreStyles
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.position.FixedPosition
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.position.GroupPosition
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.aurelium.slate.position.MultiPosition
-
Returns a hash code value for this object.
- HORIZONTAL - Enum constant in enum class dev.aurelium.slate.inv.content.SlotIterator.Type
-
Iterates horizontally from the left to the right of the inventory, and jump to the next line when the last column is reached.
I
- id(String) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- Impl() - Constructor for class dev.aurelium.slate.inv.content.Pagination.Impl
- Impl(InventoryContents, SmartInventory, SlotIterator.Type) - Constructor for class dev.aurelium.slate.inv.content.SlotIterator.Impl
- Impl(InventoryContents, SmartInventory, SlotIterator.Type, int, int) - Constructor for class dev.aurelium.slate.inv.content.SlotIterator.Impl
- Impl(SmartInventory, UUID) - Constructor for class dev.aurelium.slate.inv.content.InventoryContents.Impl
- init() - Method in class dev.aurelium.slate.inv.InventoryManager
- init(Player, InventoryContents) - Method in interface dev.aurelium.slate.inv.content.InventoryProvider
- init(Player, InventoryContents) - Method in class dev.aurelium.slate.menu.MenuInventory
- initialize(MenuListener) - Method in class dev.aurelium.slate.builder.ItemBuilder
-
Defines a consumer to run when the item is initialized in the menu.
- initialize(MenuListener) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- initializeContext(ContextListener<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- initListener() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns the value of the
initListenerrecord component. - initListener() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
initListenerrecord component. - instance() - Method in record class dev.aurelium.slate.component.ComponentData
-
Returns the value of the
instancerecord component. - instance() - Static method in class dev.aurelium.slate.inv.SmartInvsPlugin
- instances() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns the value of the
instancesrecord component. - instances(ComponentInstances<T>) - Method in class dev.aurelium.slate.builder.ComponentBuilder
- interpretLore(List<LoreLine>, Player, ActiveMenu, BuiltItem, MenuItem) - Method in class dev.aurelium.slate.lore.LoreInterpreter
- interpretLore(List<LoreLine>, Player, ActiveMenu, BuiltTemplate<T>, TemplateItem<T>, T) - Method in class dev.aurelium.slate.lore.LoreInterpreter
- inventory() - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- inventory() - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Gets the inventory linked to this
InventoryContents. - InventoryContents - Interface in dev.aurelium.slate.inv.content
-
Represents the content of an inventory.
- InventoryContents.Impl - Class in dev.aurelium.slate.inv.content
- InventoryListener<T> - Class in dev.aurelium.slate.inv
- InventoryListener(Class<T>, Consumer<T>) - Constructor for class dev.aurelium.slate.inv.InventoryListener
- InventoryManager - Class in dev.aurelium.slate.inv
- InventoryManager(JavaPlugin, Scheduler) - Constructor for class dev.aurelium.slate.inv.InventoryManager
- InventoryOpener - Interface in dev.aurelium.slate.inv.opener
- InventoryProvider - Interface in dev.aurelium.slate.inv.content
- InventoryUtil - Class in dev.aurelium.slate.util
- InventoryUtil() - Constructor for class dev.aurelium.slate.util.InventoryUtil
- IS_PAPER - Static variable in class dev.aurelium.slate.util.PaperUtil
- isAtLeastVersion(int) - Static method in class dev.aurelium.slate.util.VersionUtil
- isAtLeastVersion(int, int) - Static method in class dev.aurelium.slate.util.VersionUtil
- isCloseable() - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- isCloseable() - Method in class dev.aurelium.slate.inv.SmartInventory
- isEditable(SlotPos) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- isEditable(SlotPos) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Returns if a given slot is editable or not.
- isEmpty(CharSequence) - Static method in class dev.aurelium.slate.util.TextUtil
- isFirst() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- isFirst() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Checks if the current page is the first page.
- isHidden() - Method in class dev.aurelium.slate.item.active.ActiveItem
- isLast() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- isLast() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Checks if the current page is the last page.
- isList() - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
- isMet(Player, MenuInventory) - Method in class dev.aurelium.slate.action.condition.Condition
- isMet(Player, MenuInventory) - Method in class dev.aurelium.slate.action.condition.PermissionCondition
- isMet(Player, MenuInventory) - Method in class dev.aurelium.slate.action.condition.PlaceholderCondition
- isMock() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
isMockrecord component. - isMock(boolean) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
- isPlaceholderAPIEnabled() - Method in class dev.aurelium.slate.Slate
- isProtected(ItemStack) - Method in class dev.aurelium.slate.item.ItemProtection
- isSmartWrap() - Method in class dev.aurelium.slate.lore.type.TextLore
- isWrapAround() - Method in class dev.aurelium.slate.inv.util.Pattern
-
A simple getter for the value provided at the Patterns creation, if this pattern supports wrapAround
- item() - Method in record class dev.aurelium.slate.fill.FillData
-
Returns the value of the
itemrecord component. - item() - Method in class dev.aurelium.slate.info.ItemInfo
- item() - Method in class dev.aurelium.slate.item.ItemClick
-
Gets the ItemStack that was clicked.
- item(String, ItemBuilder) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add an item to the menu that accepts a
ItemBuilderinstance you must create yourself. - item(String, Consumer<ItemBuilder>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add an item to the menu
- ItemActions - Record Class in dev.aurelium.slate.action
- ItemActions(Map<ClickTrigger, List<Action>>) - Constructor for record class dev.aurelium.slate.action.ItemActions
-
Creates an instance of a
ItemActionsrecord class. - ItemBuilder - Class in dev.aurelium.slate.builder
-
Class used to define functionality for an item in a menu.
- ItemBuilder() - Constructor for class dev.aurelium.slate.builder.ItemBuilder
- ItemClick - Class in dev.aurelium.slate.item
-
Stores contextual data for when a player clicks an item.
- ItemClick(Slate, Player, InventoryClickEvent, ItemStack, SlotPos, ActiveMenu) - Constructor for class dev.aurelium.slate.item.ItemClick
- ItemClickData - Class in dev.aurelium.slate.inv
- ItemClickData(Event, Player, ItemStack, SlotPos) - Constructor for class dev.aurelium.slate.inv.ItemClickData
- ItemClicker - Interface in dev.aurelium.slate.function
- ItemConditions - Record Class in dev.aurelium.slate.action.condition
- ItemConditions(List<Condition>, Map<ClickTrigger, List<Condition>>) - Constructor for record class dev.aurelium.slate.action.condition.ItemConditions
-
Creates an instance of a
ItemConditionsrecord class. - itemFromBase64(String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Creates a player skull item with the skin based on a base64 string.
- itemFromName(String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Deprecated.names don't make for good identifiers.
- itemFromUrl(String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Creates a player skull item with the skin at a Mojang URL.
- itemFromUuid(UUID) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Creates a player skull item with the skin based on a player's UUID.
- ItemInfo - Class in dev.aurelium.slate.info
-
Represents contextual information about an item in a menu.
- ItemInfo(Slate, Player, ActiveMenu, ItemStack) - Constructor for class dev.aurelium.slate.info.ItemInfo
- itemMetaParser(String, ItemMetaParser) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Adds a custom item meta parser.
- ItemMetaParser - Interface in dev.aurelium.slate.function
- itemMetaParsers() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
itemMetaParsersrecord component. - itemMetaParsers(Map<String, ItemMetaParser>) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Adds multiple custom item meta parsers.
- ItemModifier - Interface in dev.aurelium.slate.function
- itemParser - Variable in class dev.aurelium.slate.item.parser.MenuItemParser
- ItemProtection - Class in dev.aurelium.slate.item
- ItemProtection() - Constructor for class dev.aurelium.slate.item.ItemProtection
- ItemReplacer - Interface in dev.aurelium.slate.function
- items() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
itemsrecord component. - items() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
itemsrecord component. - ItemVariant - Record Class in dev.aurelium.slate.item
- ItemVariant(Map<String, Object>, ItemStack, List<SlotPos>, String, List<LoreLine>) - Constructor for record class dev.aurelium.slate.item.ItemVariant
-
Creates an instance of a
ItemVariantrecord class. - itemWithBase64(ItemStack, String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Modifies a skull to use the skin based on the given base64 string.
- itemWithName(ItemStack, String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Deprecated.names don't make for good identifiers.
- itemWithUrl(ItemStack, String) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Modifies a skull to use the skin at the given Mojang URL.
- itemWithUuid(ItemStack, UUID) - Static method in class dev.aurelium.slate.util.SkullCreator
-
Modifies a skull to use the skin of the player with a given UUID.
- iterator(String) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- iterator(String) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Gets a previously registered iterator named with the given id.
K
- keyedItemProvider() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
keyedItemProviderrecord component. - keyedItemProvider(KeyedItemProvider) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Sets the provider for keyed items.
- KeyedItemProvider - Interface in dev.aurelium.slate.item.provider
-
Function to get a custom item from a key.
L
- last() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- last() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets the current page to the last page.
- LEFT - Enum constant in enum class dev.aurelium.slate.action.trigger.ClickTrigger
- LEFT - Enum constant in enum class dev.aurelium.slate.context.GroupAlign
- LEFT_COLUMN - Enum constant in enum class dev.aurelium.slate.fill.FillShape
- legacyCodesToMiniMessage(String) - Method in class dev.aurelium.slate.text.TextFormatter
- length(CharSequence) - Static method in class dev.aurelium.slate.util.TextUtil
- LESS_THAN - Enum constant in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
- LESS_THAN_OR_EQUALS - Enum constant in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
- ListBuilder - Class in dev.aurelium.slate.item.provider
- ListBuilder(ListData) - Constructor for class dev.aurelium.slate.item.provider.ListBuilder
- listData() - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
-
Returns the value of the
listDatarecord component. - ListData - Class in dev.aurelium.slate.lore
- ListData(String, int) - Constructor for class dev.aurelium.slate.lore.ListData
- listener(InventoryListener<? extends Event>) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- LoadedMenu - Record Class in dev.aurelium.slate.menu
- LoadedMenu(String, String, int, Map<String, MenuItem>, Map<String, MenuComponent>, Map<String, String>, FillData, Map<String, Object>, Map<MenuTrigger, List<Action>>) - Constructor for record class dev.aurelium.slate.menu.LoadedMenu
-
Creates an instance of a
LoadedMenurecord class. - loadEmbeddedFile(String) - Method in class dev.aurelium.slate.util.YamlLoader
- loadMenus() - Method in class dev.aurelium.slate.menu.MenuLoader
- loadMenus() - Method in class dev.aurelium.slate.Slate
-
Loads all menu files in the mainDirectory defined in
SlateOptionsand uses any mergeDirectories defined to merge menu files together before loading. - loadOptions(ConfigurationNode) - Static method in class dev.aurelium.slate.menu.MenuLoader
- loadUserFile(File) - Method in class dev.aurelium.slate.util.YamlLoader
- locale() - Method in class dev.aurelium.slate.info.MenuInfo
-
Gets the locale of the player viewing the menu as defined by the
GlobalBehavior.localeProvider(). - localeProvider() - Method in record class dev.aurelium.slate.builder.GlobalBehavior
-
Returns the value of the
localeProviderrecord component. - localeProvider(LocaleProvider) - Method in class dev.aurelium.slate.builder.GlobalBehaviorBuilder
- LocaleProvider - Interface in dev.aurelium.slate.function
- lore - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- lore() - Method in record class dev.aurelium.slate.component.MenuComponent
-
Returns the value of the
lorerecord component. - lore() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns the value of the
lorerecord component. - lore() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
lorerecord component. - lore() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns the value of the
lorerecord component. - lore(List<LoreLine>) - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- LORE - Enum constant in enum class dev.aurelium.slate.item.provider.PlaceholderType
- LoreFactory - Class in dev.aurelium.slate.lore
- LoreFactory(Slate) - Constructor for class dev.aurelium.slate.lore.LoreFactory
- LoreInterpreter - Class in dev.aurelium.slate.lore
- LoreInterpreter(Slate) - Constructor for class dev.aurelium.slate.lore.LoreInterpreter
- LoreLine - Class in dev.aurelium.slate.lore
- LoreLine(LoreType) - Constructor for class dev.aurelium.slate.lore.LoreLine
- LoreParser - Interface in dev.aurelium.slate.lore.parser
- LoreStyles - Record Class in dev.aurelium.slate.lore
- LoreStyles(Map<Integer, String>) - Constructor for record class dev.aurelium.slate.lore.LoreStyles
-
Creates an instance of a
LoreStylesrecord class. - LoreType - Enum Class in dev.aurelium.slate.lore
- LoreUtil - Class in dev.aurelium.slate.util
- LoreUtil() - Constructor for class dev.aurelium.slate.util.LoreUtil
- loreWrappingWidth() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
loreWrappingWidthrecord component. - loreWrappingWidth(int) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Sets the number of characters in a line before lore wraps to the next line.
M
- mainDirectory() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
mainDirectoryrecord component. - mainDirectory(File) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Sets the main directory where menu files are located.
- MAJOR_VERSION - Static variable in class dev.aurelium.slate.util.VersionUtil
- manager() - Static method in class dev.aurelium.slate.inv.SmartInvsPlugin
- manager(InventoryManager) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- MapParser - Class in dev.aurelium.slate.util
- MapParser() - Constructor for class dev.aurelium.slate.util.MapParser
- menu() - Method in class dev.aurelium.slate.info.MenuInfo
-
Gets the
ActiveMenuinstance of the menu. - MenuAction - Class in dev.aurelium.slate.action
- MenuAction(Slate, MenuAction.ActionType, String, Map<String, Object>) - Constructor for class dev.aurelium.slate.action.MenuAction
- MenuAction.ActionType - Enum Class in dev.aurelium.slate.action
- MenuActionParser - Class in dev.aurelium.slate.action.parser
- MenuActionParser(Slate) - Constructor for class dev.aurelium.slate.action.parser.MenuActionParser
- MenuBuilder - Class in dev.aurelium.slate.builder
-
Class used to define functionality for a menu.
- MenuComponent - Record Class in dev.aurelium.slate.component
- MenuComponent(Class<?>, List<LoreLine>) - Constructor for record class dev.aurelium.slate.component.MenuComponent
-
Creates an instance of a
MenuComponentrecord class. - MenuFileGenerator - Class in dev.aurelium.slate.menu
- MenuFileGenerator(Slate) - Constructor for class dev.aurelium.slate.menu.MenuFileGenerator
- MenuInfo - Class in dev.aurelium.slate.info
-
Represents contextual information about an instance of a menu.
- MenuInfo(Slate, Player, ActiveMenu) - Constructor for class dev.aurelium.slate.info.MenuInfo
- MenuInventory - Class in dev.aurelium.slate.menu
- MenuInventory(Slate, LoadedMenu, Player, Map<String, Object>, int) - Constructor for class dev.aurelium.slate.menu.MenuInventory
- MenuItem - Class in dev.aurelium.slate.item
- MenuItem(Slate, String, String, List<LoreLine>, ItemActions, ItemConditions, Map<String, Object>) - Constructor for class dev.aurelium.slate.item.MenuItem
- MenuItemBuilder - Class in dev.aurelium.slate.item.builder
- MenuItemBuilder(Slate) - Constructor for class dev.aurelium.slate.item.builder.MenuItemBuilder
- MenuItemParser - Class in dev.aurelium.slate.item.parser
- MenuItemParser(Slate) - Constructor for class dev.aurelium.slate.item.parser.MenuItemParser
- MenuListener - Interface in dev.aurelium.slate.function
- MenuLoader - Class in dev.aurelium.slate.menu
- MenuLoader(Slate, File, List<File>) - Constructor for class dev.aurelium.slate.menu.MenuLoader
- MenuOpener - Class in dev.aurelium.slate.menu
- MenuOpener(Slate) - Constructor for class dev.aurelium.slate.menu.MenuOpener
- MenuTrigger - Enum Class in dev.aurelium.slate.action.trigger
- mergeDirectories() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
mergeDirectoriesrecord component. - mergeDirectories(List<File>) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
-
Sets the directories to merge with the main directory.
- mergeNodes(ConfigurationNode...) - Method in class dev.aurelium.slate.util.YamlLoader
- MIDDLE - Enum constant in enum class dev.aurelium.slate.action.trigger.ClickTrigger
- MINOR_VERSION - Static variable in class dev.aurelium.slate.util.VersionUtil
- modifier() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns the value of the
modifierrecord component. - modifier() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
modifierrecord component. - modify(ItemModifier) - Method in class dev.aurelium.slate.builder.ItemBuilder
-
Modifies the item before it is displayed to the player.
- modify(TemplateModifier<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- modify(ItemInfo) - Method in interface dev.aurelium.slate.function.ItemModifier
-
Modifies an item before it is displayed.
- modify(TemplateInfo<T>) - Method in interface dev.aurelium.slate.function.TemplateModifier
-
Modifies the item of a template instance before it is displayed.
- MultiPosition - Record Class in dev.aurelium.slate.position
- MultiPosition(List<SlotPos>) - Constructor for record class dev.aurelium.slate.position.MultiPosition
-
Creates an instance of a
MultiPositionrecord class.
N
- name - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- name() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
namerecord component. - name(String) - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- newIterator(SlotIterator.Type, int, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- newIterator(SlotIterator.Type, int, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Creates and returns an iterator.
- newIterator(SlotIterator.Type, SlotPos) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- newIterator(SlotIterator.Type, SlotPos) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
- newIterator(String, SlotIterator.Type, int, int) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- newIterator(String, SlotIterator.Type, int, int) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Creates and registers an iterator using a given id.
- newIterator(String, SlotIterator.Type, SlotPos) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- newIterator(String, SlotIterator.Type, SlotPos) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
- next() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- next() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets the current page to the next page, if the current page is already the last page, this do nothing.
- next() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- next() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Moves the cursor to the next position inside the inventory.
- NEXT_PAGE - Enum constant in enum class dev.aurelium.slate.action.MenuAction.ActionType
- NONE - Static variable in class dev.aurelium.slate.inv.ClickableItem
-
ClickableItem constant with no item and empty consumer.
- notNull(Object) - Static method in class dev.aurelium.slate.util.Validate
- notNull(Object, String) - Static method in class dev.aurelium.slate.util.Validate
- NumberUtil - Class in dev.aurelium.slate.util
- NumberUtil() - Constructor for class dev.aurelium.slate.util.NumberUtil
O
- of(int, int) - Static method in class dev.aurelium.slate.inv.content.SlotPos
- of(ItemStack, Consumer<InventoryClickEvent>) - Static method in class dev.aurelium.slate.inv.ClickableItem
-
Deprecated.Replaced by
ClickableItem.from(ItemStack, Consumer) - onClick(ClickTrigger, ItemClicker) - Method in class dev.aurelium.slate.builder.ItemBuilder
-
Defines a consumer to run when the item is clicked by the player using a specific button.
- onClick(ClickTrigger, TemplateClicker<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- onClick(ItemClicker) - Method in class dev.aurelium.slate.builder.ItemBuilder
-
Defines a consumer to run when the item is clicked by the player using any button.
- onClick(TemplateClicker<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- onDisable() - Method in class dev.aurelium.slate.inv.SmartInvsPlugin
- onEnable() - Method in class dev.aurelium.slate.inv.SmartInvsPlugin
- onInventoryClick(InventoryClickEvent) - Method in class dev.aurelium.slate.item.ItemProtection
- onItemSwitch(PlayerItemHeldEvent) - Method in class dev.aurelium.slate.item.ItemProtection
- onOpen(MenuListener) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Defines a consumer to run when the menu is opened for a player.
- onUpdate(MenuListener) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Defines a consumer to run every tick a menu is open for a player.
- open(SmartInventory, Player) - Method in class dev.aurelium.slate.inv.opener.ChestInventoryOpener
- open(SmartInventory, Player) - Method in interface dev.aurelium.slate.inv.opener.InventoryOpener
- open(SmartInventory, Player) - Method in class dev.aurelium.slate.inv.opener.SpecialInventoryOpener
- open(Player) - Method in class dev.aurelium.slate.inv.SmartInventory
- open(Player, int) - Method in class dev.aurelium.slate.inv.SmartInventory
- open(Player, int, Map<String, Object>) - Method in class dev.aurelium.slate.inv.SmartInventory
- open(Player, Map<String, Object>) - Method in class dev.aurelium.slate.inv.SmartInventory
- OPEN - Enum constant in enum class dev.aurelium.slate.action.MenuAction.ActionType
- OPEN - Enum constant in enum class dev.aurelium.slate.action.trigger.MenuTrigger
- openListener() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
openListenerrecord component. - openMenu(Player, String) - Method in class dev.aurelium.slate.menu.MenuOpener
-
Opens a loaded menu for a player, will fail silently if the menu does not exist.
- openMenu(Player, String) - Method in class dev.aurelium.slate.Slate
-
Opens a menu for a player.
- openMenu(Player, String, int) - Method in class dev.aurelium.slate.menu.MenuOpener
-
Opens a loaded menu for a player, will fail silently if the menu does not exist.
- openMenu(Player, String, int) - Method in class dev.aurelium.slate.Slate
-
Opens a menu for a player with a defined page.
- openMenu(Player, String, Map<String, Object>) - Method in class dev.aurelium.slate.menu.MenuOpener
- openMenu(Player, String, Map<String, Object>) - Method in class dev.aurelium.slate.Slate
-
Opens a menu for a player with defined properties.
- openMenu(Player, String, Map<String, Object>, int) - Method in class dev.aurelium.slate.menu.MenuOpener
-
Opens a loaded menu for a player, will fail silently if the menu does not exist.
- openMenu(Player, String, Map<String, Object>, int) - Method in class dev.aurelium.slate.Slate
-
Opens a menu for a player with defined properties and page.
- openMenuUnchecked(Player, String, Map<String, Object>, int) - Method in class dev.aurelium.slate.menu.MenuOpener
- openMenuUnchecked(Player, String, Map<String, Object>, int) - Method in class dev.aurelium.slate.Slate
-
Opens a menu for a player with defined properties and page without checking for exceptions during opening.
- Option<T> - Class in dev.aurelium.slate.item.option
- Option(String) - Constructor for class dev.aurelium.slate.item.option.Option
- Option(String, T) - Constructor for class dev.aurelium.slate.item.option.Option
- options - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- options() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
optionsrecord component. - options(Map<String, Object>) - Method in class dev.aurelium.slate.item.builder.MenuItemBuilder
- order() - Method in record class dev.aurelium.slate.position.GroupPosition
-
Returns the value of the
orderrecord component.
P
- page(int) - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- page(int) - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets the current page.
- pageProvider() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
pageProviderrecord component. - PageProvider - Interface in dev.aurelium.slate.function
- pageReplacers() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
pageReplacersrecord component. - pages(PageProvider) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Sets the page provider for the menu.
- pagination() - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- pagination() - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Gets the pagination system linked to this
InventoryContents. - Pagination - Interface in dev.aurelium.slate.inv.content
-
Pagination system which lets you switch pages; easily get items in the given page, easily manipulate the pages and check if a page is the first or the last one (
Pagination.isFirst()/Pagination.isLast()). - Pagination.Impl - Class in dev.aurelium.slate.inv.content
- Pair<T,
V> - Class in dev.aurelium.slate.util - Pair(T, V) - Constructor for class dev.aurelium.slate.util.Pair
- PaperScheduler - Class in dev.aurelium.slate.scheduler
- PaperScheduler(JavaPlugin) - Constructor for class dev.aurelium.slate.scheduler.PaperScheduler
- PaperUtil - Class in dev.aurelium.slate.util
- PaperUtil() - Constructor for class dev.aurelium.slate.util.PaperUtil
- parent(SmartInventory) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- parse(String) - Static method in class dev.aurelium.slate.inv.content.SlotPos
- parse(String, String) - Method in interface dev.aurelium.slate.context.ContextProvider
-
Parses a context from an input
- parse(String, String) - Method in class dev.aurelium.slate.context.DefaultContextProvider
- parse(ItemStack, ConfigurationNode) - Method in interface dev.aurelium.slate.function.ItemMetaParser
-
Handles parsing of a custom item meta key.
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.action.parser.ActionParser
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.action.parser.CommandActionParser
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.action.parser.MenuActionParser
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.action.parser.SoundActionParser
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.component.ComponentParser
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.lore.parser.ComponentLoreParser
- parse(ConfigurationNode) - Method in interface dev.aurelium.slate.lore.parser.LoreParser
- parse(ConfigurationNode) - Method in class dev.aurelium.slate.lore.parser.TextLoreParser
- parse(ConfigurationNode, int) - Method in class dev.aurelium.slate.fill.SlotParser
- parse(ConfigurationNode, String) - Method in class dev.aurelium.slate.fill.FillItemParser
- parse(ConfigurationNode, String) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- parse(ConfigurationNode, String) - Method in class dev.aurelium.slate.item.parser.SingleItemParser
- parse(ConfigurationNode, String) - Method in class dev.aurelium.slate.item.parser.TemplateItemParser
- parseActions(ConfigurationNode, String) - Method in class dev.aurelium.slate.action.ActionManager
- parseActions(ConfigurationNode, String) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- parseBaseItem(ConfigurationNode) - Method in class dev.aurelium.slate.item.parser.ConfigurateItemParser
- parseCommonOptions(MenuItemBuilder, ConfigurationNode, String) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- parseConditions(ConfigurationNode, String) - Method in class dev.aurelium.slate.action.condition.ConditionParser
- parseDisplayName(ConfigurationNode) - Method in class dev.aurelium.slate.item.parser.ConfigurateItemParser
- parseLore(ConfigurationNode) - Method in class dev.aurelium.slate.item.parser.ConfigurateItemParser
- parseMaterial(String) - Method in class dev.aurelium.slate.item.parser.ConfigurateItemParser
- parsePosition(String) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- parsePosition(ConfigurationNode, Map<String, ContextGroup>) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- parseVariantBaseItem(ConfigurationNode) - Method in class dev.aurelium.slate.item.parser.MenuItemParser
- Pattern<T> - Class in dev.aurelium.slate.inv.util
-
A class representing a pattern with arbitrary keys and values
- Pattern(boolean, String...) - Constructor for class dev.aurelium.slate.inv.util.Pattern
-
Creates a new Pattern instance based on the provided lines
When wrapAround is set totrue, calls toPattern.getObject(SlotPos)will not be out of bounds, but will start from the beginning again - Pattern(String...) - Constructor for class dev.aurelium.slate.inv.util.Pattern
-
Creates a new Pattern instance based on the provided lines
A instance created with this constructor is equal toPattern(false, lines) - PermissionCondition - Class in dev.aurelium.slate.action.condition
- PermissionCondition(Slate, String, boolean) - Constructor for class dev.aurelium.slate.action.condition.PermissionCondition
- placeholder() - Method in class dev.aurelium.slate.info.PlaceholderInfo
-
Gets the name of the placeholder string being replaced.
- PlaceholderCondition - Class in dev.aurelium.slate.action.condition
- PlaceholderCondition(Slate, String, String, PlaceholderCondition.Compare) - Constructor for class dev.aurelium.slate.action.condition.PlaceholderCondition
- PlaceholderCondition.Compare - Enum Class in dev.aurelium.slate.action.condition
- PlaceholderData - Record Class in dev.aurelium.slate.item.provider
- PlaceholderData(PlaceholderType, String, ListData) - Constructor for record class dev.aurelium.slate.item.provider.PlaceholderData
-
Creates an instance of a
PlaceholderDatarecord class. - PlaceholderInfo - Class in dev.aurelium.slate.info
-
Represents contextual information about a placeholder in a menu.
- PlaceholderInfo(Slate, Player, String, ActiveMenu, PlaceholderData) - Constructor for class dev.aurelium.slate.info.PlaceholderInfo
- PlaceholderType - Enum Class in dev.aurelium.slate.item.provider
- placeInMenu(Slate, Player, MenuInventory) - Method in record class dev.aurelium.slate.fill.FillData
- player() - Method in class dev.aurelium.slate.info.MenuInfo
-
Gets the player viewing the menu.
- PLAYER - Enum constant in enum class dev.aurelium.slate.action.CommandAction.Executor
- plugin - Variable in class dev.aurelium.slate.scheduler.Scheduler
- pos() - Method in class dev.aurelium.slate.item.ItemClick
-
Gets the slot position that was clicked.
- pos() - Method in record class dev.aurelium.slate.position.FixedPosition
-
Returns the value of the
posrecord component. - position() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns the value of the
positionrecord component. - PositionProvider - Interface in dev.aurelium.slate.position
- positions() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns the value of the
positionsrecord component. - positions() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
positionsrecord component. - positions() - Method in record class dev.aurelium.slate.position.MultiPosition
-
Returns the value of the
positionsrecord component. - positions(List<SlotPos>) - Method in class dev.aurelium.slate.item.builder.SingleItemBuilder
- positions(Map<C, PositionProvider>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- previous() - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- previous() - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets the current page to the previous page, if the current page is already the first page, this do nothing.
- previous() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- previous() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Moves the cursor to the previous position inside the inventory.
- PREVIOUS_PAGE - Enum constant in enum class dev.aurelium.slate.action.MenuAction.ActionType
- properties(PropertyProvider) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Defines default properties for this menu.
- property(String) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- property(String) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Gets the value of the property with the given name.
- property(String) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets a property from a name cast to a type.
- property(String, T) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- property(String, T) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Gets the value of the property with the given name, or a default value if the property isn't set.
- property(String, T) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Gets a property from a name cast to a type or a default value.
- propertyFilters() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns the value of the
propertyFiltersrecord component. - propertyFilters() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns the value of the
propertyFiltersrecord component. - propertyProvider() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
propertyProviderrecord component. - PropertyProvider - Interface in dev.aurelium.slate.function
- provider(InventoryProvider) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- ProviderManager - Class in dev.aurelium.slate.item.provider
- ProviderManager() - Constructor for class dev.aurelium.slate.item.provider.ProviderManager
R
- registerContext(ContextProvider<C>) - Method in class dev.aurelium.slate.context.ContextManager
-
Registers a context provider to the given context type
- registerContext(String, ContextProvider<C>) - Method in class dev.aurelium.slate.context.ContextManager
- registerKeyedItemProvider(KeyedItemProvider) - Method in class dev.aurelium.slate.item.provider.ProviderManager
- registerOpeners(InventoryOpener...) - Method in class dev.aurelium.slate.inv.InventoryManager
- reload() - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Reloads the menu for the player as if it was reopened.
- removalProtection() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns the value of the
removalProtectionrecord component. - removalProtection(boolean) - Method in class dev.aurelium.slate.option.SlateOptionsBuilder
- removeItalic(Component) - Method in class dev.aurelium.slate.text.TextFormatter
- removeMergeDirectory(File) - Method in class dev.aurelium.slate.Slate
- repeat(char, int) - Static method in class dev.aurelium.slate.util.TextUtil
- repeat(String, int) - Static method in class dev.aurelium.slate.util.TextUtil
- replace(ComponentPlaceholderInfo<T>) - Method in interface dev.aurelium.slate.function.ComponentReplacer
-
Replaces a placeholder in a component.
- replace(PlaceholderInfo) - Method in interface dev.aurelium.slate.function.ItemReplacer
-
Replaces a placeholder in an item.
- replace(TemplatePlaceholderInfo<T>) - Method in interface dev.aurelium.slate.function.TemplateReplacer
-
Replaces a placeholder in a template.
- replace(String, ComponentReplacer<T>) - Method in class dev.aurelium.slate.builder.ComponentBuilder
- replace(String, ItemReplacer) - Method in class dev.aurelium.slate.builder.ItemBuilder
-
Replaces a specific placeholder in the item's display name or lore.
- replace(String, ItemReplacer) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Replaces any placeholder on the page that matches the "from" string.
- replace(String, TemplateReplacer<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- replace(String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replace(String, String, String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replace(String, String, String, String, String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replace(String, String, String, String, String, String, String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replace(String, String, String, String, String, String, String, String, String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replace(String, String, String, String, String, String, String, String, String, String, String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replaceAny(ComponentReplacer<T>) - Method in class dev.aurelium.slate.builder.ComponentBuilder
- replaceAny(ItemReplacer) - Method in class dev.aurelium.slate.builder.ItemBuilder
-
Replaces any placeholder in the item's display name or lore.
- replaceAny(TemplateReplacer<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- replaceEach(String, String[], String[]) - Static method in class dev.aurelium.slate.util.TextUtil
- replaceNonEscaped(String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- replacer(ItemReplacer) - Method in class dev.aurelium.slate.builder.GlobalBehaviorBuilder
-
Adds a global replacer, which will be applied to all placeholders in every menu.
- replacers() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns the value of the
replacersrecord component. - replacers() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns the value of the
replacersrecord component. - replacers() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
replacersrecord component. - replaceTitle(String, ItemReplacer) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Replaces a placeholder in the menu title with a value.
- replaceTitleAny(ItemReplacer) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Replaces any placeholder in the menu title with a value.
- reset() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- reset() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Resets iterator to its original position specified while creation.
- RIGHT - Enum constant in enum class dev.aurelium.slate.action.trigger.ClickTrigger
- RIGHT - Enum constant in enum class dev.aurelium.slate.context.GroupAlign
- RIGHT_COLUMN - Enum constant in enum class dev.aurelium.slate.fill.FillShape
- row() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- row() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Gets the current row of the iterator.
- row(int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- row(int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Sets the current row of the iterator.
- run(ItemClickData) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Executes this ClickableItem's consumer using the given click data.
- run(Player, Runnable) - Method in class dev.aurelium.slate.scheduler.BukkitScheduler
- run(Player, Runnable) - Method in class dev.aurelium.slate.scheduler.PaperScheduler
- run(Player, Runnable) - Method in class dev.aurelium.slate.scheduler.Scheduler
- run(InventoryClickEvent) - Method in class dev.aurelium.slate.inv.ClickableItem
-
Deprecated.This has been replaced by
ClickableItem.run(ItemClickData). - runGlobal(Runnable) - Method in class dev.aurelium.slate.scheduler.BukkitScheduler
- runGlobal(Runnable) - Method in class dev.aurelium.slate.scheduler.PaperScheduler
- runGlobal(Runnable) - Method in class dev.aurelium.slate.scheduler.Scheduler
- runLater(Player, Runnable, long) - Method in class dev.aurelium.slate.scheduler.BukkitScheduler
- runLater(Player, Runnable, long) - Method in class dev.aurelium.slate.scheduler.PaperScheduler
- runLater(Player, Runnable, long) - Method in class dev.aurelium.slate.scheduler.Scheduler
- runTimer(Player, Runnable, long, long) - Method in class dev.aurelium.slate.scheduler.BukkitScheduler
- runTimer(Player, Runnable, long, long) - Method in class dev.aurelium.slate.scheduler.PaperScheduler
- runTimer(Player, Runnable, long, long) - Method in class dev.aurelium.slate.scheduler.Scheduler
S
- saveFile(File, ConfigurationNode) - Method in class dev.aurelium.slate.util.YamlLoader
- saveIfUpdated(File, ConfigurationNode, ConfigurationNode, ConfigurationNode) - Method in class dev.aurelium.slate.util.YamlLoader
- Scheduler - Class in dev.aurelium.slate.scheduler
- Scheduler(JavaPlugin) - Constructor for class dev.aurelium.slate.scheduler.Scheduler
- scheduleUpdateTask(Player, SmartInventory) - Method in class dev.aurelium.slate.inv.InventoryManager
- second() - Method in class dev.aurelium.slate.util.Pair
- set(int, int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- set(int, int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.set(int, ClickableItem), but with a row and a column instead of the index. - set(int, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- set(int, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Sets the item in the inventory at the given slot index.
- set(ClickableItem) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- set(ClickableItem) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Replaces the item at the current position in the inventory by the given item.
- set(SlotPos, ClickableItem) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- set(SlotPos, ClickableItem) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.set(int, ClickableItem), but with aSlotPosinstead of the index. - setCloseable(boolean) - Method in class dev.aurelium.slate.inv.SmartInventory
- setContents(Player, InventoryContents) - Method in class dev.aurelium.slate.inv.InventoryManager
- setCooldown(int) - Method in class dev.aurelium.slate.item.active.ActiveItem
- setCooldown(String, int) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Sets the cooldown of an item in the current menu.
- setDefault(T) - Method in class dev.aurelium.slate.inv.util.Pattern
-
Sets a new default value, which can be null and will override the previous value if present.
- setDisplayName(ItemMeta, Component) - Method in class dev.aurelium.slate.menu.MenuInventory
- setDisplayName(ItemMeta, Component) - Static method in class dev.aurelium.slate.util.PaperUtil
- setEditable(SlotPos, boolean) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- setEditable(SlotPos, boolean) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Makes a slot editable, which enables the player to put items in and take items out of the inventory in the specified slot.
- setGlobalBehavior(Consumer<GlobalBehaviorBuilder>) - Method in class dev.aurelium.slate.Slate
- setHidden(boolean) - Method in class dev.aurelium.slate.item.active.ActiveItem
- setHidden(String, boolean) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Hides or shows an item in the current menu, will not delete the item in configs.
- setInventory(Player, SmartInventory) - Method in class dev.aurelium.slate.inv.InventoryManager
- setItems(ClickableItem...) - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- setItems(ClickableItem...) - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets all the items for this Pagination.
- setItemsPerPage(int) - Method in class dev.aurelium.slate.inv.content.Pagination.Impl
- setItemsPerPage(int) - Method in interface dev.aurelium.slate.inv.content.Pagination
-
Sets the maximum amount of items per page.
- setLore(ItemMeta, List<Component>) - Method in class dev.aurelium.slate.menu.MenuInventory
- setLore(ItemMeta, List<Component>) - Static method in class dev.aurelium.slate.util.PaperUtil
- setPlugin(JavaPlugin) - Static method in class dev.aurelium.slate.inv.SmartInvsPlugin
- setPositionProvider(String, T, PositionProvider) - Method in class dev.aurelium.slate.menu.ActiveMenu
- setProperty(String, Object) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- setProperty(String, Object) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Sets the value of the property with the given name.
- setProperty(String, Object) - Method in class dev.aurelium.slate.menu.ActiveMenu
-
Sets a property in the menu's properties with the given name and value.
- setToUpdate(ActiveItem) - Method in class dev.aurelium.slate.menu.MenuInventory
- shouldShow(ComponentVisibility<T>) - Method in class dev.aurelium.slate.builder.ComponentBuilder
- shouldShow(ComponentInfo<T>) - Method in interface dev.aurelium.slate.function.ComponentVisibility
-
Determines if a component should be shown in a template or item.
- shouldWrap() - Method in class dev.aurelium.slate.lore.type.TextLore
- SingleItem - Class in dev.aurelium.slate.item
- SingleItem(Slate, String, ItemStack, String, List<LoreLine>, ItemActions, ItemConditions, List<SlotPos>, Map<String, Object>, List<ItemVariant>) - Constructor for class dev.aurelium.slate.item.SingleItem
- SingleItemBuilder - Class in dev.aurelium.slate.item.builder
- SingleItemBuilder(Slate) - Constructor for class dev.aurelium.slate.item.builder.SingleItemBuilder
- SingleItemParser - Class in dev.aurelium.slate.item.parser
- SingleItemParser(Slate) - Constructor for class dev.aurelium.slate.item.parser.SingleItemParser
- size() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
sizerecord component. - size(int, int) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- SkullCreator - Class in dev.aurelium.slate.util
-
A library for the Bukkit API to create player skulls from names, base64 strings, and texture URLs.
- slate - Variable in class dev.aurelium.slate.action.Action
- slate - Variable in class dev.aurelium.slate.action.condition.Condition
- slate - Variable in class dev.aurelium.slate.action.parser.ActionParser
- slate - Variable in class dev.aurelium.slate.item.builder.MenuItemBuilder
- slate - Variable in class dev.aurelium.slate.item.MenuItem
- slate - Variable in class dev.aurelium.slate.item.parser.MenuItemParser
- Slate - Class in dev.aurelium.slate
- Slate(JavaPlugin, SlateOptions) - Constructor for class dev.aurelium.slate.Slate
- SlateOptions - Record Class in dev.aurelium.slate.option
- SlateOptions(File, List<File>, int, KeyedItemProvider, Map<String, ItemMetaParser>, boolean, boolean) - Constructor for record class dev.aurelium.slate.option.SlateOptions
-
Creates an instance of a
SlateOptionsrecord class. - SlateOptionsBuilder - Class in dev.aurelium.slate.option
-
Builder for creating
SlateOptionsto pass to theSlateconstructor. - SlateOptionsBuilder() - Constructor for class dev.aurelium.slate.option.SlateOptionsBuilder
- SlotIterator - Interface in dev.aurelium.slate.inv.content
-
The SlotIterator system allows you to iterate through the slots of an inventory either
horizontallyorvertically. - SlotIterator.Impl - Class in dev.aurelium.slate.inv.content
- SlotIterator.Type - Enum Class in dev.aurelium.slate.inv.content
-
The iterate type of the inventory.
- SlotParser - Class in dev.aurelium.slate.fill
- SlotParser() - Constructor for class dev.aurelium.slate.fill.SlotParser
- slotPos(TemplateSlot<T>) - Method in class dev.aurelium.slate.builder.TemplateBuilder
- SlotPos - Class in dev.aurelium.slate.inv.content
-
Represents the position (row + column) of a slot in an inventory.
- SlotPos(int, int) - Constructor for class dev.aurelium.slate.inv.content.SlotPos
- slotProvider() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns the value of the
slotProviderrecord component. - slots() - Method in record class dev.aurelium.slate.fill.FillData
-
Returns the value of the
slotsrecord component. - slots() - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- slots() - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Returns a list of all the slots in the inventory.
- SmartInventory - Class in dev.aurelium.slate.inv
- SmartInventory.Builder - Class in dev.aurelium.slate.inv
- SmartInvsPlugin - Class in dev.aurelium.slate.inv
- SmartInvsPlugin() - Constructor for class dev.aurelium.slate.inv.SmartInvsPlugin
- SoundAction - Class in dev.aurelium.slate.action
- SoundAction(Slate, String, SoundCategory, float, float) - Constructor for class dev.aurelium.slate.action.SoundAction
- SoundActionParser - Class in dev.aurelium.slate.action.parser
- SoundActionParser(Slate) - Constructor for class dev.aurelium.slate.action.parser.SoundActionParser
- SpecialInventoryOpener - Class in dev.aurelium.slate.inv.opener
- SpecialInventoryOpener() - Constructor for class dev.aurelium.slate.inv.opener.SpecialInventoryOpener
- started() - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- started() - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Checks if this iterator has been started.
- style() - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
-
Returns the value of the
stylerecord component. - styleMap() - Method in record class dev.aurelium.slate.lore.LoreStyles
-
Returns the value of the
styleMaprecord component. - substringAfter(String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- substringBefore(String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- substringsBetween(String, String, String) - Static method in class dev.aurelium.slate.util.TextUtil
- supports(InventoryType) - Method in class dev.aurelium.slate.inv.opener.ChestInventoryOpener
- supports(InventoryType) - Method in interface dev.aurelium.slate.inv.opener.InventoryOpener
- supports(InventoryType) - Method in class dev.aurelium.slate.inv.opener.SpecialInventoryOpener
T
- template(String, Class<T>, TemplateBuilder<T>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add a template item to the menu that accepts a
TemplateBuilderinstance you must create yourself. - template(String, Class<T>, Consumer<TemplateBuilder<T>>) - Method in class dev.aurelium.slate.builder.MenuBuilder
-
Add a template item to the menu.
- TemplateBuilder<T> - Class in dev.aurelium.slate.builder
- TemplateBuilder(Class<T>) - Constructor for class dev.aurelium.slate.builder.TemplateBuilder
- TemplateClick<T> - Class in dev.aurelium.slate.item
-
Stores contextual data for template clicks.
- TemplateClick(Slate, Player, InventoryClickEvent, ItemStack, SlotPos, ActiveMenu, T) - Constructor for class dev.aurelium.slate.item.TemplateClick
- TemplateClicker<T> - Interface in dev.aurelium.slate.function
- TemplateData<C> - Record Class in dev.aurelium.slate.item
- TemplateData(Map<C, PositionProvider>, Map<C, ItemStack>, Map<C, String>, Map<C, List<LoreLine>>, Map<C, ItemConditions>, Map<C, ItemActions>, List<TemplateVariant<C>>) - Constructor for record class dev.aurelium.slate.item.TemplateData
-
Creates an instance of a
TemplateDatarecord class. - TemplateInfo<T> - Class in dev.aurelium.slate.info
-
Represents contextual information about an instance of a template in a menu with a specific context.
- TemplateInfo(Slate, Player, ActiveMenu, ItemStack, T) - Constructor for class dev.aurelium.slate.info.TemplateInfo
- TemplateItem<C> - Class in dev.aurelium.slate.item
- TemplateItem(Slate, String, Class<C>, TemplateData<C>, ItemStack, String, List<LoreLine>, ItemActions, ItemConditions, PositionProvider, Map<String, Object>, Map<String, ContextGroup>) - Constructor for class dev.aurelium.slate.item.TemplateItem
- TemplateItemBuilder<C> - Class in dev.aurelium.slate.item.builder
- TemplateItemBuilder(Slate) - Constructor for class dev.aurelium.slate.item.builder.TemplateItemBuilder
- TemplateItemParser<C> - Class in dev.aurelium.slate.item.parser
- TemplateItemParser(Slate, ContextProvider<C>) - Constructor for class dev.aurelium.slate.item.parser.TemplateItemParser
- TemplateModifier<T> - Interface in dev.aurelium.slate.function
- TemplatePlaceholderInfo<T> - Class in dev.aurelium.slate.info
-
Represents contextual information about a placeholder in a menu within a template.
- TemplatePlaceholderInfo(Slate, Player, String, ActiveMenu, PlaceholderData, T) - Constructor for class dev.aurelium.slate.info.TemplatePlaceholderInfo
- TemplateReplacer<T> - Interface in dev.aurelium.slate.function
- templates() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
templatesrecord component. - TemplateSlot<T> - Interface in dev.aurelium.slate.function
- TemplateTextReplacer<T> - Class in dev.aurelium.slate.text
- TemplateTextReplacer(Slate, Map<String, TemplateReplacer<T>>, TemplateReplacer<T>) - Constructor for class dev.aurelium.slate.text.TemplateTextReplacer
- TemplateVariant<C> - Record Class in dev.aurelium.slate.item
- TemplateVariant(Set<C>, Map<String, Object>, ItemStack, PositionProvider, String, List<LoreLine>) - Constructor for record class dev.aurelium.slate.item.TemplateVariant
-
Creates an instance of a
TemplateVariantrecord class. - test(String, String) - Method in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
- TEXT - Enum constant in enum class dev.aurelium.slate.lore.LoreType
- TextFormatter - Class in dev.aurelium.slate.text
- TextFormatter() - Constructor for class dev.aurelium.slate.text.TextFormatter
- TextLore - Class in dev.aurelium.slate.lore.type
- TextLore(String, LoreStyles, boolean, int, boolean, String) - Constructor for class dev.aurelium.slate.lore.type.TextLore
- TextLoreParser - Class in dev.aurelium.slate.lore.parser
- TextLoreParser() - Constructor for class dev.aurelium.slate.lore.parser.TextLoreParser
- TextUtil - Class in dev.aurelium.slate.util
- TextUtil() - Constructor for class dev.aurelium.slate.util.TextUtil
- title() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns the value of the
titlerecord component. - title(String) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
- TITLE - Enum constant in enum class dev.aurelium.slate.item.provider.PlaceholderType
- titleAnyReplacer() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
titleAnyReplacerrecord component. - titleReplacers() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
titleReplacersrecord component. - toComponent(String) - Method in class dev.aurelium.slate.text.TextFormatter
- toComponentLore(List<String>) - Method in class dev.aurelium.slate.text.TextFormatter
- toDotString(NodePath) - Static method in class dev.aurelium.slate.util.YamlLoader
- toInt(String) - Static method in class dev.aurelium.slate.util.NumberUtil
- toInt(String, int) - Static method in class dev.aurelium.slate.util.NumberUtil
- toNewlineString(List<String>) - Static method in class dev.aurelium.slate.util.LoreUtil
- TOP_ROW - Enum constant in enum class dev.aurelium.slate.fill.FillShape
- toShort(String) - Static method in class dev.aurelium.slate.util.NumberUtil
- toShort(String, short) - Static method in class dev.aurelium.slate.util.NumberUtil
- toString() - Method in record class dev.aurelium.slate.action.condition.ItemConditions
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.action.ItemActions
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.builder.BuiltItem
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.builder.BuiltTemplate
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.builder.GlobalBehavior
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.component.ComponentData
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.component.MenuComponent
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.fill.FillData
-
Returns a string representation of this record class.
- toString() - Method in class dev.aurelium.slate.inv.content.SlotPos
- toString() - Method in record class dev.aurelium.slate.item.ItemVariant
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.item.TemplateVariant
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.lore.LoreStyles
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.menu.LoadedMenu
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.option.SlateOptions
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.position.FixedPosition
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.position.GroupPosition
-
Returns a string representation of this record class.
- toString() - Method in record class dev.aurelium.slate.position.MultiPosition
-
Returns a string representation of this record class.
- toString(Component) - Method in class dev.aurelium.slate.text.TextFormatter
- type() - Method in record class dev.aurelium.slate.item.provider.PlaceholderData
-
Returns the value of the
typerecord component. - type(InventoryType) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
U
- unregisterAll() - Method in class dev.aurelium.slate.item.provider.ProviderManager
- unregisterMenus() - Method in class dev.aurelium.slate.Slate
- update(Player, InventoryContents) - Method in interface dev.aurelium.slate.inv.content.InventoryProvider
- update(Player, InventoryContents) - Method in class dev.aurelium.slate.menu.MenuInventory
- updateFrequency(int) - Method in class dev.aurelium.slate.inv.SmartInventory.Builder
-
This method is used to configure the frequency at which the
InventoryProvider.update(Player, InventoryContents)method is called. - updateItem(int, int, ItemStack) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- updateItem(int, int, ItemStack) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.updateItem(int, ItemStack), but with a row and a column instead of the index. - updateItem(int, ItemStack) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- updateItem(int, ItemStack) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Updates the
ItemStackof the givenClickableItemat the given slot in this inventory. - updateItem(SlotPos, ItemStack) - Method in class dev.aurelium.slate.inv.content.InventoryContents.Impl
- updateItem(SlotPos, ItemStack) - Method in interface dev.aurelium.slate.inv.content.InventoryContents
-
Same as
InventoryContents.updateItem(int, ItemStack), but with aSlotPosinstead of the index. - updateListener() - Method in record class dev.aurelium.slate.builder.BuiltMenu
-
Returns the value of the
updateListenerrecord component.
V
- Validate - Class in dev.aurelium.slate.util
- Validate() - Constructor for class dev.aurelium.slate.util.Validate
- value() - Method in class dev.aurelium.slate.info.TemplateInfo
-
Gets the value of the context of this template instance.
- value() - Method in class dev.aurelium.slate.info.TemplatePlaceholderInfo
-
Gets the value of the context of this template instance.
- value() - Method in class dev.aurelium.slate.item.TemplateClick
-
Gets the context value corresponding to the instance of the template that was clicked.
- valueOf(String) - Static method in enum class dev.aurelium.slate.action.CommandAction.Executor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.action.MenuAction.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.action.trigger.ClickTrigger
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.action.trigger.MenuTrigger
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.context.GroupAlign
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.fill.FillShape
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.inv.content.SlotIterator.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.item.provider.PlaceholderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.aurelium.slate.lore.LoreType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.aurelium.slate.action.CommandAction.Executor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.action.condition.PlaceholderCondition.Compare
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.action.MenuAction.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.action.trigger.ClickTrigger
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.action.trigger.MenuTrigger
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.context.GroupAlign
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.fill.FillShape
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.inv.content.SlotIterator.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.item.provider.PlaceholderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.aurelium.slate.lore.LoreType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variants() - Method in record class dev.aurelium.slate.item.TemplateData
-
Returns the value of the
variantsrecord component. - variants(List<ItemVariant>) - Method in class dev.aurelium.slate.item.builder.SingleItemBuilder
- variants(List<TemplateVariant<C>>) - Method in class dev.aurelium.slate.item.builder.TemplateItemBuilder
- VersionUtil - Class in dev.aurelium.slate.util
- VersionUtil() - Constructor for class dev.aurelium.slate.util.VersionUtil
- VERTICAL - Enum constant in enum class dev.aurelium.slate.inv.content.SlotIterator.Type
-
Iterates vertically from the up to the down of the inventory, and jump to the next column when the last line is reached.
- viewConditions() - Method in record class dev.aurelium.slate.action.condition.ItemConditions
-
Returns the value of the
viewConditionsrecord component. - visibility() - Method in record class dev.aurelium.slate.builder.BuiltComponent
-
Returns the value of the
visibilityrecord component.
W
- withPattern(Pattern<Boolean>) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- withPattern(Pattern<Boolean>) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Setting a pattern using this method will use it as a guideline where the slot iterator can set items or not.
- withPattern(Pattern<Boolean>, int, int) - Method in class dev.aurelium.slate.inv.content.SlotIterator.Impl
- withPattern(Pattern<Boolean>, int, int) - Method in interface dev.aurelium.slate.inv.content.SlotIterator
-
Setting a pattern using this method will use it as a guideline where the slot iterator can set items or not.
- wrapLore(String, int) - Static method in class dev.aurelium.slate.util.LoreUtil
- wrapLore(String, int, TextLore, BiFunction<String, TextLore, String>) - Static method in class dev.aurelium.slate.util.LoreUtil
- wrapLore(String, int, String) - Static method in class dev.aurelium.slate.util.LoreUtil
- WrappedTask - Class in dev.aurelium.slate.scheduler
- WrappedTask(Object) - Constructor for class dev.aurelium.slate.scheduler.WrappedTask
Y
- YamlLoader - Class in dev.aurelium.slate.util
- YamlLoader(Plugin) - Constructor for class dev.aurelium.slate.util.YamlLoader
All Classes and Interfaces|All Packages