Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- Action - Class in io.github.lucfr1746.llibrary.action
-
Represents an abstract action that can be executed on a player.
- Action() - Constructor for class io.github.lucfr1746.llibrary.action.Action
- ActionLoader - Class in io.github.lucfr1746.llibrary.action
-
Loads and manages different types of actions in the plugin.
- ActionLoader() - Constructor for class io.github.lucfr1746.llibrary.action.ActionLoader
-
Initializes the ActionLoader and registers all available actions.
- addAttributeModifier(Attribute, AttributeModifier) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Add an Attribute and it's Modifier.
- addButton(int, InventoryButton) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- addChargedProjectile(ItemStack) - Method in class io.github.lucfr1746.llibrary.itemstack.CrossbowBuilder
-
Adds a charged projectile to the crossbow.
- addCustomChart(bStats.CustomChart) - Method in class io.github.lucfr1746.llibrary.metrics.bStats
-
Adds a custom chart.
- addCustomChart(bStats.CustomChart) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.MetricsBase
- addCustomEffect(PotionEffect, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Adds a custom potion effect.
- addEffect(FireworkEffect) - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Adds a single firework effect to the firework.
- addEffect(PotionEffect, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Adds a custom potion effect to the suspicious stew.
- addEffects(Iterable<FireworkEffect>) - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Adds a collection of firework effects to the firework.
- addEffects(FireworkEffect...) - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Adds multiple firework effects to the firework.
- addEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Adds an enchantment to the item with level 1 and level limit check.
- addEnchant(Enchantment, int) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Adds or updates an enchantment on the item with level limit check.
- addEnchant(Enchantment, int, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Adds or updates an enchantment on the item.
- addItem(ItemStack) - Method in class io.github.lucfr1746.llibrary.itemstack.BundleBuilder
-
Adds an item to the bundle.
- addItemFlags(ItemFlag...) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Adds the specified item flags to the item.
- addLore(String) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Adds a single lore line to the item.
- addPage(String...) - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Adds new pages to the end of the book.
- addPattern(DyeColor, PatternType) - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Adds a new pattern to the banner.
- addPattern(Pattern) - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Adds a new pattern to the banner.
- addRecipes(NamespacedKey...) - Method in class io.github.lucfr1746.llibrary.itemstack.KnowledgeBookBuilder
-
Adds recipes to the knowledge book.
- addRenderer(MapRenderer) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Adds a renderer to the map.
- addRule(Collection<Material>, Float, Boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Adds a custom rule for multiple blocks.
- addRule(Material, Float, Boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Adds a custom rule for a specific block.
- addRule(Tag<Material>, Float, Boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Adds a custom rule for a tag of blocks.
- addStoredEnchant(Enchantment, int, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Adds a stored enchantment to the item.
- AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.AdvancedBarChart
-
Class constructor.
- AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.AdvancedPie
-
Class constructor.
- ALL - Enum constant in enum class io.github.lucfr1746.llibrary.inventory.InventoryBuilder.LockMode
- appendField(String, int) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends an integer field to the JSON.
- appendField(String, int[]) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends an integer array to the JSON.
- appendField(String, bStats.JsonObjectBuilder.JsonObject) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends an object to the JSON.
- appendField(String, bStats.JsonObjectBuilder.JsonObject[]) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends an object array to the JSON.
- appendField(String, String) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends a string field to the JSON.
- appendField(String, String[]) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends a string array to the JSON.
- appendNull(String) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Appends a null field to the JSON.
- ArmorBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
ArmorMetaBuilder
class extendsItemBuilder
to provide additional functionality for modifyingArmorMeta
of anItemStack
. - ArmorBuilder(Material) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ArmorBuilder
-
Constructs an
ArmorMetaBuilder
with the specifiedMaterial
. - ArmorBuilder(Material, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ArmorBuilder
-
Constructs an
ArmorMetaBuilder
with the specifiedMaterial
and amount. - ArmorBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ArmorBuilder
-
Constructs an
ArmorMetaBuilder
using an existingItemStack
. - AxolotlBucketBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
AxolotlBucketBuilder
class extendsItemBuilder
to provide additional functionality for modifyingAxolotlBucketMeta
of anItemStack
. - AxolotlBucketBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.AxolotlBucketBuilder
-
Constructs an
AxolotlBucketBuilder
with a default AXOLOTL_BUCKET. - AxolotlBucketBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.AxolotlBucketBuilder
-
Constructs an
AxolotlBucketBuilder
using an existingItemStack
.
B
- BannerBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
BannerBuilder
class extendsItemBuilder
to provide additional functionality for modifyingBannerMeta
of anItemStack
. - BannerBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Constructs a
BannerBuilder
with a default banner. - BannerBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Constructs a
BannerBuilder
using an existingItemStack
. - BookBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
BookMetaBuilder
class extendsWritableBookBuilder
to provide additional functionality for modifyingBookMeta
of anItemStack
. - BookBuilder(Material) - Constructor for class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Constructs a
BookMetaBuilder
with the specifiedMaterial
. - BookBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Constructs a
BookMetaBuilder
using an existingItemStack
. - BroadcastAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that broadcasts a formatted message to all online players.
- BroadcastAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.BroadcastAction
-
Constructs a BroadcastAction with the specified message.
- BroadcastSoundAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that broadcasts a sound to all online players.
- BroadcastSoundAction(Sound, float, float) - Constructor for class io.github.lucfr1746.llibrary.action.list.BroadcastSoundAction
-
Constructs a BroadcastSoundAction with the specified sound, volume, and pitch.
- BroadcastWorldAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that broadcasts a message to all players in the same world as the target.
- BroadcastWorldAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.BroadcastWorldAction
-
Constructs a BroadcastWorldAction with the specified message.
- BroadcastWorldSoundAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that broadcasts a sound to all players in the same world as the target player.
- BroadcastWorldSoundAction(Sound, float, float) - Constructor for class io.github.lucfr1746.llibrary.action.list.BroadcastWorldSoundAction
-
Constructs a BroadcastWorldSoundAction with the specified sound, volume, and pitch.
- bStats - Class in io.github.lucfr1746.llibrary.metrics
- bStats(Plugin, int) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats
-
Creates a new Metrics instance.
- bStats.AdvancedBarChart - Class in io.github.lucfr1746.llibrary.metrics
- bStats.AdvancedPie - Class in io.github.lucfr1746.llibrary.metrics
- bStats.CustomChart - Class in io.github.lucfr1746.llibrary.metrics
- bStats.DrilldownPie - Class in io.github.lucfr1746.llibrary.metrics
- bStats.JsonObjectBuilder - Class in io.github.lucfr1746.llibrary.metrics
-
An extremely simple JSON builder.
- bStats.JsonObjectBuilder.JsonObject - Class in io.github.lucfr1746.llibrary.metrics
-
A super simple representation of a JSON object.
- bStats.MetricsBase - Class in io.github.lucfr1746.llibrary.metrics
- bStats.MultiLineChart - Class in io.github.lucfr1746.llibrary.metrics
- bStats.SimpleBarChart - Class in io.github.lucfr1746.llibrary.metrics
- bStats.SimplePie - Class in io.github.lucfr1746.llibrary.metrics
- bStats.SingleLineChart - Class in io.github.lucfr1746.llibrary.metrics
- build() - Method in class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Builds and returns the configured
FireworkEffect
. - build() - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Gets the configured
MapView
. - build() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Builds and returns the final
ItemStack
. - build() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
-
Builds the JSON string and invalidates this builder.
- build(World) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.EntitySnapshotBuilder
-
Builds an
EntitySnapshot
based on the provided data. - BundleBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
BundleBuilder
class extendsItemBuilder
to provide additional functionality for modifyingBundleMeta
of anItemStack
. - BundleBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.BundleBuilder
-
Constructs a
BundleBuilder
with a new bundle item. - BundleBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.BundleBuilder
-
Constructs a
BundleBuilder
using an existingItemStack
.
C
- canAlwaysEat() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Checks if the food can be eaten when the player is not hungry.
- ChatAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action where a player sends a chat message.
- ChatAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.ChatAction
-
Constructs a ChatAction with the specified message.
- ChatInput - Class in io.github.lucfr1746.llibrary.chatinput.input
-
An abstract class that stands as base for all types of inputs.
- ChatInput() - Constructor for class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
- ChatInputAPI - Class in io.github.lucfr1746.llibrary.chatinput
-
API for handling chat input interactions with players.
- ChatInputAPI(JavaPlugin, Player, ChatInput) - Constructor for class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Constructs a new ChatInputAPI instance.
- ChatInputManager - Class in io.github.lucfr1746.llibrary.chatinput.manager
-
The main class that provides the function to prompt for input.
- ChatInputManager() - Constructor for class io.github.lucfr1746.llibrary.chatinput.manager.ChatInputManager
- ChatInputRequest - Class in io.github.lucfr1746.llibrary.chatinput.request
- ChatInputRequest(ChatInput) - Constructor for class io.github.lucfr1746.llibrary.chatinput.request.ChatInputRequest
- ChatInputResponse - Record Class in io.github.lucfr1746.llibrary.chatinput.response
-
A class that represents the response of an input prompt.
- ChatInputResponse(InputStatus, String) - Constructor for record class io.github.lucfr1746.llibrary.chatinput.response.ChatInputResponse
-
Creates an instance of a
ChatInputResponse
record class. - clearAllRequests(UUID) - Static method in class io.github.lucfr1746.llibrary.chatinput.manager.ChatInputManager
- clearColors(String) - Static method in class io.github.lucfr1746.llibrary.util.helper.StringUtil
- clearEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Clears all firework effects from the firework.
- clearEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Removes all custom potion effects from the suspicious stew.
- clearPages() - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Clears all pages in the book.
- clone() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- clone() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
- CompassBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
CompassBuilder
class extendsItemBuilder
to provide additional functionality for modifyingCompassMeta
of anItemStack
. - CompassBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Constructs a
CompassBuilder
with a new compass item. - CompassBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Constructs a
CompassBuilder
using an existingItemStack
. - completeAllRequests(UUID, ChatInputResponse) - Static method in class io.github.lucfr1746.llibrary.chatinput.manager.ChatInputManager
- completeCurrentRequest(UUID, ChatInputResponse) - Static method in class io.github.lucfr1746.llibrary.chatinput.manager.ChatInputManager
- ConsoleAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that executes a console command.
- ConsoleAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.ConsoleAction
-
Constructs a new ConsoleAction with the specified command.
- consumer(Consumer<InventoryClickEvent>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Sets the consumer that handles inventory click events.
- convertToYAMLConfiguration(File) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- copyTo(ChatInput) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Copies the properties of this object in the given object.
- create(JavaPlugin, Player, ChatInput) - Static method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Creates a new instance of ChatInputAPI.
- createDefaultFile(String, String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- createFile(String, String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- createFolderIfNotExist(String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- creator(Function<Player, ItemStack>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Sets the function that generates the button's icon.
- CrossbowBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
CrossbowBuilder
class extendsItemBuilder
to provide additional functionality for modifyingCrossbowMeta
of anItemStack
. - CrossbowBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.CrossbowBuilder
-
Constructs a
CrossbowBuilder
with a new crossbow item. - CrossbowBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.CrossbowBuilder
-
Constructs a
CrossbowBuilder
using an existingItemStack
. - CustomChart(String) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.CustomChart
- CustomEquippableComponent - Class in io.github.lucfr1746.llibrary.itemstack.component
-
Represents a custom implementation of the
EquippableComponent
interface. - CustomEquippableComponent(EquipmentSlot) - Constructor for class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Constructs a new CustomEquippableComponent with the given equipment slot and default values.
- CustomFoodComponent - Class in io.github.lucfr1746.llibrary.itemstack.component
-
Represents a custom implementation of the
FoodComponent
. - CustomFoodComponent(int, float, boolean) - Constructor for class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Constructs a new CustomFoodComponent with the specified properties.
- CustomJukeboxPlayableComponent - Class in io.github.lucfr1746.llibrary.itemstack.component
-
Represents a custom implementation of the
JukeboxPlayableComponent
interface. - CustomJukeboxPlayableComponent(NamespacedKey, JukeboxSong, boolean) - Constructor for class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Constructs a new CustomJukeboxPlayableComponent.
- CustomToolComponent - Class in io.github.lucfr1746.llibrary.itemstack.component
-
Represents a custom implementation of the
ToolComponent
interface. - CustomToolComponent(float, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Constructs a new CustomToolComponent with the given default mining speed and block damage.
- CustomToolComponent.CustomToolRule - Class in io.github.lucfr1746.llibrary.itemstack.component
-
Represents a custom implementation of the
ToolComponent.ToolRule
interface. - CustomToolRule(Collection<Material>, Float, Boolean) - Constructor for class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Constructs a new CustomToolRule.
- CustomUseCooldownComponent - Class in io.github.lucfr1746.llibrary.itemstack.component
-
Represents a custom implementation of the
UseCooldownComponent
interface. - CustomUseCooldownComponent(float, NamespacedKey) - Constructor for class io.github.lucfr1746.llibrary.itemstack.component.CustomUseCooldownComponent
-
Constructs a new CustomUseCooldownComponent with the specified cooldown time and group.
D
- DamageableItemBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
DamageableBuilder
class extendsItemBuilder
to provide additional functionality for modifyingDamageable
items in anItemStack
. - DamageableItemBuilder(Material) - Constructor for class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Constructs a
DamageableItemBuilder
with the specifiedMaterial
. - DamageableItemBuilder(Material, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Constructs a
DamageableItemBuilder
with the specifiedMaterial
and amount. - DamageableItemBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Constructs a
DamageableItemBuilder
using an existingItemStack
. - debug(String) - Method in class io.github.lucfr1746.llibrary.util.helper.Logger
-
Sends a debug message to the console with blue formatting.
- decorate(Player) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- disable() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryManager
-
Disables the inventory manager and closes all active inventories.
- DISABLE_COMMANDS - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputFlag
- DISABLE_INTERACTION - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputFlag
- DISABLE_MOVEMENT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputFlag
- DISABLED_COMMANDS - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- DISABLED_INTERACTION - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- DISABLED_MOVEMENT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- DoubleInput - Class in io.github.lucfr1746.llibrary.chatinput.input
-
A child class of ChatInput used for the input of double values.
- DoubleInput() - Constructor for class io.github.lucfr1746.llibrary.chatinput.input.DoubleInput
- DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.DrilldownPie
-
Class constructor.
E
- EnchantmentStorageBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
EnchantmentStorageBuilder
class extendsItemBuilder
to provide additional functionality for modifyingEnchantmentStorageMeta
of anItemStack
. - EnchantmentStorageBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Constructs a
EnchantmentStorageBuilder
with a new enchanted book. - EnchantmentStorageBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Constructs a
EnchantmentStorageBuilder
using an existingItemStack
. - EntitySnapshotBuilder - Class in io.github.lucfr1746.llibrary.itemstack.helper
-
The
EntitySnapshotBuilder
class provides a way to create and modifyEntitySnapshot
instances before using them. - EntitySnapshotBuilder(EntityType) - Constructor for class io.github.lucfr1746.llibrary.itemstack.helper.EntitySnapshotBuilder
-
Creates an
EntitySnapshotBuilder
for the specified entity type. - equals(Object) - Method in record class io.github.lucfr1746.llibrary.chatinput.response.ChatInputResponse
-
Indicates whether some other object is "equal to" this one.
- error(String) - Method in class io.github.lucfr1746.llibrary.util.helper.Logger
-
Logs an error message.
- evaluate(Player) - Method in class io.github.lucfr1746.llibrary.requirement.list.HasExpRequirement
-
Evaluates whether the player meets the required experience.
- evaluate(Player) - Method in class io.github.lucfr1746.llibrary.requirement.list.HasLevelRequirement
-
Evaluates whether the player meets the required level.
- evaluate(Player) - Method in class io.github.lucfr1746.llibrary.requirement.list.HasPermissionRequirement
-
Evaluates whether the player has the required permission.
- evaluate(Player) - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Evaluates whether the player meets the requirement.
- EventsListener - Class in io.github.lucfr1746.llibrary.chatinput.manager
-
An event listener class that is responsible for getting the input values, restricting the player and complete input requests when needed.
- EventsListener() - Constructor for class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- execute(Consumer<String>) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Executes the chat input prompt and processes the response.
- execute(Consumer<String>, Consumer<InputStatus>) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Executes the chat input prompt and provides callbacks for both success and failure cases.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.Action
-
Executes the action on the specified player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastAction
-
Executes the broadcast action, sending the formatted message to all online players.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastSoundAction
-
Executes the broadcast sound action, playing the sound for all online players.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastWorldAction
-
Executes the broadcast world action, sending the message to all players in the same world as the target.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastWorldSoundAction
-
Executes the broadcast world sound action, playing the sound for all players in the same world as the target.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.ChatAction
-
Executes the chat action, making the player send the predefined message.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.ConsoleAction
-
Executes the console command, replacing placeholders if PlaceholderAPI is enabled.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.GiveExpAction
-
Executes the action, giving experience points to the target player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.GiveMoneyAction
-
Executes the action, giving money to the target player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.GivePermissionAction
-
Executes the action, granting the specified permission to the target player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.MessageAction
-
Executes the action, sending the formatted message to the target player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.MiniMessageAction
-
Executes the action, sending the MiniMessage-formatted message to the target player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.OpenMenuAction
-
Executes the action by opening the menu associated with the given ID for the specified player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.PlayerAction
-
Executes the action, making the target player run the specified command.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.SoundAction
-
Executes the action, playing the sound at the target player's location.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.TakeExpAction
-
Executes the action, deducting experience points from the target player.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.TakeMoneyAction
-
Executes the action, withdrawing money from the target player's balance.
- execute(Player) - Method in class io.github.lucfr1746.llibrary.action.list.TakePermissionAction
-
Executes the action, removing the specified permission from the target player.
F
- FAILED_ATTEMPTS - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
- FileAPI - Class in io.github.lucfr1746.llibrary.util.helper
- FileAPI(String, boolean) - Constructor for class io.github.lucfr1746.llibrary.util.helper.FileAPI
- FileAPI(Plugin, boolean) - Constructor for class io.github.lucfr1746.llibrary.util.helper.FileAPI
- FireworkBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
FireworkBuilder
class extendsItemBuilder
to provide additional functionality for modifyingFireworkMeta
of anItemStack
. - FireworkBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Constructs a
FireworkBuilder
with a new firework rocket. - FireworkBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Constructs a
FireworkBuilder
using an existingItemStack
. - FireworkEffectBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
FireworkEffectBuilder
class extendsItemBuilder
to provide additional functionality for modifyingFireworkEffectMeta
of anItemStack
. - FireworkEffectBuilder - Class in io.github.lucfr1746.llibrary.itemstack.helper
-
A builder class for creating custom
FireworkEffect
. - FireworkEffectBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.FireworkEffectBuilder
-
Constructs a
FireworkEffectBuilder
with a newMaterial.FIREWORK_STAR
. - FireworkEffectBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Constructs a new
FireworkEffectBuilder
. - FireworkEffectBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.FireworkEffectBuilder
-
Constructs a
FireworkEffectBuilder
using an existingItemStack
. - format(String, Player, String...) - Static method in class io.github.lucfr1746.llibrary.util.helper.StringUtil
- formatNumber(double, int, boolean) - Static method in class io.github.lucfr1746.llibrary.util.helper.StringUtil
- from(String) - Static method in class io.github.lucfr1746.llibrary.util.NamespaceKey
- fromEntity(Entity) - Static method in class io.github.lucfr1746.llibrary.itemstack.helper.EntitySnapshotBuilder
-
Creates an
EntitySnapshot
from an existing entity.
G
- getAcceptHandler() - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Gets the actions that execute when the requirement is met.
- getAction(String) - Method in class io.github.lucfr1746.llibrary.action.ActionLoader
-
Retrieves an Action instance based on an input string.
- getActions(List<String>) - Method in class io.github.lucfr1746.llibrary.action.ActionLoader
-
Retrieves a list of Action instances based on a list of input strings.
- getAllFiles(String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- getAllowedEntities() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets the entities which can equip this item.
- getAmount() - Method in class io.github.lucfr1746.llibrary.action.list.GiveExpAction
-
Gets the amount of experience to be given.
- getAmount() - Method in class io.github.lucfr1746.llibrary.action.list.GiveMoneyAction
-
Gets the amount of money to be given.
- getAmount() - Method in class io.github.lucfr1746.llibrary.action.list.TakeExpAction
-
Gets the amount of experience to be removed.
- getAmount() - Method in class io.github.lucfr1746.llibrary.action.list.TakeMoneyAction
-
Gets the amount of money to be deducted.
- getAmount() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the number of items in the stack.
- getAmplifier() - Method in class io.github.lucfr1746.llibrary.itemstack.OminousBottleBuilder
-
Gets the amplifier level of the Ominous Bottle's bad omen effect.
- getAttempts() - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Gets the remaining number of attempts the input can be given.
- getAttributeModifiers() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Return an immutable copy of all Attributes and their modifiers in this ItemMeta.
- getAttributeModifiers(Attribute) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Return an immutable copy of all
AttributeModifier
s for a givenAttribute
- getAttributeModifiers(EquipmentSlot) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Return an immutable copy of all
Attribute
s and theirAttributeModifier
s for a givenEquipmentSlot
. - getAudiences() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Gets the Adventure API's audience manager.
- getAuthor() - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Gets the author of the book.
- getBaseColor() - Method in class io.github.lucfr1746.llibrary.itemstack.ShieldBuilder
-
Gets the base color of the shield.
- getBasePotionType() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Gets the base potion type.
- getBlocks() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Gets the collection of blocks this rule applies to.
- getBodyColor() - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Gets the body color of the tropical fish in the bucket.
- getButtonMap() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getCameraOverlay() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets the key of the camera overlay to use when equipped.
- getChargedProjectiles() - Method in class io.github.lucfr1746.llibrary.itemstack.CrossbowBuilder
-
Gets the list of charged projectiles from the crossbow.
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.AdvancedBarChart
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.AdvancedPie
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.CustomChart
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.DrilldownPie
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.MultiLineChart
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.SimpleBarChart
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.SimplePie
- getChartData() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.SingleLineChart
- getColor() - Method in class io.github.lucfr1746.llibrary.itemstack.LeatherArmorBuilder
-
Gets the color of the leather armor.
- getColor() - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Gets the current map color.
- getColor() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Gets the potion color.
- getCommand() - Method in class io.github.lucfr1746.llibrary.action.list.ConsoleAction
-
Gets the command to be executed.
- getCommand() - Method in class io.github.lucfr1746.llibrary.action.list.PlayerAction
-
Gets the command that will be executed by the player.
- getCooldownGroup() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomUseCooldownComponent
-
Gets the cooldown group represented by a
NamespacedKey
. - getCooldownSeconds() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomUseCooldownComponent
-
Gets the cooldown time in seconds.
- getCurrentRequest(UUID) - Static method in class io.github.lucfr1746.llibrary.chatinput.manager.ChatInputManager
- getCustomEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Gets all custom potion effects.
- getCustomModelData() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the Custom Model Data of the item.
- getCustomName() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Gets the custom name of the potion.
- getDamage() - Method in class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Gets the current damage value of the item.
- getDamagePerBlock() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Gets the amount of damage the tool takes per block broken.
- getDamageResistant() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the damage resistance tag of the item.
- getDefaultMiningSpeed() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Gets the default mining speed of the tool.
- getDenyHandler() - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Gets the actions that execute when the requirement is not met.
- getDisplayName() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the display name of the item.
- getEconomy() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Gets the Vault economy handler.
- getEffect() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkEffectBuilder
-
Gets the firework effect.
- getEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Gets the list of firework effects.
- getEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Gets an immutable list of all custom potion effects on the suspicious stew.
- getEffectsSize() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Gets the number of firework effects.
- getEnchantable() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the enchantable value of the item.
- getEnchantLevel(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the level of a specific enchantment on the item.
- getEnchantmentGlintOverride() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the enchantment glint override status of the item.
- getEnchants() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets all enchantments on the item.
- getEquippableComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the equippable component of the item.
- getEquipSound() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets the sound to play when the item is equipped.
- getEventConsumer() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Gets the consumer that handles inventory click events.
- getFoodComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the food component associated with this item, or creates an empty food instance.
- getFuture() - Method in class io.github.lucfr1746.llibrary.chatinput.request.ChatInputRequest
- getGeneration() - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Gets the generation of the book.
- getIconCreator() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Gets the function that generates the button's icon.
- getId() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getId() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Gets the identifier of the button.
- getInput() - Method in class io.github.lucfr1746.llibrary.chatinput.request.ChatInputRequest
- getInstance() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Gets the instance of this plugin.
- getInstrument() - Method in class io.github.lucfr1746.llibrary.itemstack.MusicInstrumentBuilder
-
Gets the music instrument of the goat horn.
- getInventoryManager() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Gets the instance of the InventoryManager.
- getInventoryView() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getItemFlags() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets all item flags present on the item.
- getItemMeta() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
- getItemModel() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the item model of the item.
- getItems() - Method in class io.github.lucfr1746.llibrary.itemstack.BundleBuilder
-
Retrieves the items stored in the bundle.
- getJukeboxPlayableComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the JukeboxPlayableComponent of the item.
- getLockMode() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getLodestone() - Method in class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Gets the lodestone location of the compass.
- getMapView() - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Gets the associated
MapView
of this map. - getMaxDurability() - Method in class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Gets the maximum amount of damage this item can take.
- getMaxStackSize() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the max stack size of the item.
- getMenuType() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getMessage() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastAction
-
Gets the broadcast message.
- getMessage() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastWorldAction
-
Gets the broadcast message.
- getMessage() - Method in class io.github.lucfr1746.llibrary.action.list.ChatAction
-
Gets the chat message.
- getMessage() - Method in class io.github.lucfr1746.llibrary.action.list.MessageAction
-
Gets the message that will be sent.
- getMessage() - Method in class io.github.lucfr1746.llibrary.action.list.MiniMessageAction
-
Gets the MiniMessage-formatted message.
- getModel() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets the key of the model to use when equipped.
- getNeededLvl() - Method in class io.github.lucfr1746.llibrary.requirement.list.HasLevelRequirement
-
Gets the required level for this requirement.
- getNutrition() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Gets the nutrition value of the food.
- getOpenActions() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getOpenCommands() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getOpenRequirements() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getOrCreateDefaultYAMLConfiguration(String, String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- getOrCreateYAMLConfiguration(String, String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- getPage(int) - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Gets the specified page in the book.
- getPageCount() - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Gets the number of pages in the book.
- getPages() - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Gets all the pages in the book.
- getPattern() - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Gets the pattern of the tropical fish in the bucket.
- getPattern(int) - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Retrieves the pattern at the specified index.
- getPatternColor() - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Gets the pattern color of the tropical fish in the bucket.
- getPatterns() - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Returns a list of all patterns applied to the banner.
- getPermission() - Method in class io.github.lucfr1746.llibrary.action.list.GivePermissionAction
-
Gets the permission that will be granted.
- getPermission() - Method in class io.github.lucfr1746.llibrary.action.list.TakePermissionAction
-
Gets the permission that will be removed from the player.
- getPermission() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Gets the Vault permission handler.
- getPermission() - Method in class io.github.lucfr1746.llibrary.requirement.list.HasPermissionRequirement
-
Gets the required permission node.
- getPitch() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastSoundAction
-
Gets the pitch level of the sound.
- getPitch() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastWorldSoundAction
-
Gets the pitch of the sound.
- getPitch() - Method in class io.github.lucfr1746.llibrary.action.list.SoundAction
-
Gets the pitch of the sound.
- getPluginLogger() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Gets the custom logger for this plugin.
- getPower() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Gets the current power of the firework.
- getPriority() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Gets the priority of the button.
- getRarity() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the rarity of the item.
- getRecipes() - Method in class io.github.lucfr1746.llibrary.itemstack.KnowledgeBookBuilder
-
Gets all recipes in the knowledge book.
- getRepairCost() - Method in class io.github.lucfr1746.llibrary.itemstack.RepairableBuilder
-
Gets the repair cost of the item.
- getRequestJsonObject(BiConsumer<String, Throwable>, boolean) - Method in class io.github.lucfr1746.llibrary.metrics.bStats.CustomChart
- getRequirements(ConfigurationSection) - Method in class io.github.lucfr1746.llibrary.requirement.RequirementLoader
-
Retrieves a list of requirements from a configuration section.
- getRules() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Gets all custom rules for block interactions.
- getSaturation() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Gets the saturation value of the food.
- getSkullTexture() - Method in class io.github.lucfr1746.llibrary.itemstack.SkullBuilder
-
Gets the custom texture of the skull as a Base64 string.
- getSlot() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets the slot the item can be equipped to.
- getSlotButtons(int) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getSong() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Gets the song associated with this component.
- getSongKey() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Gets the key of the song assigned to this component.
- getSound() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastSoundAction
-
Gets the broadcasted sound.
- getSound() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastWorldSoundAction
-
Gets the sound being broadcasted.
- getSound() - Method in class io.github.lucfr1746.llibrary.action.list.SoundAction
-
Gets the sound that will be played.
- getSpawnedEntityType() - Method in class io.github.lucfr1746.llibrary.itemstack.SpawnEggBuilder
-
Gets the entity type associated with the spawn egg.
- getSpeed() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Gets the mining speed for this rule.
- getStoredEnchantLevel(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Gets the level of a stored enchantment.
- getStoredEnchants() - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Gets all stored enchantments on the item.
- getTimeout() - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Gets the duration after which the input prompt will be canceled.
- getTitle() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- getTitle() - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Gets the title of the book.
- getToolComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the
ToolComponent
of the item. - getTooltipStyle() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the tooltip style of the item.
- getTranslationKey() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the translation key for this item, used for localization.
- getTrim() - Method in class io.github.lucfr1746.llibrary.itemstack.ArmorBuilder
-
Retrieves the
ArmorTrim
applied to the armor item. - getType() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the type of material of the item stack.
- getUseCooldownComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the cooldown component associated with this item, or creates an empty cooldown instance.
- getUseRemainder() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Gets the item that remains after using this item, if any.
- getVariant() - Method in class io.github.lucfr1746.llibrary.itemstack.AxolotlBucketBuilder
-
Retrieves the
Axolotl.Variant
of the axolotl in the bucket. - getViewRequirements() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Gets the list of requirements that determine whether the button is visible.
- getVolume() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastSoundAction
-
Gets the volume level of the sound.
- getVolume() - Method in class io.github.lucfr1746.llibrary.action.list.BroadcastWorldSoundAction
-
Gets the volume of the sound.
- getVolume() - Method in class io.github.lucfr1746.llibrary.action.list.SoundAction
-
Gets the volume of the sound.
- getYAMLConfiguration(String, String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- GiveExpAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that gives experience points to a player.
- GiveExpAction(int) - Constructor for class io.github.lucfr1746.llibrary.action.list.GiveExpAction
-
Constructs a GiveExpAction with the specified amount of experience points.
- GiveMoneyAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that gives money to a player using an economy system.
- GiveMoneyAction(Double) - Constructor for class io.github.lucfr1746.llibrary.action.list.GiveMoneyAction
-
Constructs a GiveMoneyAction with the specified amount of money.
- GivePermissionAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that grants a permission to a player.
- GivePermissionAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.GivePermissionAction
-
Constructs a GivePermissionAction with the specified permission.
- GUI - Enum constant in enum class io.github.lucfr1746.llibrary.inventory.InventoryBuilder.LockMode
H
- hasAcceptHandler() - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Checks if there are actions assigned for when the requirement is met.
- hasAmplifier() - Method in class io.github.lucfr1746.llibrary.itemstack.OminousBottleBuilder
-
Checks if the Ominous Bottle has an amplifier set.
- hasAttributeModifiers() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the ItemMeta has any attribute modifiers.
- hasAuthor() - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Checks if the book has an author.
- hasBaseColor() - Method in class io.github.lucfr1746.llibrary.itemstack.ShieldBuilder
-
Checks if the shield has a base color set.
- hasChargedProjectiles() - Method in class io.github.lucfr1746.llibrary.itemstack.CrossbowBuilder
-
Checks if the crossbow has any charged projectiles.
- hasColor() - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Checks if the map has a custom color.
- hasColor() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Checks if the potion has a custom color.
- hasConflictingEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if an enchantment conflicts with any existing enchantments on the item.
- hasConflictingStoredEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Checks if the specified enchantment conflicts with any stored enchantments.
- hasCustomEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Checks if the potion has any custom effects.
- hasCustomModelData() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a Custom Model Data set.
- hasCustomName() - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Checks if the potion has a custom name.
- hasDamage() - Method in class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Checks if the item has a damage value.
- hasDamageResistant() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has damage resistance.
- hasDenyHandler() - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Checks if there are actions assigned for when the requirement is not met.
- hasEffect() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkEffectBuilder
-
Checks if the firework effect exists.
- hasEffect(PotionEffectType) - Method in class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Checks if the stew has a specific potion effect.
- hasEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Checks if the firework has any effects.
- hasEffects() - Method in class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Checks if the stew has any custom potion effects.
- hasEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a specific enchantment.
- hasEnchantable() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has an enchantable value set.
- hasEnchantmentGlintOverride() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has an enchantment glint override.
- hasEnchants() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has any enchantments.
- hasEquippableComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks whether the item has an equippable component.
- HasExpRequirement - Class in io.github.lucfr1746.llibrary.requirement.list
-
Represents a requirement that checks if a player has a minimum amount of experience.
- HasExpRequirement(int) - Constructor for class io.github.lucfr1746.llibrary.requirement.list.HasExpRequirement
-
Creates a new experience requirement.
- hasFlag(InputFlag) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Checks if the given flag is enabled.
- hasFoodComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a food component.
- hasGeneration() - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Checks if the book has a generation set.
- hashCode() - Method in record class io.github.lucfr1746.llibrary.chatinput.response.ChatInputResponse
-
Returns a hash code value for this object.
- hasInstrument() - Method in class io.github.lucfr1746.llibrary.itemstack.MusicInstrumentBuilder
-
Checks if the goat horn has a music instrument set.
- hasItemFlag(ItemFlag) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if a specific item flag is present on the item.
- hasItemModel() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a custom item model.
- hasItems() - Method in class io.github.lucfr1746.llibrary.itemstack.BundleBuilder
-
Checks if the bundle contains any items.
- hasJukeboxPlayableComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a JukeboxPlayableComponent.
- HasLevelRequirement - Class in io.github.lucfr1746.llibrary.requirement.list
-
Represents a requirement that checks if a player has a minimum level.
- HasLevelRequirement(int) - Constructor for class io.github.lucfr1746.llibrary.requirement.list.HasLevelRequirement
-
Creates a new level requirement.
- hasLodestone() - Method in class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Checks if the compass has a lodestone location set.
- hasMapView() - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Checks if the map has an associated
MapView
. - hasMaxDurability() - Method in class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Checks if the item has a maximum damage value.
- hasMaxStackSize() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a custom max stack size.
- hasPages() - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Checks if the book has any pages.
- hasPaperAPI() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Checks if Paper API is available.
- HasPermissionRequirement - Class in io.github.lucfr1746.llibrary.requirement.list
-
Represents a requirement that checks if a player has a specific permission.
- HasPermissionRequirement(String) - Constructor for class io.github.lucfr1746.llibrary.requirement.list.HasPermissionRequirement
-
Creates a new permission requirement.
- hasPower() - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Checks if the firework has a set power value.
- hasRarity() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a custom rarity.
- hasRecipes() - Method in class io.github.lucfr1746.llibrary.itemstack.KnowledgeBookBuilder
-
Checks if the knowledge book contains any recipes.
- hasRepairCost() - Method in class io.github.lucfr1746.llibrary.itemstack.RepairableBuilder
-
Checks if the item has a repair cost set.
- hasStoredEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Checks if the item has a specific stored enchantment.
- hasStoredEnchants() - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Checks if the item has any stored enchantments.
- hasTitle() - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Checks if the book has a title.
- hasToolComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a
ToolComponent
attached. - hasTooltipStyle() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a tooltip style.
- hasTrim() - Method in class io.github.lucfr1746.llibrary.itemstack.ArmorBuilder
-
Checks whether the armor item has an
ArmorTrim
applied. - hasUseCooldownComponent() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a use cooldown component.
- hasUseRemainder() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has a use remainder.
- hasVariant() - Method in class io.github.lucfr1746.llibrary.itemstack.AxolotlBucketBuilder
-
Checks whether the axolotl bucket has a variant set.
- hasVariant() - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Checks if the bucket contains a specific tropical fish variant.
- hideAllItemFlags() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Hides all item flags from the item.
I
- id(String) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Sets the identifier for the button.
- info(String) - Method in class io.github.lucfr1746.llibrary.util.helper.Logger
-
Logs an informational message.
- InputFlag - Enum Class in io.github.lucfr1746.llibrary.chatinput.input.enums
-
An enum of the possible flags of an ChatInput object.
- InputMessage - Enum Class in io.github.lucfr1746.llibrary.chatinput.input.enums
-
An enum of the available messages for the input prompt.
- InputStatus - Enum Class in io.github.lucfr1746.llibrary.chatinput.response.enums
-
An enum of the possible response status of an input prompt.
- insertLore(String, int) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Inserts a lore line at a specified index.
- IntegerInput - Class in io.github.lucfr1746.llibrary.chatinput.input
-
A child class of AquaInput used for the input of integer values.
- IntegerInput() - Constructor for class io.github.lucfr1746.llibrary.chatinput.input.IntegerInput
- INVALID_INPUT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- InventoryBuilder - Class in io.github.lucfr1746.llibrary.inventory
- InventoryBuilder() - Constructor for class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- InventoryBuilder.LockMode - Enum Class in io.github.lucfr1746.llibrary.inventory
- InventoryButton - Class in io.github.lucfr1746.llibrary.inventory
-
Represents a button in a custom inventory system.
- InventoryButton() - Constructor for class io.github.lucfr1746.llibrary.inventory.InventoryButton
- InventoryManager - Class in io.github.lucfr1746.llibrary.inventory
-
Manages custom inventories in the plugin.
- InventoryManager() - Constructor for class io.github.lucfr1746.llibrary.inventory.InventoryManager
- io.github.lucfr1746.llibrary - package io.github.lucfr1746.llibrary
- io.github.lucfr1746.llibrary.action - package io.github.lucfr1746.llibrary.action
- io.github.lucfr1746.llibrary.action.list - package io.github.lucfr1746.llibrary.action.list
- io.github.lucfr1746.llibrary.chatinput - package io.github.lucfr1746.llibrary.chatinput
- io.github.lucfr1746.llibrary.chatinput.input - package io.github.lucfr1746.llibrary.chatinput.input
- io.github.lucfr1746.llibrary.chatinput.input.enums - package io.github.lucfr1746.llibrary.chatinput.input.enums
- io.github.lucfr1746.llibrary.chatinput.manager - package io.github.lucfr1746.llibrary.chatinput.manager
- io.github.lucfr1746.llibrary.chatinput.request - package io.github.lucfr1746.llibrary.chatinput.request
- io.github.lucfr1746.llibrary.chatinput.response - package io.github.lucfr1746.llibrary.chatinput.response
- io.github.lucfr1746.llibrary.chatinput.response.enums - package io.github.lucfr1746.llibrary.chatinput.response.enums
- io.github.lucfr1746.llibrary.inventory - package io.github.lucfr1746.llibrary.inventory
- io.github.lucfr1746.llibrary.itemstack - package io.github.lucfr1746.llibrary.itemstack
- io.github.lucfr1746.llibrary.itemstack.component - package io.github.lucfr1746.llibrary.itemstack.component
- io.github.lucfr1746.llibrary.itemstack.helper - package io.github.lucfr1746.llibrary.itemstack.helper
- io.github.lucfr1746.llibrary.metrics - package io.github.lucfr1746.llibrary.metrics
- io.github.lucfr1746.llibrary.requirement - package io.github.lucfr1746.llibrary.requirement
- io.github.lucfr1746.llibrary.requirement.list - package io.github.lucfr1746.llibrary.requirement.list
- io.github.lucfr1746.llibrary.util - package io.github.lucfr1746.llibrary.util
- io.github.lucfr1746.llibrary.util.helper - package io.github.lucfr1746.llibrary.util.helper
- isCommandAllowed(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Checks if the given command is allowed to be used.
- isCorrectForDrops() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Get whether this rule is considered the optimal tool for the blocks listed by this rule and will drop items.
- isDamageOnHurt() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Checks if the equipment takes damage when the wearer is hurt.
- isDispensable() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets whether the item can be equipped by a dispenser.
- isGlider() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item is a glider.
- isHideTooltip() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item has tooltips hidden.
- isLodestoneTracked() - Method in class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Checks if the compass is tracking a lodestone.
- isPlaceholderAPIEnabled() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Checks if PlaceholderAPI is enabled.
- isScaling() - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Checks if the map is set to scale dynamically.
- isShowInTooltip() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Checks whether the song should be shown in the item's tooltip.
- isSwappable() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Gets if the item is swappable by right-clicking.
- isUnbreakable() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Checks if the item is unbreakable.
- isValidInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Checks if the given input is valid.
- isValidInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.DoubleInput
- isValidInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.IntegerInput
- isValidInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.StringCollectionInput
- isValidInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.StringInput
- isVaultEnabled() - Static method in class io.github.lucfr1746.llibrary.LLibrary
-
Checks if Vault is enabled.
- ItemBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
A utility class for building and modifying
ItemStack
objects in Minecraft. - ItemBuilder(Material) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates an ItemBuilder with a specified
Material
and a default amount of 1. - ItemBuilder(Material, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates an ItemBuilder with a specified
Material
and amount. - ItemBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates an ItemBuilder from an existing
ItemStack
.
J
- JsonObjectBuilder() - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder
K
- KnowledgeBookBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
KnowledgeBookBuilder
class extendsItemBuilder
to provide additional functionality for modifyingKnowledgeBookMeta
of anItemStack
. - KnowledgeBookBuilder(int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.KnowledgeBookBuilder
-
Constructs a
KnowledgeBookBuilder
with the specified amount. - KnowledgeBookBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.KnowledgeBookBuilder
-
Constructs a
KnowledgeBookBuilder
using an existingItemStack
.
L
- LeatherArmorBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
LeatherArmorBuilder
class extendsItemBuilder
to provide additional functionality for modifyingLeatherArmorMeta
of anItemStack
. - LeatherArmorBuilder(Material, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.LeatherArmorBuilder
-
Constructs a
LeatherArmorBuilder
with the specifiedMaterial
and amount. - LeatherArmorBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.LeatherArmorBuilder
-
Constructs a
LeatherArmorBuilder
using an existingItemStack
. - LLibrary - Class in io.github.lucfr1746.llibrary
-
The main class for the LLibrary plugin.
- LLibrary() - Constructor for class io.github.lucfr1746.llibrary.LLibrary
- load() - Method in class io.github.lucfr1746.llibrary.inventory.InventoryManager
-
Loads necessary configurations for the inventory system.
- loadFromFile(FileConfiguration) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- Logger - Class in io.github.lucfr1746.llibrary.util.helper
-
A custom logger utility for Minecraft plugins using the Spigot API.
- Logger(String) - Constructor for class io.github.lucfr1746.llibrary.util.helper.Logger
-
Constructs a Logger by looking up a plugin by its name.
- Logger(Plugin) - Constructor for class io.github.lucfr1746.llibrary.util.helper.Logger
-
Constructs a Logger associated with a given plugin.
M
- MapBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
MapBuilder
class extendsItemBuilder
to provide additional functionality for modifyingMapMeta
of anItemStack
. - MapBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Constructs a
MapBuilder
with a newMaterial.MAP
. - MapBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Constructs a
MapBuilder
using an existingItemStack
. - MapViewBuilder - Class in io.github.lucfr1746.llibrary.itemstack.helper
-
The
MapViewBuilder
class allows for configuringMapView
properties, such as center coordinates, scale, world, and renderers. - MapViewBuilder(MapView) - Constructor for class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Constructs a
MapViewBuilder
for the givenMapView
. - MessageAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that sends a formatted message to a player.
- MessageAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.MessageAction
-
Constructs a MessageAction with the specified message.
- METRICS_VERSION - Static variable in class io.github.lucfr1746.llibrary.metrics.bStats.MetricsBase
-
The version of the Metrics class.
- MetricsBase(String, String, int, boolean, Consumer<bStats.JsonObjectBuilder>, Consumer<bStats.JsonObjectBuilder>, Consumer<Runnable>, Supplier<Boolean>, BiConsumer<String, Throwable>, Consumer<String>, boolean, boolean, boolean, boolean) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.MetricsBase
-
Creates a new MetricsBase class instance.
- MiniMessageAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that sends a MiniMessage-formatted message to a player.
- MiniMessageAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.MiniMessageAction
-
Constructs a MiniMessageAction with the specified message.
- modifyPersistentData(Consumer<PersistentDataContainer>) - Method in class io.github.lucfr1746.llibrary.itemstack.SpawnEggBuilder
-
Modifies the persistent data container of the spawn egg.
- MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.MultiLineChart
-
Class constructor.
- MusicInstrumentBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
MusicInstrumentBuilder
class extendsItemBuilder
to provide additional functionality for modifyingMusicInstrumentMeta
of anItemStack
. - MusicInstrumentBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.MusicInstrumentBuilder
-
Constructs a
MusicInstrumentBuilder
with a newMaterial.GOAT_HORN
. - MusicInstrumentBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.MusicInstrumentBuilder
-
Constructs a
MusicInstrumentBuilder
using an existingItemStack
.
N
- NamespaceKey - Class in io.github.lucfr1746.llibrary.util
- NamespaceKey() - Constructor for class io.github.lucfr1746.llibrary.util.NamespaceKey
- NONE - Enum constant in enum class io.github.lucfr1746.llibrary.inventory.InventoryBuilder.LockMode
- numberOfPatterns() - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Returns the number of patterns applied to the banner.
O
- OminousBottleBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
OminousBottleBuilder
class extendsItemBuilder
to provide additional functionality for modifyingOminousBottleMeta
of anItemStack
. - OminousBottleBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.OminousBottleBuilder
-
Constructs an
OminousBottleBuilder
with a newMaterial.OMINOUS_BOTTLE
. - OminousBottleBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.OminousBottleBuilder
-
Constructs an
OminousBottleBuilder
using an existingItemStack
. - onChat(AsyncPlayerChatEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onClick(InventoryClickEvent) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- onClose(InventoryCloseEvent) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- onCommand(PlayerCommandPreprocessEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onDeath(PlayerDeathEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onDisable() - Method in class io.github.lucfr1746.llibrary.LLibrary
-
Called when the plugin is disabled.
- onEnable() - Method in class io.github.lucfr1746.llibrary.LLibrary
-
Called when the plugin is enabled.
- onInteracted(EntityDamageEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onInteraction(PlayerInteractEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onJoin(PlayerJoinEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onLoad() - Method in class io.github.lucfr1746.llibrary.LLibrary
-
Called when the plugin is loaded before the server starts.
- onMove(PlayerMoveEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- onOpen(InventoryOpenEvent) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- onQuit(PlayerQuitEvent) - Method in class io.github.lucfr1746.llibrary.chatinput.manager.EventsListener
- openGUI(String, Player) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryManager
-
Opens a custom GUI for a player by menu ID.
- OpenMenuAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that opens a custom GUI menu for a player.
- OpenMenuAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.OpenMenuAction
-
Constructs an OpenMenuAction with the specified menu ID.
P
- parseInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.DoubleInput
-
Parses the given input if possible into a double.
- parseInput(String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.IntegerInput
-
Parses the given input if possible into an integer.
- PLAYER - Enum constant in enum class io.github.lucfr1746.llibrary.inventory.InventoryBuilder.LockMode
- PLAYER_DEATH - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
- PLAYER_QUIT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
- PlayerAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that forces a player to execute a command.
- PlayerAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.PlayerAction
-
Constructs a PlayerAction with the specified command.
- PotionBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
PotionBuilder
class extendsItemBuilder
to provide additional functionality for modifyingPotionMeta
of anItemStack
. - PotionBuilder(Material, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Constructs a
PotionBuilder
with the specifiedMaterial
and amount. - PotionBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Constructs a
PotionBuilder
using an existingItemStack
. - priority(int) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Sets the priority of the button, which may be used for sorting.
- PROMPT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- promptInput(JavaPlugin, UUID, ChatInput) - Static method in class io.github.lucfr1746.llibrary.chatinput.manager.ChatInputManager
-
Prompts the player with the given unique id for input of a given form defined by the ChatInput object.
R
- refreshButton(Player, int, InventoryButton) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- refreshButtons(Player, Map<Integer, TreeSet<InventoryButton>>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- registerAction(String, Function<String, Action>) - Method in class io.github.lucfr1746.llibrary.action.ActionLoader
-
Registers an action with a specific identifier.
- registerInventoryBuilder(InventoryBuilder) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryManager
-
Registers a new InventoryBuilder instance.
- registerRequirementType(String, Function<Object, Requirement>) - Method in class io.github.lucfr1746.llibrary.requirement.RequirementLoader
-
Registers a new requirement type.
- removeAttributeModifier(Attribute) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Remove all
AttributeModifier
s associated with the givenAttribute
. - removeAttributeModifier(Attribute, AttributeModifier) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Remove a specific
Attribute
andAttributeModifier
. - removeAttributeModifier(EquipmentSlot) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Remove all
Attribute
s andAttributeModifier
s for a givenEquipmentSlot
. - removeCustomEffect(PotionEffectType) - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Removes a custom potion effect by type.
- removeEffect(int) - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Removes a firework effect at the specified index.
- removeEffect(PotionEffectType) - Method in class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Removes a custom potion effect from the suspicious stew.
- removeEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Removes a specific enchantment from the item.
- removeEnchants() - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Removes all enchantments from the item.
- removeItemFlags(ItemFlag...) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Removes the specified item flags from the item.
- removePattern(int) - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Removes the pattern at the specified index.
- removeRenderer(MapRenderer) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Removes a renderer from the map.
- removeRule(ToolComponent.ToolRule) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Removes a specific rule from the tool.
- removeSkullTexture() - Method in class io.github.lucfr1746.llibrary.itemstack.SkullBuilder
-
Removes the custom texture from the skull.
- removeStoredEnchant(Enchantment) - Method in class io.github.lucfr1746.llibrary.itemstack.EnchantmentStorageBuilder
-
Removes a stored enchantment from the item.
- renameFile(String, String, String...) - Method in class io.github.lucfr1746.llibrary.util.helper.FileAPI
- RepairableBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
RepairableBuilder
class extendsItemBuilder
to provide additional functionality for modifyingRepairable
meta of anItemStack
. - RepairableBuilder(Material, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.RepairableBuilder
-
Constructs a
RepairableBuilder
with the specifiedMaterial
and amount. - RepairableBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.RepairableBuilder
-
Constructs a
RepairableBuilder
using an existingItemStack
. - replaceLore(String, String) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Replaces occurrences of a specific substring in the item's lore.
- Requirement - Class in io.github.lucfr1746.llibrary.requirement
-
Represents a requirement that must be evaluated for a player.
- Requirement() - Constructor for class io.github.lucfr1746.llibrary.requirement.Requirement
- RequirementLoader - Class in io.github.lucfr1746.llibrary.requirement
-
Handles the loading and registration of various requirement types for use in the system.
- RequirementLoader() - Constructor for class io.github.lucfr1746.llibrary.requirement.RequirementLoader
-
Initializes the RequirementLoader and registers default requirement types.
- revertColors(String) - Static method in class io.github.lucfr1746.llibrary.util.helper.StringUtil
S
- sendMessage(InputMessage, Player) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sends, if present, the message of the given type to the player.
- sendMessage(InputMessage, Player, String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sends, if present, the message of the given type to the player.
- serialize() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Serializes this component into a map of key-value pairs.
- serialize() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Serializes the food component properties into a map.
- serialize() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Serializes this component into a map of key-value pairs.
- serialize() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Serializes this tool rule into a map for data storage.
- serialize() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Serializes this tool component into a map for data storage.
- serialize() - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomUseCooldownComponent
-
Serializes this cooldown component into a map for data storage.
- setAcceptHandler(List<Action>) - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Sets the actions to execute when the requirement is met.
- setAllowedCommands(String...) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Sets allowed commands during input.
- setAllowedCommands(String...) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sets the allowed commands to be used.
- setAllowedCommands(List<String>) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Sets allowed commands during input.
- setAllowedCommands(List<String>) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sets the allowed commands to be used.
- setAllowedEntities(Collection<EntityType>) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets the entities which can equip this item.
- setAllowedEntities(Tag<EntityType>) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Set the entity types (represented as an entity
Tag
) which can equip this item. - setAllowedEntities(EntityType) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets the entity which can equip this item.
- setAmount(int) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the number of items in the stack.
- setAmplifier(int) - Method in class io.github.lucfr1746.llibrary.itemstack.OminousBottleBuilder
-
Sets the amplifier level for the Ominous Bottle's bad omen effect.
- setAttempts(int) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Sets the maximum number of attempts allowed.
- setAttempts(int) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sets the remaining number of attempts the input can be given.
- setAttributeModifiers(Multimap<Attribute, AttributeModifier>) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Set all
Attribute
s and theirAttributeModifier
s. - setAuthor(String) - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Sets the author of the book.
- setBaseColor(DyeColor) - Method in class io.github.lucfr1746.llibrary.itemstack.ShieldBuilder
-
Sets the base color of the shield.
- setBasePotionType(PotionType) - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Sets the base potion type.
- setBlocks(Collection<Material>) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Sets the rule to apply to a collection of block materials.
- setBlocks(Material) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Sets the rule to apply to a single block material.
- setBlocks(Tag<Material>) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Sets the rule to apply to blocks within a tag.
- setBodyColor(DyeColor) - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Sets the body color of the tropical fish in the bucket.
- setButtonMap(Map<Integer, TreeSet<InventoryButton>>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setCameraOverlay(NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets the key of the camera overlay to use when equipped.
- setCanAlwaysEat(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Sets whether the food can be eaten when the player is not hungry.
- setCenterX(int) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets the center X coordinate of the map.
- setCenterZ(int) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets the center Z coordinate of the map.
- setChargedProjectiles(List<ItemStack>) - Method in class io.github.lucfr1746.llibrary.itemstack.CrossbowBuilder
-
Sets the list of charged projectiles for the crossbow.
- setColor(String) - Method in class io.github.lucfr1746.llibrary.itemstack.LeatherArmorBuilder
-
Sets the color of the leather armor using a HEX color code.
- setColor(Color) - Method in class io.github.lucfr1746.llibrary.itemstack.LeatherArmorBuilder
-
Sets the color of the leather armor.
- setColor(Color) - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Sets the map color.
- setColor(Color) - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Sets the potion color.
- setCooldownGroup(NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomUseCooldownComponent
-
Sets the cooldown group.
- setCooldownSeconds(float) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomUseCooldownComponent
-
Sets the cooldown time in seconds.
- setCorrectForDrops(Boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Set whether this rule is considered the optimal tool for the blocks listed by this rule and will drop items.
- setCustomModelData(Integer) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the Custom Model Data for the item.
- setCustomName(String) - Method in class io.github.lucfr1746.llibrary.itemstack.PotionBuilder
-
Sets a custom name for the potion.
- setDamage(int) - Method in class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Sets the damage value of the item.
- setDamageOnHurt(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets whether the equipment takes damage when the wearer is hurt.
- setDamagePerBlock(int) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Sets the amount of damage the tool takes per block broken.
- setDamageResistant(Tag<DamageType>) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the damage resistance tag of the item.
- setDefaultMiningSpeed(float) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Sets the default mining speed of the tool.
- setDenyHandler(List<Action>) - Method in class io.github.lucfr1746.llibrary.requirement.Requirement
-
Sets the actions to execute when the requirement is not met.
- setDispensable(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets whether the item can be equipped by a dispenser.
- setDisplayName(String) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the display name of the item.
- setEffect(FireworkEffect) - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkEffectBuilder
-
Sets the firework effect.
- setEnchantable(Integer) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the enchantable value of the item.
- setEnchantmentGlintOverride(Boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets or removes the enchantment glint override.
- setEquippableComponent(EquipmentSlot) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates and sets a custom equippable component for the item using the specified equipment slot.
- setEquippableComponent(EquippableComponent) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the equippable component for the item.
- setEquipSound(Sound) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets the sound to play when the item is equipped.
- setFlags(InputFlag...) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Sets input flags.
- setFlags(InputFlag...) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sets the given flags as enabled.
- setFood(int, float, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates and sets a custom food component for this item.
- setFoodComponent(FoodComponent) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the food component for this item.
- setGeneration(BookMeta.Generation) - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Sets the generation of the book.
- setGlider(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the glider status of the item.
- setHideTooltip(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets whether tooltips should be hidden for the item.
- setId(String) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setInstrument(MusicInstrument) - Method in class io.github.lucfr1746.llibrary.itemstack.MusicInstrumentBuilder
-
Sets the music instrument of the goat horn.
- setItemModel(String) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the item model of the item using a string.
- setItemModel(NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the item model of the item.
- setItems(List<ItemStack>) - Method in class io.github.lucfr1746.llibrary.itemstack.BundleBuilder
-
Sets the items stored in the bundle.
- setJukeboxPlayableComponent(String, JukeboxSong, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates and sets a custom JukeboxPlayableComponent using a key value string, song, and tooltip visibility.
- setJukeboxPlayableComponent(JukeboxPlayableComponent) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the JukeboxPlayableComponent of the item.
- setJukeboxPlayableComponent(NamespacedKey, JukeboxSong, boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates and sets a custom JukeboxPlayableComponent using a song key, song, and tooltip visibility.
- setLocation(Location) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.EntitySnapshotBuilder
-
Sets the location where the entity will be spawned.
- setLocked(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets whether the map is locked.
- setLockMode(InventoryBuilder.LockMode) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setLodestone(Location) - Method in class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Sets the lodestone location for the compass.
- setLodestoneTracked(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.CompassBuilder
-
Sets whether the compass is tracking a lodestone.
- setLores(String...) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the lore of the item using an array of strings.
- setLores(List<String>) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the lore of the item using a list of strings.
- setMapView(MapView) - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Sets the associated
MapView
for this map. - setMaxDurability(int) - Method in class io.github.lucfr1746.llibrary.itemstack.DamageableItemBuilder
-
Sets the maximum damage value for the item.
- setMaxStackSize(Integer) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the max stack size of the item.
- setMenuType(MenuType) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setMessage(InputMessage, String) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Sets a custom message for the chat input prompt.
- setMessage(InputMessage, String) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Sets the message for the given message type.
- setModel(NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets the key of the model to use when equipped.
- setNutrition(int) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Sets the nutrition value of the food.
- setOpenActions(List<Action>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setOpenCommands(List<String>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setOpenRequirements(List<Requirement>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setOwner(OfflinePlayer) - Method in class io.github.lucfr1746.llibrary.itemstack.SkullBuilder
-
Sets the owner of the skull.
- setPage(int, String) - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Sets the content of a specific page.
- setPages(String...) - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Sets the pages of the book, replacing any existing pages.
- setPages(List<String>) - Method in class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Sets the pages of the book using a list, replacing any existing pages.
- setPattern(int, Pattern) - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Sets the pattern at the specified index.
- setPattern(TropicalFish.Pattern) - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Sets the pattern of the tropical fish in the bucket.
- setPatternColor(DyeColor) - Method in class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Sets the pattern color of the tropical fish in the bucket.
- setPatterns(List<Pattern>) - Method in class io.github.lucfr1746.llibrary.itemstack.BannerBuilder
-
Sets the patterns used on the banner.
- setPower(int) - Method in class io.github.lucfr1746.llibrary.itemstack.FireworkBuilder
-
Sets the power of the firework, determining its flight duration.
- setRarity(ItemRarity) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the rarity of the item.
- setRecipes(List<NamespacedKey>) - Method in class io.github.lucfr1746.llibrary.itemstack.KnowledgeBookBuilder
-
Sets the recipes for the knowledge book, replacing any existing ones.
- setRepairCost(int) - Method in class io.github.lucfr1746.llibrary.itemstack.RepairableBuilder
-
Sets the repair cost for the item.
- setRules(List<ToolComponent.ToolRule>) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent
-
Sets the list of custom tool rules.
- setSaturation(float) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomFoodComponent
-
Sets the saturation value of the food.
- setScale(MapView.Scale) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets the scale of the map.
- setScaling(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.MapBuilder
-
Sets whether the map should scale dynamically.
- setShowInTooltip(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Sets whether the song should be shown in the item's tooltip.
- setSkullTexture(String) - Method in class io.github.lucfr1746.llibrary.itemstack.SkullBuilder
-
Sets the custom texture of the skull using a Base64 string.
- setSlot(EquipmentSlot) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets the slot the item can be equipped to.
- setSong(JukeboxSong) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Sets the song for this component.
- setSongKey(NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomJukeboxPlayableComponent
-
Sets the song key for this component.
- setSpawnedEntity(Entity) - Method in class io.github.lucfr1746.llibrary.itemstack.SpawnEggBuilder
-
Sets the entity snapshot for the spawn egg.
- setSpeed(Float) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomToolComponent.CustomToolRule
-
Sets the mining speed for this rule.
- setSwappable(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.component.CustomEquippableComponent
-
Sets if the item is swappable by right-clicking.
- setTimeout(int) - Method in class io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
-
Sets the timeout duration for the chat input.
- setTimeout(int) - Method in class io.github.lucfr1746.llibrary.chatinput.input.ChatInput
-
Gets the duration after which the input prompt will be canceled.
- setTitle(String) - Method in class io.github.lucfr1746.llibrary.itemstack.BookBuilder
-
Sets the title of the book.
- setTitle(String) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryBuilder
- setToolComponent(float, int) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates and sets a new
CustomToolComponent
for the item with the specified default mining speed and damage per block. - setToolComponent(ToolComponent) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the
ToolComponent
for the item. - setTooltipStyle(String) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the tooltip style of the item using a string.
- setTooltipStyle(NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the tooltip style of the item.
- setTrackingPosition(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets whether the map should track player positions.
- setTrim(ArmorTrim) - Method in class io.github.lucfr1746.llibrary.itemstack.ArmorBuilder
-
Sets the
ArmorTrim
for the armor item. - setType(Material) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the type of the item stack.
- setUnbreakable(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the unbreakable status of the item.
- setUnlimitedTracking(boolean) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets whether the map has unlimited tracking.
- setUseCooldownComponent(float, String) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Creates and sets a custom use cooldown for this item using a string value for the namespace key.
- setUseCooldownComponent(float, NamespacedKey) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets a custom use cooldown for this item.
- setUseCooldownComponent(UseCooldownComponent) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the cooldown component for this item.
- setUseRemainder(ItemStack) - Method in class io.github.lucfr1746.llibrary.itemstack.ItemBuilder
-
Sets the item that will remain after using this item.
- setVariant(Axolotl.Variant) - Method in class io.github.lucfr1746.llibrary.itemstack.AxolotlBucketBuilder
-
Sets the
Axolotl.Variant
for the axolotl in the bucket. - setWorld(World) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.MapViewBuilder
-
Sets the world the map is associated with.
- ShieldBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
ShieldBuilder
class extendsItemBuilder
to provide additional functionality for modifyingShieldMeta
of anItemStack
. - ShieldBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.ShieldBuilder
-
Constructs a
ShieldBuilder
with a newMaterial.SHIELD
. - ShieldBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.ShieldBuilder
-
Constructs a
ShieldBuilder
using an existingItemStack
. - shutdown() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.MetricsBase
- shutdown() - Method in class io.github.lucfr1746.llibrary.metrics.bStats
-
Shuts down the underlying scheduler service.
- SimpleBarChart(String, Callable<Map<String, Integer>>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.SimpleBarChart
-
Class constructor.
- SimplePie(String, Callable<String>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.SimplePie
-
Class constructor.
- SingleLineChart(String, Callable<Integer>) - Constructor for class io.github.lucfr1746.llibrary.metrics.bStats.SingleLineChart
-
Class constructor.
- SkullBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
SkullBuilder
class extendsItemBuilder
to provide additional functionality for modifyingSkullMeta
of anItemStack
. - SkullBuilder(int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.SkullBuilder
-
Constructs a
SkullBuilder
with a PLAYER_HEAD item. - SkullBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.SkullBuilder
-
Constructs a
SkullBuilder
using an existingItemStack
. - SoundAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that plays a sound for a player.
- SoundAction(Sound, float, float) - Constructor for class io.github.lucfr1746.llibrary.action.list.SoundAction
-
Constructs a SoundAction with the specified sound, volume, and pitch.
- SpawnEggBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
SpawnEggBuilder
class extendsItemBuilder
to provide additional functionality for modifyingSpawnEggMeta
of anItemStack
. - SpawnEggBuilder(EntityType, int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.SpawnEggBuilder
-
Constructs a
SpawnEggBuilder
with the specifiedEntityType
. - SpawnEggBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.SpawnEggBuilder
-
Constructs a
SpawnEggBuilder
using an existingItemStack
. - status() - Method in record class io.github.lucfr1746.llibrary.chatinput.response.ChatInputResponse
-
Returns the status of an input prompt.
- StringCollectionInput - Class in io.github.lucfr1746.llibrary.chatinput.input
-
A child class of AquaInput used for the input of a string present in a collection.
- StringCollectionInput(Collection<String>) - Constructor for class io.github.lucfr1746.llibrary.chatinput.input.StringCollectionInput
- StringInput - Class in io.github.lucfr1746.llibrary.chatinput.input
-
A child class of AquaInput used for the input of non-empty strings.
- StringInput() - Constructor for class io.github.lucfr1746.llibrary.chatinput.input.StringInput
- StringUtil - Class in io.github.lucfr1746.llibrary.util.helper
- StringUtil() - Constructor for class io.github.lucfr1746.llibrary.util.helper.StringUtil
- success(String) - Method in class io.github.lucfr1746.llibrary.util.helper.Logger
-
Sends a success message to the console with green formatting.
- SUCCESS - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- SUCCESS - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
- SuspiciousStewBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
SuspiciousStewBuilder
class extendsItemBuilder
to provide additional functionality for modifyingSuspiciousStewMeta
of anItemStack
. - SuspiciousStewBuilder(int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Constructs a
SuspiciousStewBuilder
with a new Suspicious Stew item. - SuspiciousStewBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.SuspiciousStewBuilder
-
Constructs a
SuspiciousStewBuilder
using an existingItemStack
.
T
- TakeExpAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that removes experience points from a player.
- TakeExpAction(int) - Constructor for class io.github.lucfr1746.llibrary.action.list.TakeExpAction
-
Constructs a TakeExpAction with a specified amount of experience to remove.
- TakeMoneyAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that deducts money from a player's balance.
- TakeMoneyAction(Double) - Constructor for class io.github.lucfr1746.llibrary.action.list.TakeMoneyAction
-
Constructs a TakeMoneyAction with a specified amount to deduct.
- TakePermissionAction - Class in io.github.lucfr1746.llibrary.action.list
-
Represents an action that removes a permission from a player.
- TakePermissionAction(String) - Constructor for class io.github.lucfr1746.llibrary.action.list.TakePermissionAction
-
Constructs a TakePermissionAction with a specified permission to remove.
- TIMEOUT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
- TIMEOUT - Enum constant in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
- toString() - Method in record class io.github.lucfr1746.llibrary.chatinput.response.ChatInputResponse
-
Returns a string representation of this record class.
- toString() - Method in class io.github.lucfr1746.llibrary.metrics.bStats.JsonObjectBuilder.JsonObject
- TropicalFishBucketBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
TropicalFishBucketBuilder
class extendsItemBuilder
to provide additional functionality for modifyingTropicalFishBucketMeta
of anItemStack
. - TropicalFishBucketBuilder(int) - Constructor for class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Constructs a
TropicalFishBucketBuilder
with a new Tropical Fish Bucket item. - TropicalFishBucketBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.TropicalFishBucketBuilder
-
Constructs a
TropicalFishBucketBuilder
using an existingItemStack
.
U
- unregisterInventoryBuilder(InventoryBuilder) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryManager
-
Unregisters an InventoryBuilder, removing its commands and closing active inventories.
V
- value() - Method in record class io.github.lucfr1746.llibrary.chatinput.response.ChatInputResponse
-
Returns the string value of an input prompt.
- valueOf(String) - Static method in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.lucfr1746.llibrary.inventory.InventoryBuilder.LockMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.lucfr1746.llibrary.chatinput.response.enums.InputStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.lucfr1746.llibrary.inventory.InventoryBuilder.LockMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- viewRequirements(List<Requirement>) - Method in class io.github.lucfr1746.llibrary.inventory.InventoryButton
-
Sets the list of requirements that determine whether the button is visible.
W
- warning(String) - Method in class io.github.lucfr1746.llibrary.util.helper.Logger
-
Logs a warning message.
- withColor(Color...) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Adds one or more primary colors to the firework effect.
- withFade(Color...) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Adds one or more fade colors to the firework effect.
- withFlicker() - Method in class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Adds flicker to the firework effect.
- withTrail() - Method in class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Adds trail to the firework effect.
- withType(FireworkEffect.Type) - Method in class io.github.lucfr1746.llibrary.itemstack.helper.FireworkEffectBuilder
-
Sets the type of the firework effect.
- WritableBookBuilder - Class in io.github.lucfr1746.llibrary.itemstack
-
The
WritableBookBuilder
class extendsItemBuilder
to provide additional functionality for modifyingWritableBookMeta
of anItemStack
. - WritableBookBuilder() - Constructor for class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Constructs a
WritableBookBuilder
with a newMaterial.WRITABLE_BOOK
. - WritableBookBuilder(ItemStack) - Constructor for class io.github.lucfr1746.llibrary.itemstack.WritableBookBuilder
-
Constructs a
WritableBookBuilder
using an existingItemStack
.
All Classes and Interfaces|All Packages|Constant Field Values