Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(double, E) - Method in class dev.selena.luacore.utils.RandomCollection
-
Used for adding a weight
- addAll(Map<E, Double>) - Method in class dev.selena.luacore.utils.RandomCollection
-
Used for appending the collection map with another existing map
- addAttributeModifier(String, AttributeModifier) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding an attribute modifier to the item
- addAttributeModifier(Attribute, AttributeModifier) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding an attribute modifier to the item
- addCustomNBT(String, Object) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding custom NBT data to the item
- addCustomNBTData(String, TypedObject) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding custom NBTData to the entity
- addCustomNBTData(String, Object) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- addCustomNBTDataValues(Map<String, TypedObject>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a map of NBTData to add to the entity
- addCustomPathfinder(int, ICustomGoalWrapper) - Method in interface dev.selena.luacore.nms.IPathfinderInjector
- addCustomPathfinderGoal(int, ICustomGoalWrapper) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a custom pathfinder goal to the entity NOTE: THIS IS VERY EXPERIMENTAL AND MAY NOT WORK AS INTENDED
- addDrop(double, ItemBuilder) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a drop to the collection
- addDrop(double, ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a drop to the collection
- addDrops(Map<ItemBuilder, Double>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
used to add a map of drops to the drop collection
- addDropsFromItemMap(Map<ItemStack, Double>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
used to add a map of drops to the drop collection
- addEnchant(String, int) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding an enchantment
- addEnchant(Enchantment, int) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding an enchantment
- addMetaDataValue(String, MetadataValue) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding metadata to the entity (Not to sure if I can make it save on server restart) (NOTE: I Suggest using
EntityBuilder.addCustomNBTData(String, Object)) - addMetaDataValues(Map<String, MetadataValue>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a map of metadata values to the entity (NOTE: I Suggest using
EntityBuilder.addCustomNBTDataValues(Map)) - addNBTBoolean(String, boolean) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding a boolean NBT value to the item
- addNBTFloat(String, float) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding a boolean NBT value to the item
- addNBTInt(String, int) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding an NBT Int to the item
- addNBTString(String, String) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for adding an NBT string value to the item
- addPotionEffect(PotionEffect) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a potion effect to the list of effects
- addPotionEffects(List<PotionEffect>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding a list of potion effects to the entity
- addPotionEffects(PotionEffect...) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for adding an array of potion effects to the entity
- announce(Object...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a message to all online players.
NOTE: Any PAPI placeholders that are tied to a player will use the player its sent to.
If you would like PAPI to use the player who triggered it, please useLuaMessageUtils.announce(Player, String...) - announce(Player, String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a message to all online players and uses the trigger Player for PAPI placeholders
If you would like PAPI to use the player who its being sent to, please useLuaMessageUtils.announce(Object...) - announceTo(Iterable<Player>, String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for announcing a message to a series of players.
Each player will get the message with their own PAPI placeholders - announceTo(Player[], String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for announcing a message to a series of players.
Each player will get the message with their own PAPI placeholders - announceTo(Player, Iterable<Player>, String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for announcing a message to a series of players.
- announceTo(Player, Player[], String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for announcing a message to a series of players.
- applyPotionEffect(Player, PotionEffectType, int, int) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
applies a potion effect to the player Note: if you are running the script on a different thread you will need to use applyPotionEffectAsync
- applyPotionEffectAsync(Player, String, int, int) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for when you cant seem to bind the class in lua
- applyPotionEffectAsync(Player, PotionEffectType, int, int) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for applying potion effects when the Lua script isn't on the main thread
- ArmorTrimTypeAdapter - Class in dev.selena.luacore.utils.typeadapters
-
Type adapter for serializing and deserializing ArmorTrim objects.
- ArmorTrimTypeAdapter() - Constructor for class dev.selena.luacore.utils.typeadapters.ArmorTrimTypeAdapter
- AttributeTypeAdapter - Class in dev.selena.luacore.utils.typeadapters
-
Type adapter for serializing and deserializing Bukkit's Attribute objects.
- AttributeTypeAdapter() - Constructor for class dev.selena.luacore.utils.typeadapters.AttributeTypeAdapter
B
- blockPlace(BlockPlaceEvent) - Method in class dev.selena.luacore.utils.items.ItemEvent
-
Used to stop players from placing blocks with the unusable tag
- build() - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for creating the previously created ItemStack
C
- capsFirst(String) - Static method in class dev.selena.luacore.utils.text.ContentUtils
-
Used for making the first Letter of each word caps
- clearPathfinders() - Method in interface dev.selena.luacore.nms.IPathfinderInjector
- cloneTo(Class<T>, Function<E, T>) - Method in class dev.selena.luacore.utils.RandomCollection
-
Used for cloning a collection instance to another type and doing the required entry manipulation
- cloneTo(Function<E, T>) - Method in class dev.selena.luacore.utils.RandomCollection
-
Used for cloning a collection instance to another type and doing the required entry manipulation
- color(String) - Static method in class dev.selena.luacore.utils.text.ComponentUtils
-
Converts a string to an Adventure Component with MiniMessage.
- color(String) - Static method in class dev.selena.luacore.utils.text.ContentUtils
-
Used for coloring string using Iridium
- color(List<String>) - Static method in class dev.selena.luacore.utils.text.ComponentUtils
-
Converts a list of strings to a list of Adventure Components with MiniMessage.
- colorArray(Object[]) - Static method in class dev.selena.luacore.utils.text.ContentUtils
-
Colors an array using Iridium
- colorArray(List<Objects>) - Static method in class dev.selena.luacore.utils.text.ContentUtils
-
Colors a List using Iridium then convert to a String array
- colorList(List<String>) - Static method in class dev.selena.luacore.utils.text.ContentUtils
-
Colors a List using Iridium
- Comment - Annotation Interface in dev.selena.luacore.annotations.gson
- Compatibility - Class in dev.selena.luacore.nms
-
Used for NMS reflection management
- Compatibility() - Constructor for class dev.selena.luacore.nms.Compatibility
- ComponentUtils - Class in dev.selena.luacore.utils.text
- ComponentUtils() - Constructor for class dev.selena.luacore.utils.text.ComponentUtils
- ConfigLoader - Class in dev.selena.luacore.utils.config
-
Config loader used to load and save json config files
- ConfigLoader() - Constructor for class dev.selena.luacore.utils.config.ConfigLoader
- ConfigurationSerializableAdapter - Class in dev.selena.luacore.utils.typeadapters
- ConfigurationSerializableAdapter() - Constructor for class dev.selena.luacore.utils.typeadapters.ConfigurationSerializableAdapter
- consoleError(Object) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending an error to the console.
This method usesCoreLogger.log(Level, String)onLevel.SEVERE - consoleSend(Object) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending messages to the console.
This method usesCoreLogger.log(Level, String)onLevel.INFO - consoleWarn(Object) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a warning to the console.
This method usesCoreLogger.log(Level, String)onLevel.WARNING - ContentUtils - Class in dev.selena.luacore.utils.text
-
Used for message content manipulation
- ContentUtils() - Constructor for class dev.selena.luacore.utils.text.ContentUtils
- convertFromIridium(String) - Static method in class dev.selena.luacore.utils.text.ComponentUtils
-
Converts a string from Iridium's color format to MiniMessage format.
- CoreLogger - Class in dev.selena.luacore
-
Modified Logger class allowing LuaCore to log with color
- CoreLogger(Plugin) - Constructor for class dev.selena.luacore.CoreLogger
-
Used for creating a new instance of the plugin logger
- create(Gson, TypeToken<T>) - Method in class dev.selena.luacore.utils.typeadapters.RandomCollectionTypeAdapterFactory
- createHandle(Object) - Method in interface dev.selena.luacore.nms.ICustomGoalWrapper
-
Creates a handle for a custom goal using the provided NMS mob object.
D
- deleteItem(ItemStack, int) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Used for removing x items from a player inventory or some form of stack
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ArmorTrimTypeAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ConfigurationSerializableAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.FixedMetadataValueAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ICustomGoalWrapperAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ItemStackAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.MetadataMapAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.PotionEffectAdapter
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class dev.selena.luacore.utils.typeadapters.SpigotTypeAdapter
- deserializeItemMeta(Map<String, Object>) - Static method in class dev.selena.luacore.utils.typeadapters.ItemStackAdapter
- dev.selena.luacore - package dev.selena.luacore
- dev.selena.luacore.annotations.gson - package dev.selena.luacore.annotations.gson
- dev.selena.luacore.exceptions.data - package dev.selena.luacore.exceptions.data
- dev.selena.luacore.exceptions.entity - package dev.selena.luacore.exceptions.entity
- dev.selena.luacore.exceptions.item - package dev.selena.luacore.exceptions.item
- dev.selena.luacore.exceptions.lua - package dev.selena.luacore.exceptions.lua
- dev.selena.luacore.nms - package dev.selena.luacore.nms
- dev.selena.luacore.utils - package dev.selena.luacore.utils
- dev.selena.luacore.utils.config - package dev.selena.luacore.utils.config
- dev.selena.luacore.utils.data - package dev.selena.luacore.utils.data
- dev.selena.luacore.utils.entities - package dev.selena.luacore.utils.entities
- dev.selena.luacore.utils.items - package dev.selena.luacore.utils.items
- dev.selena.luacore.utils.lua - package dev.selena.luacore.utils.lua
- dev.selena.luacore.utils.nbt - package dev.selena.luacore.utils.nbt
- dev.selena.luacore.utils.objects - package dev.selena.luacore.utils.objects
- dev.selena.luacore.utils.text - package dev.selena.luacore.utils.text
- dev.selena.luacore.utils.typeadapters - package dev.selena.luacore.utils.typeadapters
- disable() - Static method in class dev.selena.luacore.LuaCore
-
This needs to be called in the onDisable method of lock file management
- doDrops() - Method in class dev.selena.luacore.utils.entities.LuaEntityDeathEvent
-
So long as the event isn't canceled, you will not need to call this method.
- dropItem(ItemStack, Location) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for dropping an ItemStack at a location in the world
E
- EntityBuilder - Class in dev.selena.luacore.utils.entities
-
THIS CLASS IS HIGHLY EXPERIMENTAL, USAGE IS AT YOUR OWN RISK.
PLEASE REPORT ANY BUGS ON THE GITHUB ISSUE TRACKER - EntityBuilder() - Constructor for class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for creating a blank instance
- EntityBuilder(EntityType) - Constructor for class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for creating an instance with EntityType
- EntityBuildException - Exception Class in dev.selena.luacore.exceptions.entity
-
Exception thrown during the build process in the
EntityBuilderclass - EntityBuildException(String) - Constructor for exception class dev.selena.luacore.exceptions.entity.EntityBuildException
-
Thrown when there is an error with the
EntityBuilder.spawn(Location) - EntityEvents - Class in dev.selena.luacore.utils.entities
-
Used by LuaCore to call
LuaEntityDeathEvent - EntityEvents() - Constructor for class dev.selena.luacore.utils.entities.EntityEvents
- equals(Object) - Method in record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.selena.luacore.utils.lua.LuaArgValue
-
Indicates whether some other object is "equal to" this one.
- exposeClass(String) - Static method in class dev.selena.luacore.utils.lua.LuaManager
-
Used for exposing classes to Lua files (Ideally call on startup)
- extractConstantValue(String, String) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting a LuaValue from a script
F
- file(String, String) - Static method in class dev.selena.luacore.utils.config.FileManager
-
Returns the specified file
- FileClass(String, Object) - Constructor for class dev.selena.luacore.utils.data.UserFolder.FileClass
-
Used to create a new FileClass instance for user data
- FileManager - Class in dev.selena.luacore.utils.config
-
Internally used file manager for loading, creating, and saving files
- FileManager() - Constructor for class dev.selena.luacore.utils.config.FileManager
-
Used for initial class setup
- FixedMetadataValueAdapter - Class in dev.selena.luacore.utils.typeadapters
-
A Gson TypeAdapter for serializing and deserializing FixedMetadataValue objects.
- FixedMetadataValueAdapter(Plugin) - Constructor for class dev.selena.luacore.utils.typeadapters.FixedMetadataValueAdapter
- folder(String) - Static method in class dev.selena.luacore.utils.config.FileManager
-
Used for getting a folder
- folderName - Variable in class dev.selena.luacore.utils.data.UserDataManager
-
The folder that the user data is stored in
- folderPath(String) - Static method in class dev.selena.luacore.utils.config.FileManager
-
Returns a folder from your Plugins data folder
- forEach(Function<E, E>) - Method in class dev.selena.luacore.utils.RandomCollection
-
Used for executing lambda function on each value
- fromItemStack(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for creating an instance of ItemBuilder from an ItemStack
G
- get() - Static method in class dev.selena.luacore.utils.config.FileManager
-
Used for getting the instance of this class
- getBlockAtLocation(Location) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting the Block at a location
- getBlockLocation(Block) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting the location of a block
- getCompountName() - Static method in class dev.selena.luacore.LuaCore
-
Used for NBT compounds
- getEntity() - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for getting the altered entity
- getEntity() - Method in interface dev.selena.luacore.nms.IPathfinderInjector
- getEntityBuilder(LivingEntity) - Method in interface dev.selena.luacore.nms.INMSVersionClass
-
Used for getting the NMS entity builder
- getEntityNBTContent(Class<T>, String, ReadWriteNBT) - Static method in class dev.selena.luacore.utils.nbt.NBTUtils
-
Gets custom NBT data
- getEntityNBTContent(Type, String, ReadWriteNBT) - Static method in class dev.selena.luacore.utils.nbt.NBTUtils
-
Gets custom NBT data
- getHandlers() - Method in class dev.selena.luacore.utils.entities.LuaEntityDeathEvent
- getInstance() - Static method in class dev.selena.luacore.utils.items.ItemEventSingleton
-
Used for creating one single instance of ItemEvents
- getIntFromLuaValue(LuaValue) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting an Integer from a LuaValue
- getItem(Material, int) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting an ItemStack in lua
- getLockFileName(String) - Static method in class dev.selena.luacore.LuaCore
-
Method to get a specific lock file name
- getNBTContent(Class<T>, String, NBTCompound) - Static method in class dev.selena.luacore.utils.nbt.NBTUtils
-
Gets custom NBT data
- getOwningPlugin() - Method in class dev.selena.luacore.utils.entities.LuaEntity
-
Gets the owning plugin of the entity
- getPathfinderInjector(LivingEntity) - Method in interface dev.selena.luacore.nms.INMSVersionClass
-
Used for getting the
IPathfinderInjectorinstance for a specific entity. - getPlayerAttributeModifier(Player) - Method in interface dev.selena.luacore.nms.INMSVersionClass
-
Used for getting the
INMSPlayerAttributeModifierinstance for a player. - getProbability(int, int, int) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Generates a random int between min and max then checks if its equal to the goal Added because I feel Luas Math.random(min, max) is too high bias.
- getRandom() - Method in class dev.selena.luacore.utils.RandomCollection
-
Gets a weighted random value
- getRelativeUserFolderPath(UUID) - Method in class dev.selena.luacore.utils.data.UserDataManager
-
Used for getting the path inside your plugin data folder excluding /plugins/PLUGIN/
- getStringArrayFromLuaValue(LuaValue) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting a string array from a LuaValue
- getStringFromLuaValue(LuaValue) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for getting a string from a LuaValue
- getTrace(int) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for getting the call trace
- getType() - Method in class dev.selena.luacore.utils.data.TypedObject
- getUserDataFolder(Class<T>, UUID) - Method in class dev.selena.luacore.utils.data.UserDataManager
-
Used for getting the initialized data folder class
- getUserFolderPath(UUID) - Method in class dev.selena.luacore.utils.data.UserDataManager
-
Used for getting the users data path as a string.
- getValue() - Method in class dev.selena.luacore.utils.data.TypedObject
-
Used for getting the value of the TypedObject.
- getVersion() - Static method in class dev.selena.luacore.nms.Compatibility
-
Allows you to get the version number or NOT_SUPPORTED if there is no NMS specific class
- giveItem(Player, ItemStack) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
User for giving a player an ItemStack
H
- hasDebuff(Player) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Checks if the player has a debuff potion effect
- hashCode() - Method in record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.selena.luacore.utils.lua.LuaArgValue
-
Returns a hash code value for this object.
- hasPotionEffect(Player, String) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for checking if the player has a potion effect
I
- ICustomGoalWrapper - Interface in dev.selena.luacore.nms
-
Interface for custom pathfinder goal wrappers in the NMS (Net Minecraft Server) system.
- ICustomGoalWrapperAdapter - Class in dev.selena.luacore.utils.typeadapters
-
A Gson TypeAdapter for serializing and deserializing
ICustomGoalWrapperinstances. - ICustomGoalWrapperAdapter() - Constructor for class dev.selena.luacore.utils.typeadapters.ICustomGoalWrapperAdapter
- init() - Method in class dev.selena.luacore.utils.data.UserFolder
-
Used for setting up the class extending UserFolder
- INMSEntityBuilder - Interface in dev.selena.luacore.nms
-
Interface for the version-specific EntityBuilder methods
- INMSPlayerAttributeModifier - Interface in dev.selena.luacore.nms
- INMSVersionClass - Interface in dev.selena.luacore.nms
-
Used for getting NMS version specific classes
- intToRoman(int) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for converting an Int to roman numerals
- IPathfinderInjector - Interface in dev.selena.luacore.nms
- isArmor(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is armor
- isAxe(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is an axe
- isBoots(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is boots
- isBow(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack in question is a bow
- isCancelled() - Method in class dev.selena.luacore.utils.entities.LuaEntityDeathEvent
- isChestplate(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is a chestplate
- isCommandReward() - Method in class dev.selena.luacore.utils.objects.RewardItem
-
Checks if the reward has a command set
- isCrossBow(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack in question is a cross bow
- isDebuff(PotionEffectType) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for checking of a potion effect is a debuff
- isEmpty() - Method in class dev.selena.luacore.utils.RandomCollection
-
Used for checking if the collection is empty
- isHelmet(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is a helmet
- isHoe(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is a hoe
- isItemReward() - Method in class dev.selena.luacore.utils.objects.RewardItem
-
Checks if the reward has an item set
- isLeather(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Used for checking if an item is leather for dying
- isLeggings(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is leggings
- isLuaEntity(Entity) - Static method in class dev.selena.luacore.utils.entities.LuaEntity
-
Used for seeing if an entity is a LuaEntity (This is plugin-specific)
- isPickaxe(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is a pickaxe
- isShovel(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is a shovel
- isSword(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack in question is a sword
- isTool(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Checks if the ItemStack is a tool
- isWeapon(ItemStack) - Static method in class dev.selena.luacore.utils.items.ItemUtils
-
Used for seeing if an ItemStack is a weapon
- ItemBuilder - Class in dev.selena.luacore.utils.items
-
Used for easily creating custom items
- ItemBuilder() - Constructor for class dev.selena.luacore.utils.items.ItemBuilder
-
Used for creating the item builder with no initial material type
- ItemBuilder(Map<String, Object>) - Constructor for class dev.selena.luacore.utils.items.ItemBuilder
-
Used for creating an instance of ItemBuilder from a serializable map
- ItemBuilder(Material) - Constructor for class dev.selena.luacore.utils.items.ItemBuilder
-
Start the creation of the ItemBuilder and setting the type
- ItemBuilder.SkullProfile - Record Class in dev.selena.luacore.utils.items
- ItemBuilderException - Exception Class in dev.selena.luacore.exceptions.item
- ItemBuilderException(String) - Constructor for exception class dev.selena.luacore.exceptions.item.ItemBuilderException
-
Exception thrown when an error occurs in the ItemBuilder.
- ItemEvent - Class in dev.selena.luacore.utils.items
-
Used for managing items, This should only be used in one plugin on your server.
- ItemEvent() - Constructor for class dev.selena.luacore.utils.items.ItemEvent
- ItemEventSingleton - Class in dev.selena.luacore.utils.items
-
Used for ensuring there is ever only one instance of ItemEvent loaded
- itemSpawn(ItemSpawnEvent) - Method in class dev.selena.luacore.utils.items.ItemEvent
-
used for handling unstackable items
- ItemStackAdapter - Class in dev.selena.luacore.utils.typeadapters
-
Kinda works but not fully its a bit iffy.
- ItemStackAdapter() - Constructor for class dev.selena.luacore.utils.typeadapters.ItemStackAdapter
- itemUse(PlayerInteractEvent) - Method in class dev.selena.luacore.utils.items.ItemEvent
-
event to stop users from consuming items with the unusable tag
- ItemUtils - Class in dev.selena.luacore.utils.items
-
Useful item utility class
- ItemUtils() - Constructor for class dev.selena.luacore.utils.items.ItemUtils
J
- json_dump(String, T) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Dumps a Java class to console
NOTE: THIS IS A VERBOSE METHOD AND NEEDSLuaCore.setVerbose(boolean)SET TO TRUE - json_dump(String, T, Type) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Dumps a Java class to console
NOTE: THIS IS A VERBOSE METHOD AND NEEDSLuaCore.setVerbose(boolean)SET TO TRUE - json_dump(T) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Dumps a Java class to console
NOTE: THIS IS A VERBOSE METHOD AND NEEDSLuaCore.setVerbose(boolean)SET TO TRUE - json_dump(T, Type) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Dumps a Java class to console
NOTE: THIS IS A VERBOSE METHOD AND NEEDSLuaCore.setVerbose(boolean)SET TO TRUE
L
- loadConfig(Class<T>, File) - Static method in class dev.selena.luacore.utils.config.ConfigLoader
-
Loads a provided config object from a given JSON file.
- loadData(Class<T>, UserDataManager, String) - Method in class dev.selena.luacore.utils.data.UserFolder
-
Used for setting up the GSON mapping classes for user data using a specified instance of UserDataManager
- loadData(Class<T>, String) - Method in class dev.selena.luacore.utils.data.UserFolder
-
Used for setting up the GSON mapping classes for user data
- loadFile(Class<T>, File) - Static method in class dev.selena.luacore.utils.config.FileManager
-
Uses the GSON ConfigLoader class to map the config json to the specified class
- loadResourceFolder(String) - Static method in class dev.selena.luacore.utils.lua.LuaManager
-
Used for loading a folder from the Resources folder Note its best to add all the resource files into sub folders
- loadTable(String) - Static method in class dev.selena.luacore.utils.lua.LuaValueMapper
-
Used for loading a Lua table into memory
- lockCrashHandling(boolean...) - Static method in class dev.selena.luacore.LuaCore
-
Used for crash handling of the lock files.
- log(Level, String) - Method in class dev.selena.luacore.CoreLogger
-
Used for sending a message to console
- LuaArgValue - Record Class in dev.selena.luacore.utils.lua
-
Used for parsing args into the Lua script using
runScript - LuaArgValue(String, Object) - Constructor for record class dev.selena.luacore.utils.lua.LuaArgValue
-
Creates an instance of a
LuaArgValuerecord class. - LuaCore - Class in dev.selena.luacore
-
Main class for the library
- LuaCore() - Constructor for class dev.selena.luacore.LuaCore
- LuaEntity - Class in dev.selena.luacore.utils.entities
-
Used for handling of LuaCore Entities
- LuaEntity(Entity) - Constructor for class dev.selena.luacore.utils.entities.LuaEntity
-
used for setting up stuff for the LuaEntity
- luaEntityDeathCall(EntityDeathEvent) - Method in class dev.selena.luacore.utils.entities.EntityEvents
-
Used for calling the LuaEntityDeathEvent.
- LuaEntityDeathEvent - Class in dev.selena.luacore.utils.entities
-
Used for handling custom drops only currently, but you can use this for whatever you need.
- LuaEntityDeathEvent(LuaEntity) - Constructor for class dev.selena.luacore.utils.entities.LuaEntityDeathEvent
-
Used for handling custom drops only currently, but you can use this for whatever you need.
- luaEntityDeathListen(LuaEntityDeathEvent) - Method in class dev.selena.luacore.utils.entities.EntityEvents
-
Listens to LuaEntityDeathEvent will be called last, so if you wish to change the drop amount you can
- LuaManager - Class in dev.selena.luacore.utils.lua
-
Main class for Lua management
- LuaManager() - Constructor for class dev.selena.luacore.utils.lua.LuaManager
- LuaMessageUtils - Class in dev.selena.luacore.utils.text
-
Used for sending messages to both console and users
NOTE: ALL VERBOSE METHODS NEEDLuaCore.setVerbose(boolean)SET TO TRUE - LuaMessageUtils() - Constructor for class dev.selena.luacore.utils.text.LuaMessageUtils
- LuaValueMapper - Class in dev.selena.luacore.utils.lua
-
Used for mapping Lua values to a class Note there is still a bit of work needed here
- LuaValueMapper() - Constructor for class dev.selena.luacore.utils.lua.LuaValueMapper
M
- map - Variable in class dev.selena.luacore.utils.RandomCollection
- mapToClass(Class<T>, String) - Static method in class dev.selena.luacore.utils.lua.LuaValueMapper
-
Used for mapping lua values to the class
- MetadataMapAdapter - Class in dev.selena.luacore.utils.typeadapters
-
A Gson TypeAdapter for serializing and deserializing a Map of MetadataValue objects keyed with Strings.
- MetadataMapAdapter(Plugin) - Constructor for class dev.selena.luacore.utils.typeadapters.MetadataMapAdapter
- multiplyArray(Object[], int) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for duplicating the array x times Example of use, I had a mask plugin and one of the maks gave 2x the rewards from fishing Using this method you can double the rewards easily
N
- name() - Method in record class dev.selena.luacore.utils.lua.LuaArgValue
-
Used to get the argument variable name
- NBTConstants - Enum Class in dev.selena.luacore.utils.nbt
- NBTUtils - Class in dev.selena.luacore.utils.nbt
-
NBT utility class mainly for serialization and storing custom nbt compounds
- NBTUtils() - Constructor for class dev.selena.luacore.utils.nbt.NBTUtils
- NoReturnValueException - Exception Class in dev.selena.luacore.exceptions.lua
-
Thrown when the Lua file does not have any return table
- NoReturnValueException(String) - Constructor for exception class dev.selena.luacore.exceptions.lua.NoReturnValueException
-
Thrown when the Lua file does not have any return table
- NOT_SUPPORTED - Enum constant in enum class dev.selena.luacore.nms.Version
-
Used for any other versions
- NotUserFolderException - Exception Class in dev.selena.luacore.exceptions.data
-
Used for player data management related issues
- NotUserFolderException(String) - Constructor for exception class dev.selena.luacore.exceptions.data.NotUserFolderException
-
Thrown when the class you are trying to use as the mapper is not instance of
UserFolder - NoUserJsonFoundException - Exception Class in dev.selena.luacore.exceptions.data
-
Thrown when the user data folder contains no json files
- NoUserJsonFoundException(String) - Constructor for exception class dev.selena.luacore.exceptions.data.NoUserJsonFoundException
-
Thrown when the user folder has not been set up correctly and does not contain any json files
P
- playerSend(Player, Object) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a message to a Player
- playerSend(Player, Object...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a series of messages to a Player
- playerSend(Player, String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a message to a Player
- playerSend(Player, String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a series of messages to a Player
- PotionEffectAdapter - Class in dev.selena.luacore.utils.typeadapters
-
A Gson TypeAdapter for serializing and deserializing PotionEffect objects.
- PotionEffectAdapter() - Constructor for class dev.selena.luacore.utils.typeadapters.PotionEffectAdapter
R
- RandomCollection<E> - Class in dev.selena.luacore.utils
-
Used for weighted random item/object generation For examples check the wiki
- RandomCollection() - Constructor for class dev.selena.luacore.utils.RandomCollection
-
Used to initialize the class using a new instance of random
- RandomCollection(long) - Constructor for class dev.selena.luacore.utils.RandomCollection
-
Used to initialize the class using a new instance of random.
- RandomCollection(Random) - Constructor for class dev.selena.luacore.utils.RandomCollection
-
Used to initialize the class using a fixed instance of random (Note the seed will be the next long generated this is for serialization reason)
- RandomCollectionTypeAdapter<E> - Class in dev.selena.luacore.utils.typeadapters
-
A custom TypeAdapter for serializing and deserializing
RandomCollectionobjects. - RandomCollectionTypeAdapter(Gson, Type) - Constructor for class dev.selena.luacore.utils.typeadapters.RandomCollectionTypeAdapter
- RandomCollectionTypeAdapterFactory - Class in dev.selena.luacore.utils.typeadapters
-
Factory for creating TypeAdapters for
RandomCollectiontypes. - RandomCollectionTypeAdapterFactory() - Constructor for class dev.selena.luacore.utils.typeadapters.RandomCollectionTypeAdapterFactory
- read(JsonReader) - Method in class dev.selena.luacore.utils.typeadapters.AttributeTypeAdapter
- read(JsonReader) - Method in class dev.selena.luacore.utils.typeadapters.RandomCollectionTypeAdapter
- registerItemEvents() - Static method in class dev.selena.luacore.LuaCore
-
This should only be called by one plugin on your server, Used for preventing the placement/usage of un usable items
- removeDebuffs(Player) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Removes all debuffs from the player
- removeEffectAsync(Player, PotionEffectType) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for removing a single effect from a player on an async thread
- removeEffects(Player, List<PotionEffectType>) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for removing potion effects from a player
- removeEffects(Player, PotionEffectType...) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for removing potion effects from a player
- removeEffectsAsync(Player, PotionEffectType...) - Static method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for removing potion effects when on a different thread
- resetArmorBonus() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the armor bonus attribute to 0.0
- resetArmorToughness() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the armor toughness attribute to 0.0
- resetAttackDamage() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the attack damage attribute to 1.0
- resetAttackKnockBack() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the attack knock back attribute to 0.0
- resetAttackSpeed() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the attack speed attribute to 4.0
- resetBlockBreakSpeed() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the block break speed multiplier attribute to 1.0
- resetBlockInteractionRange() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the block interaction range attribute to 4.5
- resetBurningTime() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the burning time multiplier attribute to 1.0
- resetCameraDistance() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the camera distance attribute to 4.0
- resetEntityInteractionRange() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the entity interaction range attribute to 3.0
- resetEntityScale() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the entity scale attribute to 1.0
- resetExplosionKnockBackResistance() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the explosion knock back resistance attribute to 0.0
- resetFallDamageMultiplier() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the fall damage multiplier attribute to 1.0
- resetGravity() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the gravity attribute to 0.08
- resetJumpStrength() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the jump strength attribute to 0.42
- resetKnockBackResistance() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the knock back resistance attribute to 0.0
- resetLuck() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the luck attribute to 0.0
- resetMaxAbsorption() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the max absorption attribute to
- resetMaxHealth() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the max health attribute to 20.0
- resetMiningEfficiency() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the mining efficiency attribute to 0.0
- resetMovementEfficiency() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the movement efficiency attribute to 0.0
- resetMovementSpeed() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the movement speed attribute to 0.1
- resetOxygenBonus() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the oxygen bonus attribute to 0.0
- resetSafeFallDistance() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the safe fall distance attribute to 3.0
- resetSneakingSpeed() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the sneaking speed attribute to 0.3
- resetStepHeight() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the step height attribute to 0.6
- resetSubmergedMiningSpeed() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the submerged mining speed attribute to 0.2
- resetSweepingDamageRatio() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the sweeping damage ratio attribute to 0.0
- resetWaterMoveEfficiency() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the water movement efficiency attribute to 0.0
- resetWaypointReceiveRange() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the waypoint receive range attribute to 60,000,000.0
- resetWaypointTransmitRange() - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Resets the waypoint transmit range attribute to 60,000,000.0
- RewardItem - Class in dev.selena.luacore.utils.objects
-
An example class for the
RandomCollectionclass - RewardItem(ItemStack, String, String) - Constructor for class dev.selena.luacore.utils.objects.RewardItem
-
Used to setup the reward
- runEvent(String, LuaArgValue...) - Static method in class dev.selena.luacore.utils.lua.LuaManager
-
Used for running lua script functions
- runEvent(String, String, LuaArgValue...) - Static method in class dev.selena.luacore.utils.lua.LuaManager
-
Used for running lua script event function
- runScript(String, String, LuaArgValue...) - Static method in class dev.selena.luacore.utils.lua.LuaManager
-
Used for running lua script functions
- runScript(String, String, String, LuaArgValue...) - Static method in class dev.selena.luacore.utils.lua.LuaManager
-
Used to run a lua script
S
- save() - Static method in class dev.selena.luacore.LuaCore
-
Used for saving all needed data call this in onDisable
- saveAllUserData() - Method in class dev.selena.luacore.utils.data.UserDataManager
-
Used for saving all users data
- saveConfig(Object, File) - Static method in class dev.selena.luacore.utils.config.ConfigLoader
-
Saves a config object to the specified file in JSON format
- saveUserData(UserFolder) - Method in class dev.selena.luacore.utils.data.UserDataManager
-
Used for saving the users data
- ScriptHelper - Class in dev.selena.luacore.utils.lua
-
A useful tool for script assistance parsed into lua scripts as arg.scriptHelper
- ScriptHelper() - Constructor for class dev.selena.luacore.utils.lua.ScriptHelper
- sender(CommandSender, Object...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Sends a series of messages to a CommandSender
- serialize(ICustomGoalWrapper, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ICustomGoalWrapperAdapter
- serialize(Map<String, MetadataValue>, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.MetadataMapAdapter
- serialize(ConfigurationSerializable, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ConfigurationSerializableAdapter
- serialize(ItemStack, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ItemStackAdapter
- serialize(ArmorTrim, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.ArmorTrimTypeAdapter
- serialize(FixedMetadataValue, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.FixedMetadataValueAdapter
- serialize(PotionEffect, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.PotionEffectAdapter
- serialize(T, Type, JsonSerializationContext) - Method in class dev.selena.luacore.utils.typeadapters.SpigotTypeAdapter
- serializeItemMeta(ItemMeta) - Static method in class dev.selena.luacore.utils.typeadapters.ItemStackAdapter
- setAi(boolean) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting if the entity has AI or not
- setAmount(int) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the amount of items
- setArmorBonus(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the armor bonus attribute (0.0 to 30.0, default 0.0)
- setArmorBonus(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the armor bonus attribute (0.0 to 30.0, default 0.0)
- setArmorBonus(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the armor bonus attribute (0.0 to 30.0, default 0.0)
- setArmorToughness(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the armor toughness attribute (0.0 to 20.0, default 0.0)
- setArmorToughnessBonus(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the armor toughness bonus attribute (0.0 to 20.0, default 0.0)
- setArmorToughnessBonus(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the armor toughness bonus attribute (0.0 to 20.0, default 0.0)
- setArmorTrim(ArmorTrim) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used to add armor trims to a piece of armor
- setAttackDamage(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the attack damage attribute (0.0 to 2048.0 default, 1.0)
- setAttackDamageBonus(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the attack damage bonus (0.0 to 2048.0 default, 2.0)
- setAttackDamageBonus(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the attack damage bonus (0.0 to 2048.0 default, 2.0)
- setAttackKnockBack(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the attack knock back attribute (0.0 to 5.0, default 0.0)
- setAttackKnockBack(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the attack knock back attribute (0.0 to 5.0, default 0.0)
- setAttackKnockBack(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the attack knock back attribute (0.0 to 5.0, default 0.0)
- setAttackSpeed(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the attack speed attribute (0.0 to 1024.0, default 4)
- setAttribute(LivingEntity, String, double) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for setting an entity attributes
- setAttributeAsync(LivingEntity, String, double) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for setting an entity attributes
- setAttributeModifiers(Map<String, AttributeModifier>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the attribute modifiers map of the item
- setBlockAtLocation(Location, Material) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
- setBlockBreakSpeed(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the block breaking speed attribute (0.0 to 1024.0, default 1)
- setBlockInteractionRange(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used to set the entity interaction with block distance attribute (0.0 to 64, default 4.5)
- setBooleanNBT(Map<String, Boolean>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the values of the NBT boolean map
- setBoots(ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity boots
- setBurningTime(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the burning timer multiplier attribute (0.0 to 1024.0, default 1)
- setBurningTime(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the burning timer multiplier attribute (0.0 to 1024.0, default 1)
- setBurningTimer(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the burn timer multiplier attribute
- setCameraDistance(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the camera distance attribute (0.0 to 32.0, default 4)
- setCameraDistance(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the camera distance attribute (0.0 to 32.0, default 4)
- setCameraDistance(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the camera distance attribute
- setCancelled(boolean) - Method in class dev.selena.luacore.utils.entities.LuaEntityDeathEvent
- setChestplate(ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity chestplate
- setColor(Color) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting color of leather armor
- setCustomNBT(Map<String, Object>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the values of the custom NBT map
- setCustomNBTData(Map<String, TypedObject>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the custom NBTData map
- setCustomPathfinderGoal(Map<Integer, ICustomGoalWrapper>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting a custom pathfinder goal NOTE: THIS IS VERY EXPERIMENTAL AND MAY NOT WORK AS INTENDED
- setDefaultErrorTrace(boolean) - Static method in class dev.selena.luacore.LuaCore
-
Used for setting the default
LuaMessageUtils.verboseError(String)to have the call trace - setDefaultMessageTrace(boolean) - Static method in class dev.selena.luacore.LuaCore
-
Used for setting the default
LuaMessageUtils.verboseMessage(String)to have the call trace - setDefaultWarnTrace(boolean) - Static method in class dev.selena.luacore.LuaCore
-
Used for setting the default
LuaMessageUtils.verboseWarn(String)to have the call trace - setDisplayName(String) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the display name of the entity (Color is translated once applied so no need to do it before)
- setDrops(RandomCollection<ItemBuilder>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the drop collection for entity death
- setDropsFromItemCollection(RandomCollection<ItemStack>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the drop collection for entity death
- setEnchantsFromEnchantments(Map<Enchantment, Integer>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the enchantment map using spigot Enchantments
- setEnchantsFromKey(Map<String, Integer>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting enchantments
- setEntityInteractionRange(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used to set the entity interaction with entity distance attribute (0.0 to 64.0, default 3.0)
- setEntityScale(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the entity scale attribute (0.0625 to 16.0, default 1.0)
- setEntityScale(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the entity scale attribute (0.0625 to 16.0, default 1.0)
- setEntityScale(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity scale attribute (0.0625 to 16.0, default 1.0)
- setEntityType(EntityType) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the type of entity to spawn
- setExplosionKnockbackResistance(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the explosion knockback resistance attribute
- setExplosionKnockBackResistance(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the explosion knockback resistance attribute (0.0 to 1.0, default 0)
- setExplosionKnockBackResistance(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the explosion knock back resistance attribute (0.0 to 1.0, default 0)
- setFallDamageMultiplier(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the fall damage multiplier attribute (0.0 to 100.0, default 1)
- setFallDamageMultiplier(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the fall damage multiplier attribute (0.0 to 100.0, default 1.0)
- setFallDamageMultiplier(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the fall damage multiplier attribute
- setFloatNBT(Map<String, Float>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the values of the NBT float map
- setFlyingSpeed(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the flight speed attribute (0.0 to 1024.0, default 0.4)
- setFlyingSpeed(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the flight speed attribute (0.0 to 1024.0, default 0.4)
- setFollowRange(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the entity follow range attribute (0.0 to 2048, default 32.0)
- setFollowRange(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity follow range attribute (0.0 to 2048, default 32.0)
- setGlowing(boolean) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for making an item glow
- setGravity(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the gravity attribute (-1.0 to 1.0, default 0.08)
- setGravity(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the gravity attribute (-1.0 to 1.0, default 0.08)
- setGravity(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the gravity attribute
- setHelmet(ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity helmet
- setIntNBT(Map<String, Integer>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the value of the NBT Int Map
- setItemInEquipmentSlot(Player, ItemStack, EquipmentSlot, int...) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for updating the item in a specified EquipmentSlot on the main thread
- setItemInEquipmentSlotAsync(Player, ItemStack, EquipmentSlot, int...) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for updating the item in a specified EquipmentSlot on an async thread
- setItemInMainHand(Player, ItemStack, int...) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for updating the item in the main hand on the main thread
- setItemInMainHandAsync(Player, ItemStack, int...) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for updating the item in the main hand on an async thread
- setItemInOffHand(Player, ItemStack, int...) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for updating the item in the offhand on the main thread
- setItemInOffHandAsync(Player, ItemStack, int...) - Method in class dev.selena.luacore.utils.lua.ScriptHelper
-
Used for updating the item in the offhand on an async thread
- setJumpStrength(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the jump strength attribute (0.0 to 2.0, default 0.7)
- setJumpStrength(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the jump strength attribute (0.0 to 32.0, default 0.42)
- setJumpStrength(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the horse jump strength attribute (0.0 to 2.0, default 0.7)
- setKnockBackResistance(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the knock back resistance attribute (0.0 to 1.0, default 0.0)
- setKnockBackResistance(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the knock back resistance attribute (0.0 to 1.0, default 0.0)
- setKnockBackResistance(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the knock back resistance attribute (0.0 to 1.0, default 0.0)
- setLeggings(ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity leggings
- setLore(String...) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Sets the lore using a string array
- setLore(List<String>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the lore using List
- setLuck(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the luck attribute (-1024.0 to 1024.0, default 0.0)
- setMainHandItem(ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the item in the entities main hand
- setMaxAbsorption(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the maximum absorption attribute (0.0 to 2048.0, default 0.0)
- setMaxAbsorption(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the maximum absorption attribute (0.0 to 2048.0, default 0.0)
- setMaxAbsorption(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the maximum absorption attribute (0.0 to 2048.0, default 0.0)
- setMaxHealth(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the maximum health attribute (0.0 to 1024.0, default 20.0)
- setMaxHealth(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the maximum health attribute (0.0 to 1024.0, default 20.0)
- setMaxHealth(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the maximum health attribute (0.0 to 1024.0, default 20.0)
- setMaxStackSize(int) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the max stack size of an item
NOTE: THIS MIGHT MAKE THE LIBRARY NOT WORK ON VERSIONS THAT DO NOT HAVE setMaxSize(int) - setMetadataValues(Map<String, MetadataValue>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the map of metadata values (NOTE: I suggest using
EntityBuilder.setCustomNBTData(Map)) - setMiningEfficiency(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the mining efficiency attribute (0.0 to 1024.0, default 0.0)
- setMovementEfficiency(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the movement efficiency attribute (0.0 to 1.0, default 0.0)
- setMovementEfficiency(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the movement efficiency attribute (0.0 to 1.0, default 0.0)
- setMovementEfficiency(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the movement efficiency attribute
- setMovementSpeed(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the entity movement speed attribute (0.0 to 1024.0, default depends on entity)
- setMovementSpeed(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the entity movement speed attribute (0.0 to 1024.0, default 0.1)
- setMovementSpeed(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity movement speed attribute (0.0 to 1024.0, default depends on entity)
- setOffHandItem(ItemStack) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the item in the entities offhand
- setOxygenBonus(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the oxygen bonus attribute (0.0 to 1024.0, default 0.0)
- setOxygenBonus(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the oxygen bonus attribute (0.0 to 1024.0, default 0.0)
- setOxygenBonus(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the oxygen bonus attribute
- setPlaceholderPlayer(Player) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for placeholderAPI stuff
- setPlugin(Plugin) - Static method in class dev.selena.luacore.LuaCore
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setPotionEffects(List<PotionEffect>) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the list of potion effects
- setRemoveDefaultGoals(boolean) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting if the entity should remove default goals or not
- setSafeFallDistance(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the safe fall distance attribute (-1024.0 to 1024.0, default 3.0)
- setSafeFallDistance(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the safe fall distance attribute (-1024.0 to 1024.0, default 3.0)
- setSafeFallDistance(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the safe fall distance attribute
- setSilent(boolean) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting if the entity is silent or not
- setSkullProfile(String, UUID, String) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the skull profile using a URL, UUID and name
- setSkullProfile(URL, UUID, String) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the skulls
PlayerProfiletexture. - setSkullProfile(PlayerProfile) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the skulls
PlayerProfile - setSkullTexture(String) - Method in class dev.selena.luacore.utils.items.ItemBuilder
- setSkullTexture(URL) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the skull texture (Won't work if the material isn't
Material.PLAYER_HEAD) - setSneakingSpeed(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the sneaking speed attribute (0.0 to 1.0, default 0.3)
- setSpawnReinforcements(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the reinforcements spawn chance attribute
- setStackable(boolean) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for making items only be able to stack to 1
- setStepHeight(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the entity step height attribute (0.0 to 10.0, default 0.6)
- setStepHeight(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the entity step height attribute (0.0 to 10.0, default 0.6)
- setStepHeight(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the entity step height attribute (0.0 to 10.0, default 0.6)
- setStringNBT(Map<String, String>) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the NBTString map
- setSubmergedMiningSpeed(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the submerged mining speed attribute (0.0 to 20.0, default 0.2)
- setSweepingDamageRatio(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the sweeping damage ratio attribute (0.0 to 1.0, default 0.0)
- setTemptRange(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the temptation range attribute (0.0 to 2048.0, default 10.0)
- setTemptRange(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the temptation range attribute
- setTitle(String) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the display name of the item
- setType(Material) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Used for setting the material type
- setupCore(Plugin) - Static method in class dev.selena.luacore.LuaCore
-
Method to set up the library with the required methods (setPlugin and setCoreLogger)
- setUsable(boolean) - Method in class dev.selena.luacore.utils.items.ItemBuilder
-
Allows you to stop users from using items that should not be used
- setUserDataManager(UserDataManager) - Static method in class dev.selena.luacore.LuaCore
-
Used for setting up user data management, This is in early beta currently
- setValue(T) - Method in class dev.selena.luacore.utils.data.TypedObject
-
Used for setting the value of the TypedObject.
- setVanillaDrops(boolean) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting if the entity should use vanilla drops or not
- setVerbose(boolean) - Static method in class dev.selena.luacore.LuaCore
-
Used for enabling extra messages
- setWaterMoveEfficiency(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the water move efficiency attribute (0.0 to 1.0, default 0.0)
- setWaterMoveEfficiency(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the water move efficiency attribute (0.0 to 1.0, default 0.0)
- setWaterMovementEfficiency(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the water movement efficiency attribute
- setWaypointReceiveRange(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the waypoint receive range attribute (0.0 to 60,000,000.0, default 60,000,000.0 for players and 0.0 for other mobs)
- setWaypointReceiveRange(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the waypoint receive range attribute (0.0 to 60,000,000.0, default 60,000,000.0)
- setWaypointReceiveRange(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the waypoint receive range attribute
- setWaypointTransmitRange(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the waypoint transmit range attribute (0.0 to 60,000,000.0, default 60,000,000.0 for players and 0.0 for other mobs)
- setWaypointTransmitRange(float) - Method in interface dev.selena.luacore.nms.INMSPlayerAttributeModifier
-
Used for setting the waypoint transmit range attribute (0.0 to 60,000,000.0, default 60,000,000.0)
- setWaypointTransmitRange(float) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for setting the waypoint transmit range attribute
- SkullProfile(String, UUID, String) - Constructor for record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Creates an instance of a
SkullProfilerecord class. - spawn(Location) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for spawning the entity in the world
- spawn(Location, World) - Method in class dev.selena.luacore.utils.entities.EntityBuilder
-
Used for spawning the entity in the world
- spawnReinforcements(float) - Method in interface dev.selena.luacore.nms.INMSEntityBuilder
-
Used for setting the spawn reinforcements attribute (0.0 to 1.0, default is random between 0.0 and 0.1)
- SpigotTypeAdapter<T> - Class in dev.selena.luacore.utils.typeadapters
- SpigotTypeAdapter(Function<Map<String, Object>, T>) - Constructor for class dev.selena.luacore.utils.typeadapters.SpigotTypeAdapter
- storeEntityNBTContent(ReadWriteNBT, Object, String) - Static method in class dev.selena.luacore.utils.nbt.NBTUtils
-
Stores custom NBT content for entity
- storeEntityNBTContent(ReadWriteNBT, T, String, Type) - Static method in class dev.selena.luacore.utils.nbt.NBTUtils
-
Stores custom NBT content for entity
- storeNBTContent(ReadWriteNBT, Object, String) - Static method in class dev.selena.luacore.utils.nbt.NBTUtils
-
Stores custom NBT content
T
- textureName() - Method in record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Returns the value of the
textureNamerecord component. - textureUrl() - Method in record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Returns the value of the
textureUrlrecord component. - textureUUID() - Method in record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Returns the value of the
textureUUIDrecord component. - toJsonWithComments(Object, Gson) - Static method in class dev.selena.luacore.utils.config.ConfigLoader
-
Converts an Object to a JSON string using GSON and injects the value of the @Comment annotation above
- toString() - Method in record class dev.selena.luacore.utils.items.ItemBuilder.SkullProfile
-
Returns a string representation of this record class.
- toString() - Method in record class dev.selena.luacore.utils.lua.LuaArgValue
-
Returns a string representation of this record class.
- TypedObject - Class in dev.selena.luacore.utils.data
-
A class that holds a value and its type.
- TypedObject(Object) - Constructor for class dev.selena.luacore.utils.data.TypedObject
-
Use this for objects that do not need a type for serialization
- TypedObject(Object, Type) - Constructor for class dev.selena.luacore.utils.data.TypedObject
-
Constructor for TypedObject.
U
- UNSTACKABLE - Enum constant in enum class dev.selena.luacore.utils.nbt.NBTConstants
- UNUSABLE - Enum constant in enum class dev.selena.luacore.utils.nbt.NBTConstants
- UserDataManager - Class in dev.selena.luacore.utils.data
-
Used for internal handling of player data
- UserDataManager(String) - Constructor for class dev.selena.luacore.utils.data.UserDataManager
-
Used for setting up the manager class.
- UserFolder - Class in dev.selena.luacore.utils.data
-
This class is required for any User folder class
- UserFolder(UUID) - Constructor for class dev.selena.luacore.utils.data.UserFolder
-
Used for setting the UUID for various internal uses
- UserFolder.FileClass - Class in dev.selena.luacore.utils.data
-
Data file class used for managing data internally
V
- v1_20_6 - Enum constant in enum class dev.selena.luacore.nms.Version
- v1_20_R2 - Enum constant in enum class dev.selena.luacore.nms.Version
-
Used for 1.20.2
- v1_20_R3 - Enum constant in enum class dev.selena.luacore.nms.Version
-
Used for 1.20.3-1.20.4
- v1_21_5 - Enum constant in enum class dev.selena.luacore.nms.Version
- value() - Element in annotation interface dev.selena.luacore.annotations.gson.Comment
- value() - Method in record class dev.selena.luacore.utils.lua.LuaArgValue
-
Used to get the value of the argument variable
- valueOf(String) - Static method in enum class dev.selena.luacore.nms.Version
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.selena.luacore.utils.nbt.NBTConstants
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.selena.luacore.nms.Version
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.selena.luacore.utils.nbt.NBTConstants
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verboseError(String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug error to the console.
ifLuaCore.setDefaultErrorTrace(boolean)is set to true the call trace will be included - verboseMessage(String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug message to the console.
ifLuaCore.setDefaultMessageTrace(boolean)is set to true the call trace will be included - verbosePlayerSend(Player, String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug message to a player
- verbosePlayerSend(Player, String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a series of debug messages to a player
- verboseSender(CommandSender, String...) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a series of debug messages to a CommandSender
- verboseTracedError(String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug error to the console with call trace
Example output: package.name.ClassName:methodName:lineNumber -> error - verboseTracedMessage(String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug message to the console with call trace
Example output: package.name.ClassName:methodName:lineNumber -> message - verboseTracedWarn(String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug warning to the console with call trace
Example output: package.name.ClassName:methodName:lineNumber -> warning - verboseWarn(String) - Static method in class dev.selena.luacore.utils.text.LuaMessageUtils
-
Used for sending a debug warning to the console.
ifLuaCore.setDefaultWarnTrace(boolean)is set to true the call trace will be included - Version - Enum Class in dev.selena.luacore.nms
-
Used for NMS reflections
W
- write(JsonWriter, RandomCollection<E>) - Method in class dev.selena.luacore.utils.typeadapters.RandomCollectionTypeAdapter
- write(JsonWriter, Attribute) - Method in class dev.selena.luacore.utils.typeadapters.AttributeTypeAdapter
All Classes and Interfaces|All Packages|Serialized Form
LuaCore.setupCore(Plugin)