Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(StackTraceElement[]) - Method in class redempt.redlib.dev.profiler.SampleSummary
 
add(Region) - Method in class redempt.redlib.region.MultiRegion
Adds a Region to this MultiRegion
addAttribute(Attribute, double, AttributeModifier.Operation) - Method in class redempt.redlib.itemutils.ItemBuilder
Adds an attribute to this ItemBuilder
addAttribute(Attribute, double, AttributeModifier.Operation, EquipmentSlot) - Method in class redempt.redlib.itemutils.ItemBuilder
Adds an attribute to this ItemBuilder
addAttribute(Attribute, AttributeModifier) - Method in class redempt.redlib.itemutils.ItemBuilder
Adds an attribute to this ItemBuilder
addAttribute(ItemStack, Attribute, double, AttributeModifier.Operation) - Static method in class redempt.redlib.itemutils.ItemUtils
Add an attribute to the item
addAttribute(ItemStack, Attribute, double, AttributeModifier.Operation, EquipmentSlot) - Static method in class redempt.redlib.itemutils.ItemUtils
Add an attribute to the item
addAttribute(ItemStack, Attribute, AttributeModifier) - Static method in class redempt.redlib.itemutils.ItemUtils
Add an attribute to the item
addButton(int, ItemButton) - Method in class redempt.redlib.inventorygui.InventoryGUI
Add a button to the GUI in the given slot
addButton(ItemButton, int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Add a button to the GUI in the given slot
addButton(ItemButton, int, int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Add a button at the given position in the inventory
addBypassPolicy(BiPredicate<Player, ProtectionPolicy.ProtectionType>) - Method in class redempt.redlib.protection.ProtectionPolicy
Adds a bypass policy, which allows certain players to bypass certain protection types
addBypassPolicy(BypassPolicy) - Method in class redempt.redlib.protection.ProtectionPolicy
Adds a bypass policy, which allows certain players to bypass certain protection types
addChild(SampleSummary.SampleMethod) - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
addConverter(Class<T>, Function<String, T>, Function<T, String>) - Method in class redempt.redlib.config.ConfigManager
Registers a string converter to this ConfigManager
addConverter(Class<T>, Function<String, T>, Function<T, String>) - Method in class redempt.redlib.config.ConversionManager
Registers a string converter to this ConversionManager
addConverter(ConfigType<T>, TypeConverter<T>) - Method in class redempt.redlib.config.ConfigManager
Registers a converter to this ConfigManager
addConverter(ConfigType<T>, TypeConverter<T>) - Method in class redempt.redlib.config.ConversionManager
Registers a converter to this ConversionManager
addDamage(int) - Method in class redempt.redlib.itemutils.ItemBuilder
Adds damage to this ItemBuilder
addEnchant(Enchantment, int) - Method in class redempt.redlib.itemutils.ItemBuilder
Adds an enchantment to this ItemBuilder
addEnchant(ItemStack, Enchantment, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Add an enchantment to an ItemStack
addItemFlags(ItemFlag...) - Method in class redempt.redlib.itemutils.ItemBuilder
Adds ItemFlags to this ItemBuilder
addItemFlags(ItemStack, ItemFlag...) - Static method in class redempt.redlib.itemutils.ItemUtils
Adds ItemFlags to the item
addListener(Class<T>, Function<T, EventItems>) - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
Registers a listener for this EventTrigger to get the items and event for the specified event
addLore(Iterable<String>) - Method in class redempt.redlib.itemutils.ItemBuilder
Add multiple lines of lore to this ItemBuilder
addLore(String) - Method in class redempt.redlib.itemutils.ItemBuilder
Add a line of lore to this ItemBuilder
addLore(ItemStack, Iterable<String>) - Static method in class redempt.redlib.itemutils.ItemUtils
Adds multiple lines of lore to an ItemStack
addLore(ItemStack, String) - Static method in class redempt.redlib.itemutils.ItemUtils
Add a line of lore to an ItemStack
addPagedButton(ItemButton) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds a paged button to the panel
addPagedButtons(Iterable<ItemButton>) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds multiple buttons to the paged panel
addPagedItem(ItemStack) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds a paged item to the panel
addPagedItems(Iterable<ItemStack>) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds multiple items to the paged panel
addPersistentTag(ItemStack, NamespacedKey, PersistentDataType<T, Z>, Z) - Static method in class redempt.redlib.itemutils.ItemUtils
Adds persistent data to the item
addPersistentTag(NamespacedKey, PersistentDataType<T, Z>, Z) - Method in class redempt.redlib.itemutils.ItemBuilder
Add persistent tags to this ItemBuilder
addProtectionTypes(ProtectionPolicy.ProtectionType...) - Method in class redempt.redlib.protection.ProtectionPolicy
Adds ProtectionTypes to this ProtectionPolicy
addSlot(int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds a slot which will be used to display elements
addSlots(int, int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds a range of slots which will be used to display elements
addSlots(int, int, int, int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Adds a rectangular area of slots which will be used to display elements
addStrictModeExclusions(Material...) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Add a list of Materials to be excluded from strict data checks rather than disabling strict mode for all blocks
addTrigger(EnchantTrigger<T>, BiConsumer<T, Integer>) - Method in class redempt.redlib.enchants.CustomEnchant
Registers an EnchantTrigger with a listener
addTrigger(EnchantTrigger<T>, BiConsumer<T, Integer>, BiConsumer<T, Integer>) - Method in class redempt.redlib.enchants.CustomEnchant
Registers an EnchantTrigger with a listener
ALL - Static variable in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Every protection type
allExcept(ProtectionPolicy.ProtectionType...) - Static method in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Gets all protection types except those specified
allow(Block, ProtectionPolicy.ProtectionType, Player) - Method in class redempt.redlib.protection.ProtectionPolicy
 
AMOUNT - Enum constant in enum class redempt.redlib.itemutils.ItemTrait
For comparing the amount of two items
and(ProtectionPolicy.ProtectionType[]...) - Static method in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Combines arrays of protection types
ANVIL_BREAK - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players using an anvil damaging it (1.13+ only)
append(String) - Method in class redempt.redlib.misc.Hologram
Adds a line at the bottom of this Hologram
appliesTo(Material) - Method in class redempt.redlib.enchants.CustomEnchant
Checks whether this CustomEnchant applies to a certain item type
apply(ItemStack, int) - Method in class redempt.redlib.enchants.CustomEnchant
Applies this CustomEnchant to an item, replacing it if it was already present.
applyAll(Map<CustomEnchant, Integer>, ItemStack) - Method in class redempt.redlib.enchants.EnchantRegistry
Applies all the enchantments in a map of CustomEnchants to their levels to an item
applyComments(DataHolder) - Method in class redempt.redlib.config.instantiation.FieldSummary
Attempts to apply comments to the given DataHolder
areCommentsSupported() - Static method in class redempt.redlib.config.ConfigManager
 
assumeAt(Location) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Structure at the given block, performing no checks to ensure it exists.
assumeAt(Location, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Structure at the given block, performing no checks to ensure it exists.
assumeAt(Location, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Structure at the given block, performing no checks to ensure it exists.
assumeAt(Location, int, int, int, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Structure at the given block, performing no checks to ensure it exists.
ASYNC_DELAYED - Enum constant in enum class redempt.redlib.misc.Task.TaskType
 
ASYNC_REPEATING - Enum constant in enum class redempt.redlib.misc.Task.TaskType
 
asyncDelayed(Runnable) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run as soon as possible
asyncDelayed(Runnable, long) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run after a delay
asyncDelayed(Consumer<Task>) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run as soon as possible
asyncDelayed(Consumer<Task>, long) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run after a delay
asyncDelayed(Plugin, Runnable) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run as soon as possible
asyncDelayed(Plugin, Runnable, long) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run after a delay
asyncDelayed(Plugin, Consumer<Task>) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run as soon as possible
asyncDelayed(Plugin, Consumer<Task>, long) - Static method in class redempt.redlib.misc.Task
Schedules an async delayed task to run after a delay
asyncInit() - Static method in class redempt.redlib.misc.UserCache
Initializes the user cache asynchronously
asyncInit(Runnable) - Static method in class redempt.redlib.misc.UserCache
Initializes the user cache asynchronously
asyncRepeating(Runnable, long, long) - Static method in class redempt.redlib.misc.Task
Schedules an async repeating task to run later
asyncRepeating(Consumer<Task>, long, long) - Static method in class redempt.redlib.misc.Task
Schedules an async repeating task to run later
asyncRepeating(Plugin, Runnable, long, long) - Static method in class redempt.redlib.misc.Task
Schedules an async repeating task to run later
asyncRepeating(Plugin, Consumer<Task>, long, long) - Static method in class redempt.redlib.misc.Task
Schedules an async repeating task to run later
ATTACK_ENTITY - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with an EntityDamageByEntityEvent when a player attacks an entity with an item that has a CustomEnchant with this trigger
attemptMigration(BlockDataManager) - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Attempts to migrate SQLite from an older schema used by the previous BlockDataManager library
autoCluster() - Method in class redempt.redlib.region.MultiRegion
automatically clusters regions in clusters of 10 until there are less than 25 top-level regions

B

BLOCK_EXPLOSION - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Blocks exploding
BlockDataBackend - Interface in redempt.redlib.blockdata.backend
Represents a data backend for a BlockDataManager
BlockDataManager - Class in redempt.redlib.blockdata
Manages persistent data attached to blocks, backed by either SQLite or chunk PersistentDataContainers
BREAK_BLOCK - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players breaking blocks
build(Player, int, boolean) - Method in class redempt.redlib.dev.StructureTool
 
build(Location) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Builds this multi-block structure at the given location
build(Location, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Builds this multi-block structure at the given location
build(Location, int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Builds this multi-block structure at the given location
build(Location, int, int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Builds this multi-block structure at the given location
build(Location, int, int, int, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Builds this multi-block structure at the given location
buildAsync(Location, int, boolean, int, Consumer<Structure>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Build this multi-block structure over multiple ticks
buildAsync(Location, int, int, int, int, boolean, int, Consumer<Structure>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Build this multi-block structure over multiple ticks
buildAsync(Location, int, int, Consumer<Structure>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Build this multi-block structure over multiple ticks
buildAsync(Location, int, Consumer<Structure>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Build this multi-block structure over multiple ticks
BurstProfiler - Class in redempt.redlib.dev.profiler
A profiler best used in bursts.
BurstProfiler() - Constructor for class redempt.redlib.dev.profiler.BurstProfiler
Create a new BurstProfiler with a default size of 10,000 (10 seconds)
BurstProfiler(int) - Constructor for class redempt.redlib.dev.profiler.BurstProfiler
Create a new BurstProfiler with an initial size, being the number of milliseconds it will be able to record
BypassPolicy - Interface in redempt.redlib.protection
Represents a policy that allows players to bypass certain protection types for certain blocks

C

callMethod(int, String, Object...) - Method in class redempt.redlib.nms.NMSObject
Calls a method on the wrapped object
callMethod(String, Object...) - Method in class redempt.redlib.nms.NMSObject
Calls a method on the wrapped object
callStaticMethod(String, Object...) - Method in class redempt.redlib.nms.NMSClass
Calls a static method of this class
canApply(ItemStack) - Method in class redempt.redlib.enchants.CustomEnchant
Checks if this CustomEnchant can be applied to the given item
canApply(Material) - Method in class redempt.redlib.enchants.CustomEnchant
Checks whether this CustomEnchant applies to the given type
canBuild(Location, int, boolean, Predicate<Location>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Uses a Predicate to test each block where this structure would be built
canBuild(Location, int, int, int, int, boolean, Predicate<Location>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Uses a Predicate to test each block where this structure would be built
canBuild(Location, int, Predicate<Location>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Uses a Predicate to test each block where this structure would be built
canBuild(Location, Predicate<Location>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Uses a Predicate to test each block where this structure would be built
canBypass(Player, ProtectionPolicy.ProtectionType, Block) - Method in interface redempt.redlib.protection.BypassPolicy
Checks whether a player can bypass the given protection type for the given block
cancel() - Method in class redempt.redlib.misc.Task
Cancels this task, same as BukkitScheduler.cancelTask(int)
cancelParent() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
Cancels the event which caused this one - meaning the block will not be destroyed
cancelParent() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
Cancels the blocks from being moved altogether
cast(Class<T>) - Method in class redempt.redlib.json.JSONList
 
center(Block) - Static method in class redempt.redlib.misc.LocationUtils
Returns the Location at the center of a Block - shorthand
center(Location) - Static method in class redempt.redlib.misc.LocationUtils
Sets the location's coordinates to the center point of its block coordinates, then returns it
ChainCommand - Class in redempt.redlib.dev
 
ChainCommand() - Constructor for class redempt.redlib.dev.ChainCommand
 
ChatPrompt - Class in redempt.redlib.misc
 
ChatPrompt.CancelReason - Enum Class in redempt.redlib.misc
 
ChunkPosition - Class in redempt.redlib.blockdata
Represents a world and chunk X and Z
ChunkPosition(int, int, String) - Constructor for class redempt.redlib.blockdata.ChunkPosition
Creates a ChunkPosition from chunk coordinates and a world name
ChunkPosition(Block) - Constructor for class redempt.redlib.blockdata.ChunkPosition
Creates a ChunkPosition from a Block
ChunkPosition(Chunk) - Constructor for class redempt.redlib.blockdata.ChunkPosition
Creates a ChunkPosition from a chunk
ChunkPosition(BlockPosition, String) - Constructor for class redempt.redlib.blockdata.ChunkPosition
 
clear() - Method in class redempt.redlib.blockdata.DataBlock
Clears all data from this DataBlock
clear() - Static method in class redempt.redlib.dev.profiler.TickMonitorProfiler
 
clear() - Method in class redempt.redlib.enchants.EnchantRegistry
Removes all CustomEnchants from this EnchantRegistry
clear() - Method in class redempt.redlib.inventorygui.InventoryGUI
Clears the inventory and its buttons
clear() - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes all items and buttons from the panel
clear() - Method in class redempt.redlib.misc.Hologram
Clears this Hologram
clear() - Method in class redempt.redlib.region.RegionMap
Clears all data from this RegionMap
clear() - Method in class redempt.redlib.sql.SQLCache
Clears the cache.
clear(CommandSender) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
clearAllCaches() - Method in class redempt.redlib.sql.SQLHelper
Calls SQLCache.clear() on all caches owned by this SQLHelper
clearBypassPolicies() - Method in class redempt.redlib.protection.ProtectionPolicy
Removes all bypass policies
clearComments() - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
clearDenyMessages() - Method in class redempt.redlib.protection.ProtectionPolicy
Clear all deny messages
clearSlot(int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Clears a single slot, removing a button if it is present
click(PlayerInteractEvent) - Method in class redempt.redlib.blockdata.custom.CustomBlock
Called when this CustomBlock is clicked.
clone() - Method in class redempt.redlib.dev.profiler.SampleSummary
 
clone() - Method in class redempt.redlib.misc.WeightedRandom
Creates a copy of this WeightedRandom
clone() - Method in class redempt.redlib.multiblock.Rotator
Gets a clone of this Rotator
clone() - Method in class redempt.redlib.region.CuboidRegion
Clones this Region
clone() - Method in class redempt.redlib.region.MultiRegion
Clones this MultiRegion
clone() - Method in class redempt.redlib.region.Region
 
clone() - Method in class redempt.redlib.region.SpheroidRegion
 
clone(SampleSummary) - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
cloneInventory(Inventory) - Static method in class redempt.redlib.itemutils.ItemUtils
Creates a mock inventory clone of the given inventory.
cloneOnGet() - Method in class redempt.redlib.itemutils.CustomItem
 
close() - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Closes and cleans up any connections if needed
close() - Method in class redempt.redlib.sql.SQLHelper
Closes the underlying connection this SQLHelper wraps
close() - Method in class redempt.redlib.sql.SQLHelper.Results
Closes the wrapped ResultSet.
closeSlot(int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Closes a slot so that items can't be placed in it
closeSlots(int, int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Closes slots so that items can't be placed in them
closeSlots(int, int, int, int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Closes slots so that items can't be placed in them
cluster(int) - Method in class redempt.redlib.region.MultiRegion
Smartly groups Regions in close proximity into clusters.
collapse(Player) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
CollectionConverter - Class in redempt.redlib.config.conversion
A converter which saves and loads contents of a collection
CollectionConverter() - Constructor for class redempt.redlib.config.conversion.CollectionConverter
 
combine(Map<CustomEnchant, Integer>, Map<CustomEnchant, Integer>) - Method in class redempt.redlib.enchants.EnchantRegistry
Combines two maps of CustomEnchants to their levels, in the same way that normal enchantments would be combined at an anvil
COMBUST - Enum constant in enum class redempt.redlib.blockdata.events.DataBlockDestroyEvent.DestroyCause
 
commandChain(CommandSender, String) - Method in class redempt.redlib.dev.ChainCommand
 
Comment - Annotation Interface in redempt.redlib.config.annotations
Used to denote comments which should be applied to a config path.
Comments - Annotation Interface in redempt.redlib.config.annotations
A wrapper for multiple Comment annotations
commit() - Method in class redempt.redlib.sql.SQLHelper
Flushes all caches and commits the transaction
compare(Block, boolean, boolean) - Method in class redempt.redlib.multiblock.StructureData
Compares this StructureData to a Block
compare(ItemStack, ItemStack) - Method in enum class redempt.redlib.itemutils.ItemTrait
Compares this trait on the two items
compare(ItemStack, ItemStack) - Static method in class redempt.redlib.itemutils.ItemUtils
Compares the type, name, and lore of two items
compare(ItemStack, ItemStack, ItemTrait...) - Static method in class redempt.redlib.itemutils.ItemUtils
Compares the traits of two items
compare(StructureData, Block, Rotator) - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
ConfigConstructor - Annotation Interface in redempt.redlib.config.annotations
Denotes a constructor which can be used to initialize the object from config.
ConfigField - Class in redempt.redlib.config
Wraps a Field and stores the name which should be used to store its value in config
ConfigField(Field) - Constructor for class redempt.redlib.config.ConfigField
Constructs a ConfigField from a field
ConfigManager - Class in redempt.redlib.config
Serializes and deserializes configuration data into objects and fields
ConfigMappable - Annotation Interface in redempt.redlib.config.annotations
Indicates that a class can be automatically serialized to config
ConfigName - Annotation Interface in redempt.redlib.config.annotations
Specifies the name that should be used to access and set a value in config
ConfigPath - Annotation Interface in redempt.redlib.config.annotations
Indicates that a field should be populated with the last element of the path to its location in config
ConfigPostInit - Annotation Interface in redempt.redlib.config.annotations
Indicates that a method should be run when an object is deserialized from config
ConfigSubclassable - Annotation Interface in redempt.redlib.config.annotations
Indicates that this type can be subclassed and stored in config, its type will be stored alongside its metadata
ConfigType<T> - Class in redempt.redlib.config
Represents a type and its type parameters
ConfigType(Class<T>) - Constructor for class redempt.redlib.config.ConfigType
Constructs a ConfigType with no component types
ConfigType(Class<T>, List<ConfigType<?>>) - Constructor for class redempt.redlib.config.ConfigType
Constructs a ConfigType from a base class type and a list of component ConfigTypes
ConfigurationSectionDataHolder - Class in redempt.redlib.config.data
 
ConfigurationSectionDataHolder(ConfigurationSection) - Constructor for class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
ConstructorInstantiator - Class in redempt.redlib.config.instantiation
An instantiator used for record types which passes in all necessary fields
CONTAINER_ACCESS - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players opening containers
contains(String) - Method in class redempt.redlib.blockdata.DataBlock
Checks if a certain key is used in this DataBlock
contains(Block) - Method in class redempt.redlib.region.Region
Checks whether a Block is contained by this Region
contains(Location) - Method in class redempt.redlib.region.CuboidRegion
Check whether a location is inside this Region
contains(Location) - Method in class redempt.redlib.region.MultiRegion
Checks whether this MultiRegion contains the given Location
contains(Location) - Method in class redempt.redlib.region.Region
Determines if this Region contains a Location
contains(Location) - Method in class redempt.redlib.region.SpheroidRegion
Checks if this SpheroidRegion contains a given point
ConversionManager - Class in redempt.redlib.config
 
ConversionManager(Plugin) - Constructor for class redempt.redlib.config.ConversionManager
 
count(Inventory, ItemStack) - Static method in class redempt.redlib.itemutils.ItemUtils
Counts the number of the given item in the given inventory
count(Inventory, ItemStack, BiPredicate<ItemStack, ItemStack>) - Static method in class redempt.redlib.itemutils.ItemUtils
Counts the number of the given item in the given inventory
count(Inventory, Material) - Static method in class redempt.redlib.itemutils.ItemUtils
Counts the number of items of the given type in the given inventory
countAndRemove(Inventory, ItemStack) - Static method in class redempt.redlib.itemutils.ItemUtils
Remove all matching items, returning the number that were removed
countAndRemove(Inventory, ItemStack, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Remove all matching items up to a maximum, returning the number that were removed
countAndRemove(Inventory, ItemStack, int, BiPredicate<ItemStack, ItemStack>) - Static method in class redempt.redlib.itemutils.ItemUtils
Remove all matching items up to a maximum, returning the number that were removed
countAndRemove(Inventory, Material) - Static method in class redempt.redlib.itemutils.ItemUtils
Remove all items of a specified type, returning the number that were removed
countAndRemove(Inventory, Material, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Remove all matching items up to a maximum, returning the number that were removed
create() - Static method in class redempt.redlib.config.conversion.NativeConverter
Creates a native type converter
create(InputStream, String) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Creates a MultiBlockStructure instance from an input stream containing the info string
create(InputStream, String, boolean) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Creates a MultiBlockStructure instance from an input stream containing the info string
create(InputStream, String, boolean, boolean) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Creates a MultiBlockStructure instance from an input stream containing the info string
create(Class<?>) - Static method in class redempt.redlib.config.conversion.EnumConverter
Creates an enum converter
create(Type) - Static method in class redempt.redlib.config.ConfigType
Creates a ConfigType from an arbitrary Type
create(String, String) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Creates a MultiBlockStructure instance from an info string
create(String, String, boolean) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Creates a MultiBlockStructure instance from an info string
create(String, String, boolean, boolean) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Creates a MultiBlockStructure instance from an info string
create(Function<String, T>, Function<T, String>) - Static method in class redempt.redlib.config.conversion.PrimitiveConverter
Creates a StringConverter which saves values directly rather than as strings
create(Function<String, T>, Function<T, String>) - Static method in interface redempt.redlib.config.conversion.StringConverter
Creates a StringConverter using a loading function and a saving function
create(ItemStack, BiConsumer<InventoryClickEvent, ItemButton>) - Static method in class redempt.redlib.inventorygui.ItemButton
Create an ItemButton from the given ItemStack and listener.
create(ItemStack, Consumer<InventoryClickEvent>) - Static method in class redempt.redlib.inventorygui.ItemButton
Create an ItemButton from the given ItemStack and listener.
create(Location, String...) - Static method in class redempt.redlib.misc.Hologram
Creates a Hologram
create(Plugin) - Static method in class redempt.redlib.config.ConfigManager
Creates a ConfigManager for the default config in a plugin's data folder, called config.yml
create(Plugin, File) - Static method in class redempt.redlib.config.ConfigManager
Creates a ConfigManager targetting a specific config file, which will be created if it does not exist
create(Plugin, String) - Static method in class redempt.redlib.config.ConfigManager
Creates a ConfigManager for a file in a plugin's data folder
create(Plugin, Path) - Static method in class redempt.redlib.config.ConfigManager
Creates a ConfigManager targetting a specific config file, which will be created if it does not exist
create(ConversionManager, Class<?>) - Static method in class redempt.redlib.config.conversion.StaticRootConverter
Creates a static root converter
create(ConversionManager, Class<T>, boolean) - Static method in class redempt.redlib.config.conversion.SubclassConverter
Creates a TypeConverter that can convert subclasses
create(ConversionManager, ConfigType<?>) - Static method in class redempt.redlib.config.conversion.CollectionConverter
Creates a collection converter
create(ConversionManager, ConfigType<?>) - Static method in class redempt.redlib.config.conversion.MapConverter
Creates a MapConverter
create(ConversionManager, ConfigType<?>) - Static method in class redempt.redlib.config.conversion.ObjectConverter
Creates an object converter
createArray(int) - Method in class redempt.redlib.nms.NMSClass
Creates an array of this class type
createAuto(Plugin, Path, boolean, boolean) - Static method in class redempt.redlib.blockdata.BlockDataManager
Creates a BlockDataManager backed by SQLite if the server is running a version lower than 1.14, and chunk PersistentDataContainers otherwise
createCache(String, String, String...) - Method in class redempt.redlib.sql.SQLHelper
Creates and adds cache for a certain column
createDefault(Class<?>) - Static method in class redempt.redlib.config.instantiation.ConstructorInstantiator
Attempts to create an Instantiator for a record type, or a class which has a constructor taking all its fields in the same order they appear in the class
createPDC(Plugin, boolean, boolean) - Static method in class redempt.redlib.blockdata.BlockDataManager
Creates a BlockDataManager backed by chunk PersistentDataContainers
createSQLite(Plugin, Path, boolean, boolean) - Static method in class redempt.redlib.blockdata.BlockDataManager
Creates a BlockDataManager backed by SQLite
createStructure(Player, String) - Method in class redempt.redlib.dev.StructureTool
 
createSubsection(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
createSubsection(String) - Method in interface redempt.redlib.config.data.DataHolder
Creates a subsection of this DataHolder
createSubsection(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
createSubsection(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
cubeRadius(Location, int) - Static method in class redempt.redlib.region.CuboidRegion
Gets a Region covering a cubic radius centered around a Location
CuboidRegion - Class in redempt.redlib.region
Represents a cuboid region in a world
CuboidRegion() - Constructor for class redempt.redlib.region.CuboidRegion
 
CuboidRegion(Location, Location) - Constructor for class redempt.redlib.region.CuboidRegion
Construct a Region using 2 corners
CuboidRegion.RegionState - Class in redempt.redlib.region
Represents a state of a Region, not necessarily at the current point in time
CustomBlock - Class in redempt.redlib.blockdata.custom
Represents an instance of a CustomBlockType.
CustomBlock(CustomBlockType<?>, DataBlock) - Constructor for class redempt.redlib.blockdata.custom.CustomBlock
 
CustomBlockPlaceEvent - Class in redempt.redlib.blockdata.events
Called when a CustomBlock is placed by a Player
CustomBlockPlaceEvent(Block, ItemStack, CustomBlockType<?>, Player) - Constructor for class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
Constructs a new CustomBlockPlaceEvent
CustomBlockRegistry - Class in redempt.redlib.blockdata.custom
Loads and registers CustomBlockTypes
CustomBlockRegistry(BlockDataManager) - Constructor for class redempt.redlib.blockdata.custom.CustomBlockRegistry
Construct a CustomBlockRegistry without passing a plugin.
CustomBlockRegistry(BlockDataManager, Plugin) - Constructor for class redempt.redlib.blockdata.custom.CustomBlockRegistry
Construct a CustomBlockRegistry, passing a plugin.
CustomBlockType<T extends CustomBlock> - Class in redempt.redlib.blockdata.custom
Represents a type of a CustomBlock that can be set
CustomBlockType(String) - Constructor for class redempt.redlib.blockdata.custom.CustomBlockType
Construct a CustomBlockType with the type name.
CustomEnchant - Class in redempt.redlib.enchants
Represents a custom enchantment created by another plugin
CustomEnchant(String, int) - Constructor for class redempt.redlib.enchants.CustomEnchant
Constructs a new CustomEnchant
CustomItem - Class in redempt.redlib.itemutils
Represents a custom item with special behavior
CustomItem(String) - Constructor for class redempt.redlib.itemutils.CustomItem
A constructor that should only be called by CustomItem.getAll(Plugin)

D

damage(ItemStack, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Damages an item
data - Variable in class redempt.redlib.blockdata.DataBlock
 
data - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
DataBlock - Class in redempt.redlib.blockdata
Represents a Block with data attached to it
DataBlockDestroyEvent - Class in redempt.redlib.blockdata.events
Called when a DataBlock is destroyed
DataBlockDestroyEvent(DataBlock, Event, DataBlockDestroyEvent.DestroyCause) - Constructor for class redempt.redlib.blockdata.events.DataBlockDestroyEvent
Creates a new BlockDataDestroyEvent
DataBlockDestroyEvent.DestroyCause - Enum Class in redempt.redlib.blockdata.events
 
DataBlockMoveEvent - Class in redempt.redlib.blockdata.events
Called when a DataBlock is moved by pistons
DataBlockMoveEvent(DataBlock, Block, Event) - Constructor for class redempt.redlib.blockdata.events.DataBlockMoveEvent
Creates a DataBlockMoveEvent
DataHolder - Interface in redempt.redlib.config.data
An arbitrary data structure which can map keys to values
DEATH - Enum constant in enum class redempt.redlib.region.events.RegionExitEvent.ExitCause
When a player dies in a region
decluster() - Method in class redempt.redlib.region.MultiRegion
Flattens any clusters in this MultiRegion so that it is composed only of cuboid Regions
defaultAppliesTo(Material) - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
Returns whether this EnchantTrigger applies to the given type by default
defaultAppliesTo(Material) - Method in class redempt.redlib.enchants.trigger.KillEntityTrigger
 
delayedTeleport(Player, Location, int) - Static method in class redempt.redlib.misc.LocationUtils
Initiates a delayed teleport for a player which will be cancelled if the player moves.
delayedTeleport(Player, Location, int, Consumer<Boolean>) - Static method in class redempt.redlib.misc.LocationUtils
Initiates a delayed teleport for a player which will be cancelled if the player moves.
delete(Object...) - Method in class redempt.redlib.sql.SQLCache
Deletes a row from the table by its primary keys, and removes it from the cache.
destroy() - Method in class redempt.redlib.inventorygui.InventoryGUI
Remove this inventory as a listener and clean everything up to prevent memory leaks.
destroy(Player) - Method in class redempt.redlib.inventorygui.InventoryGUI
Remove this inventory as a listener and clean everything up to prevent memory leaks.
destroysOnClose() - Method in class redempt.redlib.inventorygui.InventoryGUI
Returns whether this GUI is destroyed when it has been closed by all viewers
devMode - Static variable in class redempt.redlib.RedLibConfig
 
dimX - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
dimY - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
dimZ - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
DIRECT_PLAYERS - Static variable in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
All protection types relating to actions taken directly by players - Breaking, placing, and interacting with blocks
directPathfind(Block, Block, int) - Static method in class redempt.redlib.misc.LocationUtils
Finds the fastest path between a starting and ending location using A*, then removes unneeded steps for straight
directPathfind(Block, Block, int, Predicate<Block>) - Static method in class redempt.redlib.misc.LocationUtils
Finds the fastest path between a starting and ending location using A*, then removes unneeded steps for straight
disable() - Method in class redempt.redlib.protection.ProtectionPolicy
Disables all protections for this ProtectionPolicy
disableEvents() - Method in class redempt.redlib.region.Region
Disable RegionEnterEvent and RegionExitEvent for this region
DISPENSER_PLACE - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Dispenser events which may modify blocks
DISPENSER_PLACE_IN - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Dispenser events which may modify blocks inside the protected area from outside it
DURABILITY - Enum constant in enum class redempt.redlib.itemutils.ItemTrait
For comparing the durability of two items

E

EmptyInstantiator - Class in redempt.redlib.config.instantiation
An Instantiator which uses an empty constructor, then populates fields and invokes a post-init method
EmptyInstantiator() - Constructor for class redempt.redlib.config.instantiation.EmptyInstantiator
 
enable() - Static method in class redempt.redlib.dev.StructureTool
 
enable() - Method in class redempt.redlib.protection.ProtectionPolicy
Enables all protections specified for this ProtectionPolicy
enableEvents() - Method in class redempt.redlib.region.Region
Enable RegionEnterEvent and RegionExitEvent for this region
EnchantInfo - Class in redempt.redlib.enchants
Represents a CustomEnchant and level
EnchantInfo(CustomEnchant, int) - Constructor for class redempt.redlib.enchants.EnchantInfo
Constructs an EnchantInfo from a CustomEnchant and level
ENCHANTMENTS - Enum constant in enum class redempt.redlib.itemutils.ItemTrait
For comparing the enchantments of two items
EnchantRegistry - Class in redempt.redlib.enchants
A registry for custom enchantments owned by a single plugin
EnchantRegistry(Plugin) - Constructor for class redempt.redlib.enchants.EnchantRegistry
Instantiates a new EnchantRegistry with a namer that prepends the gray chat color
EnchantRegistry(Plugin, String) - Constructor for class redempt.redlib.enchants.EnchantRegistry
Instantiates a new EnchantRegistry
EnchantRegistry(Plugin, Function<CustomEnchant, String>) - Constructor for class redempt.redlib.enchants.EnchantRegistry
Instantiates a new EnchantRegistry
EnchantTrigger<T extends org.bukkit.event.Event> - Class in redempt.redlib.enchants.trigger
Represents a trigger for a CustomEnchant which will smartly pass relevant events
EnchantTrigger() - Constructor for class redempt.redlib.enchants.trigger.EnchantTrigger
 
end - Variable in class redempt.redlib.region.CuboidRegion
 
end() - Method in class redempt.redlib.dev.profiler.BurstProfiler
 
end() - Method in class redempt.redlib.dev.profiler.PassiveProfiler
 
end() - Method in class redempt.redlib.dev.profiler.Profiler
 
ENTITY - Enum constant in enum class redempt.redlib.blockdata.events.DataBlockDestroyEvent.DestroyCause
 
ENTITY_EXPLOSION - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Entities exploding
ENTITY_FORM_BLOCK - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Snow golems placing snow, frost walker
EntityPersistor<T extends org.bukkit.entity.Entity> - Class in redempt.redlib.misc
An Entity in Spigot may not persist if the entity it refers to is unloaded, then loaded again at a later time.
EnumConverter - Class in redempt.redlib.config.conversion
A converter which converts enum values
EnumConverter() - Constructor for class redempt.redlib.config.conversion.EnumConverter
 
equals(Object) - Method in class redempt.redlib.blockdata.ChunkPosition
 
equals(Object) - Method in class redempt.redlib.config.ConfigField
 
equals(Object) - Method in class redempt.redlib.config.ConfigType
 
equals(Object) - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
equals(Object) - Method in class redempt.redlib.region.MultiRegion
Determines whether this MultiRegion is equal to another Object based on its MultiRegion.getRegions()
equals(Object) - Method in class redempt.redlib.region.Region
Determines whether this Region equals another Object based on Region.getStart() and Region.getEnd()
equals(Object) - Method in class redempt.redlib.region.SpheroidRegion
Determines whether this SpheroidRegion equals another object based on its SpheroidRegion.getCenter(), SpheroidRegion.getXRadius(), SpheroidRegion.getYRadius(), and SpheroidRegion.getZRadius()
EQUIP_ARMOR - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with a PlayerChangedArmorEvent when a player equips armor that has a CustomEnchant with this trigger Also calls activate when a player joins wearing armor with this trigger Calls deactivate with a PlayerChangedArmorEvent when a player unequips armor that has a CustomEnchant with this trigger Also calls deactivate when a player leaves wearing armor with this trigger
EventItems - Class in redempt.redlib.enchants
Represents the items related to an event, for handling by enchantments
EventItems(Event, ItemStack) - Constructor for class redempt.redlib.enchants.EventItems
 
EventItems(Event, ItemStack[]) - Constructor for class redempt.redlib.enchants.EventItems
 
EventItems(Event, ItemStack[], ItemStack[]) - Constructor for class redempt.redlib.enchants.EventItems
 
EventItems(Event, ItemStack, ItemStack) - Constructor for class redempt.redlib.enchants.EventItems
 
EventListener<T extends org.bukkit.event.Event> - Class in redempt.redlib.misc
A compact way to define a Listener using a lambda
EventListener(Class<T>, BiConsumer<EventListener<T>, T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Class<T>, Consumer<T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Class<T>, EventPriority, BiConsumer<EventListener<T>, T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Class<T>, EventPriority, Consumer<T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Plugin, Class<T>, BiConsumer<EventListener<T>, T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Plugin, Class<T>, Consumer<T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Plugin, Class<T>, EventPriority, BiConsumer<EventListener<T>, T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
EventListener(Plugin, Class<T>, EventPriority, Consumer<T>) - Constructor for class redempt.redlib.misc.EventListener
Creates and registers a Listener for the given event
events - Variable in class redempt.redlib.enchants.trigger.EnchantTrigger
 
execute(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed
executeUpdate(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed
expand(double) - Method in class redempt.redlib.region.CuboidRegion
Expands the region in all directions, or retracts if negative.
expand(double) - Method in class redempt.redlib.region.SpheroidRegion
Expands this SpheroidRegion in all directions
expand(double, double, double, double, double, double) - Method in class redempt.redlib.region.CuboidRegion
Expands the region, or retracts where negative values are passed
expand(double, double, double, double, double, double) - Method in class redempt.redlib.region.MultiRegion
Expands the region, or retracts if negative.
expand(double, double, double, double, double, double) - Method in class redempt.redlib.region.Region
Expands this Region by a specified amount in each direction
expand(double, double, double, double, double, double) - Method in class redempt.redlib.region.SpheroidRegion
Expands this SpheroidRegion in all directions
expand(BlockFace, double) - Method in class redempt.redlib.region.CuboidRegion
Expand the region in a given direction, or retracts if negative.
expand(BlockFace, double) - Method in class redempt.redlib.region.MultiRegion
Expands the MultiRegion in a given direction, or retracts if negative.
expand(BlockFace, double) - Method in class redempt.redlib.region.Region
Expands this Region in a specific direction
expand(BlockFace, double) - Method in class redempt.redlib.region.SpheroidRegion
Expands this SpheroidRegion in a specific direction
EXPLOSION - Enum constant in enum class redempt.redlib.blockdata.events.DataBlockDestroyEvent.DestroyCause
 
export(Player, String) - Method in class redempt.redlib.dev.StructureTool
 

F

FADE - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Blocks fading
FALLING_BLOCK - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
FallingBlock entities turning into solid blocks (sand, gravel)
FieldSummary - Class in redempt.redlib.config.instantiation
Represents a summary of the relevant fields, converters, and other info required to load objects from config
fill(int, int, int, int, ItemStack) - Method in class redempt.redlib.inventorygui.InventoryGUI
Fill a section of the inventory with the given item
fill(int, int, ItemStack) - Method in class redempt.redlib.inventorygui.InventoryGUI
Fill a section of the inventory with the given item
FILLER - Static variable in class redempt.redlib.inventorygui.InventoryGUI
A gray stained glass pane with no name.
findInside(CuboidRegion) - Static method in class redempt.redlib.region.RegionUtils
Finds the spaces within a Region that can be considered "inside" - space that is surrounded by other blocks
FIRE - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Fire destroying blocks
fixStands() - Method in class redempt.redlib.misc.Hologram
Removes and re-adds all armor stands in this Hologram
FLOW - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Lava and water flowing
FLOW_IN - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Lava an water flowing from unprotected areas into protected areas
flush() - Method in class redempt.redlib.sql.SQLCache
Flushes the cache, saving all changes that were made.
flush(Object...) - Method in class redempt.redlib.sql.SQLCache
Flushes a single value from the cache, saving changes that were made to it
flushAllCaches() - Method in class redempt.redlib.sql.SQLHelper
Calls SQLCache.flush() on all caches owned by this SQLHelper
flushAndRemoveFromMatchingCaches(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Finds matching caches by a pattern and flushes, then removes a specific entry from them.
flushMatchingCaches(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Finds matching caches by a pattern and flushes a specific entry from them.
forEach(Consumer<SQLHelper.Results>) - Method in class redempt.redlib.sql.SQLHelper.Results
Performs an operation on every row in these Results, passing itself each time it iterates to a new row
forEachBlock(Consumer<Block>) - Method in class redempt.redlib.region.CuboidRegion
Run a lambda on every Block in this Region
forEachBlock(Consumer<Block>) - Method in class redempt.redlib.region.Region
Streams every Block in this Region, running your lambda on it
forEachBlock(Location, int, boolean, Consumer<BlockState>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Iterates each block which would be set if this structure is built
forEachBlock(Location, int, int, int, int, boolean, Consumer<BlockState>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Iterates each block which would be set if this structure is built
forEachBlock(Location, int, Consumer<BlockState>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Iterates each block which would be set if this structure is built
forEachBlock(Location, Consumer<BlockState>) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Iterates each block which would be set if this structure is built
fromCollection(Collection<K>, Function<K, T>, ToDoubleFunction<K>) - Static method in class redempt.redlib.misc.WeightedRandom
Creates a WeightedRandom from a collection
fromDoubleMap(Map<T, Double>) - Static method in class redempt.redlib.misc.WeightedRandom
Create a new WeightedRandom from a map of outcomes to their weights
fromIntMap(Map<T, Integer>) - Static method in class redempt.redlib.misc.WeightedRandom
Create a new WeightedRandom from a map of outcomes to their weights
fromLoreLine(String) - Method in class redempt.redlib.enchants.EnchantRegistry
Gets a CustomEnchant and its level from a line of lore
fromRomanNumerals(String) - Static method in class redempt.redlib.enchants.CustomEnchant
Converts roman numeral string, between 1 and 10, back to a number
fromString(String) - Method in interface redempt.redlib.config.conversion.StringConverter
Converts from a string
fromString(String) - Static method in class redempt.redlib.itemutils.ItemUtils
Constructs an ItemStack from a previously-serialized JSON string
fromString(String) - Static method in class redempt.redlib.misc.LocationUtils
Converts a String back to a Location.
fromString(String) - Static method in class redempt.redlib.region.CuboidRegion
Converts a String generated by CuboidRegion.toString() back to a Region
fromString(String) - Static method in class redempt.redlib.region.MultiRegion
Turns a String generated by MultiRegion.toString() back into a MultiRegion
fromString(String) - Static method in class redempt.redlib.region.SpheroidRegion
Deserializes a SpheroidRegion serialized with SpheroidRegion.toString()
fromString(String, String) - Static method in class redempt.redlib.misc.LocationUtils
Converts a String back to a Location
fromString(String, Function<String, T>) - Static method in class redempt.redlib.misc.WeightedRandom
Deserializes a string to create a WeightedRandom
fromStringLater(String, String, Consumer<Location>) - Static method in class redempt.redlib.misc.LocationUtils
Loads a Location from a String.
fromStringLater(String, Consumer<Location>) - Static method in class redempt.redlib.misc.LocationUtils
Loads a Location from a String.

G

get() - Method in class redempt.redlib.config.ConfigField
Attemps to get the value of the field in a static context
get() - Method in class redempt.redlib.misc.EntityPersistor
Gets the Entity held in this EntityPersistor.
get(int) - Method in class redempt.redlib.nms.NMSArray
Gets a wrapped NMSObject with the value at a certain index in the array
get(int) - Method in class redempt.redlib.sql.SQLHelper.Results
Gets an Object in the given column in the current row
get(Object) - Method in class redempt.redlib.config.ConfigField
Attempts to get the field's value for a given object
get(Field) - Static method in class redempt.redlib.config.ConfigType
Gets the ConfigType of a specific Field
get(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
get(String) - Method in interface redempt.redlib.config.data.DataHolder
Gets the object mapped to the given path
get(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
get(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
get(Block) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Gets a CustomBlock of this type at the given block
get(Location) - Method in class redempt.redlib.region.RegionMap
Gets all objects mapped to an approximate location
get(Plugin) - Static method in class redempt.redlib.enchants.EnchantRegistry
Gets the EnchantRegistry owned by the given plugin
get(DataBlock) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Gets a CustomBlock of this type from the given DataBlock
getAfter() - Method in class redempt.redlib.enchants.EventItems
 
getAll() - Method in class redempt.redlib.region.RegionMap
 
getAll(Plugin) - Static method in class redempt.redlib.itemutils.CustomItem
Gets an instance of every class which extends CustomItem in your plugin, and puts them in a map by name Note: Custom item classes MUST have a default constructor which takes no arguments to be loaded by this method
getAllLoaded() - Method in class redempt.redlib.blockdata.BlockDataManager
 
getAllRegistries() - Static method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
getArgType() - Method in class redempt.redlib.dev.ChainCommand
 
getArgTypes(Object...) - Static method in class redempt.redlib.nms.NMSHelper
Gets the class list of argument types for finding methods
getAt(Location) - Static method in class redempt.redlib.misc.Hologram
Attempts to get a Hologram at a specified location
getAt(Location) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Structure at the given block, if it exists.
getAt(Location, int, int, int, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Structure at the given block, if it exists.
getBaseItemName() - Method in class redempt.redlib.blockdata.custom.CustomBlockType
 
getBefore() - Method in class redempt.redlib.enchants.EventItems
 
getBlock() - Method in class redempt.redlib.blockdata.custom.CustomBlock
 
getBlock() - Method in class redempt.redlib.blockdata.DataBlock
 
getBlock() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
getBlock() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
getBlock() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
Gets the Block this StructureBlock references
getBlock(Block) - Method in class redempt.redlib.multiblock.Structure
Gets a relative block in this Structure from an absolute block in the world
getBlockDimensions() - Method in class redempt.redlib.region.Region
Get the dimensions of this Region [x, y, z] in blocks
getBlockPosition() - Method in class redempt.redlib.blockdata.DataBlock
 
getBlocks() - Method in class redempt.redlib.multiblock.Structure
Get all blocks in this Structure
getBlocks() - Method in class redempt.redlib.region.CuboidRegion.RegionState
Gets all the BlockStates in this RegionState
getBlockVolume() - Method in class redempt.redlib.region.CuboidRegion
 
getBlockVolume() - Method in class redempt.redlib.region.MultiRegion
Sums the block volume of all the Regions that make up this MultiRegion.
getBlockVolume() - Method in class redempt.redlib.region.Region
 
getBlockVolume() - Method in class redempt.redlib.region.SpheroidRegion
 
getBoolean(int) - Method in class redempt.redlib.json.JSONList
 
getBoolean(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets a Boolean by key
getBoolean(String) - Method in class redempt.redlib.json.JSONMap
 
getBounds() - Method in class redempt.redlib.protection.ProtectionPolicy
 
getButton(int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Gets the ItemButton in a given slot
getButtons() - Method in class redempt.redlib.inventorygui.InventoryGUI
 
getButtons() - Method in class redempt.redlib.inventorygui.PaginationPanel
 
getByName(String) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
Gets a CustomBlockType by name
getByName(String) - Method in class redempt.redlib.enchants.EnchantRegistry
Gets a CustomEnchant by its name or ID
getBytes(int) - Method in class redempt.redlib.sql.SQLHelper.Results
Gets the bytes in the given column in the current row
getByType(Material) - Method in class redempt.redlib.multiblock.Structure
Gets all blocks of the given type in this Structure
getCaches() - Method in class redempt.redlib.sql.SQLHelper
 
getCallingPlugin() - Static method in class redempt.redlib.RedLib
Gets the plugin that called the calling method of this method
getCause() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
getCause() - Method in class redempt.redlib.region.events.RegionEnterEvent
 
getCause() - Method in class redempt.redlib.region.events.RegionExitEvent
 
getCenter() - Method in class redempt.redlib.region.Region
 
getCenter() - Method in class redempt.redlib.region.SpheroidRegion
 
getChildren() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getChunk() - Method in class redempt.redlib.blockdata.ChunkPosition
Gets the chunk
getChunkCoordinates(Location) - Static method in class redempt.redlib.misc.LocationUtils
Gets the chunk X and Z of a location
getChunkPosition() - Method in class redempt.redlib.blockdata.DataBlock
 
getChunks() - Method in class redempt.redlib.region.Region
 
getClass(String) - Static method in class redempt.redlib.nms.NMSHelper
Gets any class and wraps it in an NMSClass
getColumnCount() - Method in class redempt.redlib.sql.SQLHelper.Results
Gets the column count from the returned data
getColumnName() - Method in class redempt.redlib.sql.SQLCache
 
getComments() - Method in class redempt.redlib.config.ConfigField
 
getComments() - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
getComments(Field) - Static method in class redempt.redlib.config.instantiation.FieldSummary
Gets the comments applied to a field
getComments(Parameter) - Static method in class redempt.redlib.config.instantiation.FieldSummary
Gets the comments applied to a parameter
getComponentTypes() - Method in class redempt.redlib.config.ConfigType
 
getConfig() - Method in class redempt.redlib.config.ConfigManager
 
getConfigPath() - Method in class redempt.redlib.config.instantiation.FieldSummary
 
getConfigPathConverter() - Method in class redempt.redlib.config.instantiation.FieldSummary
 
getConnection() - Method in class redempt.redlib.sql.SQLHelper
 
getConstructor(Class<?>, Class<?>[]) - Static method in class redempt.redlib.nms.NMSHelper
Gets a constructor by its parameter types, accounts for cases where the given class might not be the exact same type as the parameter the method requires, but is a subclass.
getConversionManager() - Method in class redempt.redlib.config.ConfigManager
 
getConverter(ConfigType<T>) - Method in class redempt.redlib.config.ConversionManager
Gets the TypeConverter for a given type
getConverters() - Method in class redempt.redlib.config.instantiation.FieldSummary
 
getCorners() - Method in class redempt.redlib.region.Region
 
getCount() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getCustom(DataBlock) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Defines a custom return for a class extending CustomBlock
getCustomBlock(Block) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
Gets a CustomBlock instance with the correct CustomBlockType
getCustomBlockType() - Method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
getData() - Method in class redempt.redlib.blockdata.DataBlock
 
getData(int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the data of this structure at a given relative location
getData(Location, int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the data of this structure at a given relative location, set with a BlockState at the given location
getDataBlock() - Method in class redempt.redlib.blockdata.custom.CustomBlock
 
getDataBlock() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
getDataBlock() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
getDataBlock(Block) - Method in class redempt.redlib.blockdata.BlockDataManager
Gets a DataBlock, creating one if it doesn't exist
getDataBlock(Block, boolean) - Method in class redempt.redlib.blockdata.BlockDataManager
Gets a DataBlock for the given Block
getDataBlockAsync(Block, boolean) - Method in class redempt.redlib.blockdata.BlockDataManager
Asynchronously retrieves a DataBlock
getDefaultItem() - Method in class redempt.redlib.itemutils.CustomItem
 
getDepth() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getDestination() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
getDimensions() - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the dimensions of this multi-block structure.
getDimensions() - Method in class redempt.redlib.region.Region
Get the dimensions of this Region [x, y, z]
getDirect(int) - Method in class redempt.redlib.nms.NMSArray
Gets the object at the given index in the wrapped array
getDirection(BlockFace) - Static method in class redempt.redlib.misc.LocationUtils
Gets the Vector direction of a BlockFace.
getDisplayName() - Method in class redempt.redlib.enchants.CustomEnchant
 
getDisplayName(CustomEnchant) - Method in class redempt.redlib.enchants.EnchantRegistry
Gets the display name of a CustomEnchant
getDouble(int) - Method in class redempt.redlib.json.JSONList
 
getDouble(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets a Double by key
getDouble(String) - Method in class redempt.redlib.json.JSONMap
 
getDouble(ItemStack, String) - Method in class redempt.redlib.itemutils.LoreStats
Gets a double stat from lore
getDouble(ItemStack, String, double) - Method in class redempt.redlib.itemutils.LoreStats
Gets a double stat from lore
getDrops(T) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
 
getDuration() - Method in class redempt.redlib.dev.profiler.SampleSummary
 
getEnchant() - Method in class redempt.redlib.enchants.EnchantInfo
 
getEnchantArgType(String) - Method in class redempt.redlib.enchants.EnchantRegistry
Gets the ArgType for CustomEnchants in this registry, with tab completion using IDs
getEnchants() - Method in class redempt.redlib.enchants.EnchantRegistry
 
getEnchants(ItemStack) - Method in class redempt.redlib.enchants.EnchantRegistry
Gets all the CustomEnchants on an item
getEnd() - Method in class redempt.redlib.dev.profiler.SampleSummary
 
getEnd() - Method in class redempt.redlib.region.CuboidRegion
Get the maximum corner of this Region
getEnd() - Method in class redempt.redlib.region.MultiRegion
 
getEnd() - Method in class redempt.redlib.region.Region
 
getEnd() - Method in class redempt.redlib.region.SpheroidRegion
 
getEntities() - Method in class redempt.redlib.region.Region
Gets all entities contained in this Region in loaded chunks
getEntities(boolean) - Method in class redempt.redlib.region.Region
Gets all entities contained in this Region
getEvent() - Method in class redempt.redlib.enchants.EventItems
 
getEvents() - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
Gets the event listeners registered by this EnchantTrigger
getExtendingClasses(Plugin, Class<T>) - Static method in class redempt.redlib.RedLib
Gets all non-abstract, non-interface classes which extend a certain class within a plugin
getFace(BlockFace) - Method in class redempt.redlib.region.CuboidRegion
Gets a CuboidRegion representing a 1-block thick slice on a face of this Region
getField() - Method in class redempt.redlib.config.ConfigField
 
getField(int, String) - Method in class redempt.redlib.nms.NMSObject
Gets the value stored in a field in the wrapped object
getField(String) - Method in class redempt.redlib.nms.NMSObject
Gets the value stored in a field in the wrapped object
getFields() - Method in class redempt.redlib.config.instantiation.FieldSummary
 
getFieldSummary(ConversionManager, Class<?>, boolean) - Static method in class redempt.redlib.config.instantiation.FieldSummary
Generates a FieldSummary of a class
getFillerItem() - Method in class redempt.redlib.inventorygui.PaginationPanel
Gets the filler item
getHandlerList() - Static method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
getHandlerList() - Static method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
getHandlerList() - Static method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
getHandlerList() - Static method in class redempt.redlib.enchants.events.PlayerChangedArmorEvent
 
getHandlerList() - Static method in class redempt.redlib.enchants.events.PlayerChangedHeldItemEvent
 
getHandlerList() - Static method in class redempt.redlib.region.events.RegionEnterEvent
 
getHandlerList() - Static method in class redempt.redlib.region.events.RegionExitEvent
 
getHandlers() - Method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
getHandlers() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
getHandlers() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
getHandlers() - Method in class redempt.redlib.enchants.events.PlayerChangedArmorEvent
 
getHandlers() - Method in class redempt.redlib.enchants.events.PlayerChangedHeldItemEvent
 
getHandlers() - Method in class redempt.redlib.region.events.RegionEnterEvent
 
getHandlers() - Method in class redempt.redlib.region.events.RegionExitEvent
 
getId() - Method in class redempt.redlib.enchants.CustomEnchant
 
getIncompatible() - Method in class redempt.redlib.enchants.CustomEnchant
 
getInstance() - Static method in class redempt.redlib.RedLib
 
getInstance(Object...) - Method in class redempt.redlib.nms.NMSClass
Calls a constructor of this class with the given arguments
getInstantiator(Class<?>) - Static method in interface redempt.redlib.config.instantiation.Instantiator
Attemps to get the appropriate Instantiator for the given class type
getInt(int) - Method in class redempt.redlib.json.JSONList
 
getInt(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets an int by key
getInt(String) - Method in class redempt.redlib.json.JSONMap
 
getInt(ItemStack, String) - Method in class redempt.redlib.itemutils.LoreStats
Gets an int stat from lore
getInt(ItemStack, String, int) - Method in class redempt.redlib.itemutils.LoreStats
Gets an int stat from lore
getIntersection(Overlappable) - Method in class redempt.redlib.region.CuboidRegion
Gets the cuboid intersection of this Region and another cuboid Region
getIntersection(Overlappable) - Method in class redempt.redlib.region.MultiRegion
Gets a MultiRegion representing the overlap.
getIntersection(Overlappable) - Method in class redempt.redlib.region.Overlappable
Gets the intersection of this Overlappable with another
getInventory() - Method in class redempt.redlib.inventorygui.InventoryGUI
Gets the inventory this GUI is wrapping
getInverse() - Method in class redempt.redlib.multiblock.Rotator
Gets a Rotator which will negate the operations of this Rotator
getItem() - Method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
getItem() - Method in class redempt.redlib.inventorygui.ItemButton
Get the ItemStack representing the icon for this button
getItem() - Method in class redempt.redlib.itemutils.CustomItem
 
getItem() - Method in class redempt.redlib.region.SelectionTool
Gets the item used by this SelectionTool
getItem(T) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Gets the item to be dropped when this block is mined
getItems() - Method in class redempt.redlib.inventorygui.PaginationPanel
 
getKeys() - Method in class redempt.redlib.blockdata.DataBlock
 
getKeys() - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
getKeys() - Method in interface redempt.redlib.config.data.DataHolder
 
getKeys() - Method in class redempt.redlib.config.data.ListDataHolder
 
getKeys() - Method in class redempt.redlib.config.data.MapDataHolder
 
getLevel() - Method in class redempt.redlib.enchants.EnchantInfo
 
getLevel(ItemStack) - Method in class redempt.redlib.enchants.CustomEnchant
Gets the level of this CustomEnchant on an item
getLine(int) - Method in class redempt.redlib.misc.Hologram
 
getLines() - Method in class redempt.redlib.misc.Hologram
 
getLineSpacing() - Method in class redempt.redlib.misc.Hologram
 
getList(int) - Method in class redempt.redlib.json.JSONList
 
getList(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets a JSONList by key
getList(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
getList(String) - Method in interface redempt.redlib.config.data.DataHolder
Gets a list subsection
getList(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
getList(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
getList(String) - Method in class redempt.redlib.json.JSONMap
 
getLoaded(World, int, int) - Method in class redempt.redlib.blockdata.BlockDataManager
Gets the DataBlocks for a given chunk, if it is loaded already
getLoadedChunks() - Method in class redempt.redlib.region.Region
 
getLocation() - Method in class redempt.redlib.misc.Hologram
 
getLocation() - Method in class redempt.redlib.multiblock.Structure
Gets the location of this structure (will be a corner)
getLocations(UUID) - Method in class redempt.redlib.region.SelectionTool
Get the locations selected by the given player
getLong(int) - Method in class redempt.redlib.json.JSONList
 
getLong(int) - Method in class redempt.redlib.sql.SQLHelper.Results
Gets a Long in the given column in the current row
getLong(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets a long by key
getLong(String) - Method in class redempt.redlib.json.JSONMap
 
getLore(int) - Method in class redempt.redlib.enchants.CustomEnchant
Gets the lore that will be added to an item if this CustomEnchant is applied at the given level
getManager() - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
getManager() - Method in class redempt.redlib.blockdata.DataBlock
 
getMap(int) - Method in class redempt.redlib.json.JSONList
 
getMap(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets a JSONMap by key
getMap(String) - Method in class redempt.redlib.json.JSONMap
 
getMatchingCaches(String) - Method in class redempt.redlib.sql.SQLHelper
Gets the caches matching a pattern
getMaxLevel() - Method in class redempt.redlib.enchants.CustomEnchant
 
getMaxPage() - Method in class redempt.redlib.inventorygui.PaginationPanel
 
getMethod(Class<?>, String, Class<?>[]) - Static method in class redempt.redlib.nms.NMSHelper
Gets a method by its name and parameter types, accounts for cases where the given class might not be the exact same type as the parameter the method requires, but is a subclass.
getMethodsByName() - Method in class redempt.redlib.dev.profiler.SampleSummary
 
getName() - Method in class redempt.redlib.blockdata.custom.CustomBlockType
 
getName() - Method in class redempt.redlib.config.ConfigField
 
getName() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getName() - Method in class redempt.redlib.enchants.CustomEnchant
 
getName() - Method in class redempt.redlib.itemutils.CustomItem
 
getName() - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets this multi-block structure's name.
getName() - Method in class redempt.redlib.nms.NMSClass
 
getNearby(Location, int) - Method in class redempt.redlib.region.RegionMap
Gets all objects mapped near the given location
getNearestSafeLocation(Location, int) - Static method in class redempt.redlib.misc.LocationUtils
Gets the nearest safe location to the given location within the given distance
getNearestSafeLocation(Location, int, Predicate<Location>) - Static method in class redempt.redlib.misc.LocationUtils
Gets the nearest safe location to the given location within the given distance passing the given predicate check
getNewArmor() - Method in class redempt.redlib.enchants.events.PlayerChangedArmorEvent
 
getNewItem() - Method in class redempt.redlib.enchants.events.PlayerChangedHeldItemEvent
 
getNMSClass(String) - Static method in class redempt.redlib.nms.NMSHelper
Gets an NMS class (a class whose package is net.minecraft.server followed by the version package) by name.
getNMSPackage() - Static method in class redempt.redlib.nms.NMSHelper
Gets the full name of the NMS package
getNMSVersion() - Static method in class redempt.redlib.nms.NMSHelper
 
getObject() - Method in class redempt.redlib.nms.NMSObject
 
getObject(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets an object by key
getOfflinePlayer(String) - Static method in class redempt.redlib.misc.UserCache
Gets an OfflinePlayer by name, initializing the cache synchronously if it has not been initialized yet
getOpenSlots() - Method in class redempt.redlib.inventorygui.InventoryGUI
Gets the open slots
getPage() - Method in class redempt.redlib.inventorygui.PaginationPanel
 
getPageSize() - Method in class redempt.redlib.inventorygui.PaginationPanel
 
getParent() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
getParent() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
getParent() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getPath(UUID) - Method in class redempt.redlib.region.SelectionTool
Creates a path of Locations, one block apart, based on the locations selected by the player
getPath(Location) - Static method in class redempt.redlib.misc.Path
Get the locations from the start along a vector
getPath(Location, double) - Static method in class redempt.redlib.misc.Path
Get the locations from the start along a vector
getPath(Location, Location) - Static method in class redempt.redlib.misc.Path
Get the locations between the start and end location
getPath(Location, Location, double) - Static method in class redempt.redlib.misc.Path
Get the locations between the start and end location
getPath(Location, Vector) - Static method in class redempt.redlib.misc.Path
Get the locations from the start along a vector
getPath(Location, Vector, double) - Static method in class redempt.redlib.misc.Path
Get the locations from the start along a vector
getPath(Location, Vector, double, double) - Static method in class redempt.redlib.misc.Path
Get the locations from the start along a vector
getPercentages() - Method in class redempt.redlib.misc.WeightedRandom
Gets the chance each outcome has to occur in percentage (0-100)
getPlayer() - Method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
getPlayer() - Method in class redempt.redlib.region.events.RegionEnterEvent
 
getPlayer() - Method in class redempt.redlib.region.events.RegionExitEvent
 
getPlayers() - Method in class redempt.redlib.region.Region
Gets all players contained in this Region
getPlugin() - Method in class redempt.redlib.blockdata.BlockDataManager
 
getPlugin() - Method in class redempt.redlib.enchants.EnchantRegistry
 
getPlugin() - Method in class redempt.redlib.misc.Task
 
getPolicy() - Method in class redempt.redlib.protection.ProtectedRegion
 
getPostInit() - Method in class redempt.redlib.config.instantiation.FieldSummary
 
getPrevalence() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getPreviousArmor() - Method in class redempt.redlib.enchants.events.PlayerChangedArmorEvent
 
getPreviousItem() - Method in class redempt.redlib.enchants.events.PlayerChangedHeldItemEvent
 
getPrimaryKeyNames() - Method in class redempt.redlib.sql.SQLCache
 
getPriority() - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
 
getProfiler() - Static method in class redempt.redlib.dev.profiler.ProfilerCommands
 
getRegion() - Method in class redempt.redlib.multiblock.Structure
Gets the region this Structure occupies
getRegion() - Method in class redempt.redlib.protection.ProtectedRegion
 
getRegion() - Method in class redempt.redlib.region.events.RegionEnterEvent
 
getRegion() - Method in class redempt.redlib.region.events.RegionExitEvent
 
getRegion(UUID) - Method in class redempt.redlib.region.SelectionTool
Creates and returns a Region based on the locations selected by the player
getRegion(Location) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Region this multi-block structure would occupy, were it built here
getRegion(Location, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Region this multi-block structure would occupy, were it built here
getRegion(Location, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Region this multi-block structure would occupy, were it built here
getRegion(Location, int, int, int, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Region this multi-block structure would occupy, were it built here
getRegionCount() - Method in class redempt.redlib.region.MultiRegion
Recursively gets the number of Regions in this MultiRegion
getRegionMap() - Static method in class redempt.redlib.region.RegionEnterExitListener
 
getRegions() - Method in class redempt.redlib.region.MultiRegion
Gets all the cuboid Regions that form this MultiRegion
getRegistry() - Method in class redempt.redlib.enchants.CustomEnchant
 
getRelative(int, int, int) - Method in class redempt.redlib.multiblock.Structure
Gets a relative block in this Structure
getRelativeCoordinates() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
Gets the relative coordinates of this block in the Structure.
getRelativeX() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
Gets the relative X of this block
getRelativeY() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
Gets the relative Y of this block
getRelativeZ() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
Gets the relative Z of this block
getReports() - Static method in class redempt.redlib.dev.profiler.TickMonitorProfiler
 
getRoot() - Method in class redempt.redlib.dev.profiler.SampleSummary
 
getRotated(Rotator) - Method in class redempt.redlib.multiblock.StructureData
 
getRotatedBlockX() - Method in class redempt.redlib.multiblock.Rotator
 
getRotatedBlockZ() - Method in class redempt.redlib.multiblock.Rotator
 
getRotatedX() - Method in class redempt.redlib.multiblock.Rotator
 
getRotatedZ() - Method in class redempt.redlib.multiblock.Rotator
 
getRotation() - Method in class redempt.redlib.multiblock.Rotator
Gets the rotation, in number of 90-degree clockwise rotations
getRotator() - Method in class redempt.redlib.multiblock.Structure
Gets the rotation of this structure.
getRunningSummary() - Method in class redempt.redlib.dev.profiler.PassiveProfiler
 
getScale() - Method in class redempt.redlib.region.RegionMap
 
getScale() - Method in class redempt.redlib.worldgen.NoiseGenerator
 
getServerVersion() - Static method in class redempt.redlib.RedLib
 
getShortName() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
getSize() - Method in class redempt.redlib.inventorygui.InventoryGUI
Gets the inventory size
getSlot() - Method in class redempt.redlib.inventorygui.ItemButton
 
getStands() - Method in class redempt.redlib.misc.Hologram
 
getStart() - Method in class redempt.redlib.dev.profiler.SampleSummary
 
getStart() - Method in class redempt.redlib.region.CuboidRegion
Get the minimum corner of this Region
getStart() - Method in class redempt.redlib.region.MultiRegion
 
getStart() - Method in class redempt.redlib.region.Region
 
getStart() - Method in class redempt.redlib.region.SpheroidRegion
 
getStat(ItemStack, String) - Method in class redempt.redlib.itemutils.LoreStats
Gets a stat in String form from the lore of an item
getState() - Method in class redempt.redlib.region.CuboidRegion
Gets the current state of this Region
getState(Block) - Method in class redempt.redlib.multiblock.StructureData
Gets the BlockState to set for a given block
getStaticField(String) - Method in class redempt.redlib.nms.NMSClass
Gets the value of a static field in the wrapped class
getStrictModeExclusions() - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
getString(int) - Method in class redempt.redlib.json.JSONList
 
getString(int) - Method in class redempt.redlib.sql.SQLHelper.Results
Gets a String in the given column in the current row
getString(String) - Method in class redempt.redlib.blockdata.DataBlock
Gets a string by key
getString(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
getString(String) - Method in interface redempt.redlib.config.data.DataHolder
Gets a string value from a path
getString(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
getString(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
getString(String) - Method in class redempt.redlib.json.JSONMap
 
getStringConverter(ConfigType<T>) - Method in class redempt.redlib.config.ConversionManager
Gets a StringConverter for a given type
getStructure() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
Gets the Structure this block is part of
getStructureData() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
 
getStructureData(int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the StructureData at a certain relative position
getStructureType() - Method in class redempt.redlib.multiblock.Structure.StructureBlock
 
getSubsection(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
getSubsection(String) - Method in interface redempt.redlib.config.data.DataHolder
Gets an existing subsection of this DataHolder
getSubsection(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
getSubsection(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
getSummary() - Method in class redempt.redlib.dev.profiler.BurstProfiler
Gets a summary of the last X milliseconds of profiling, with X being the size this BurstProfiler was initialized with
getSummary() - Method in class redempt.redlib.dev.profiler.PassiveProfiler
 
getSummary() - Method in class redempt.redlib.dev.profiler.Profiler
 
getSummary(long) - Method in class redempt.redlib.dev.profiler.BurstProfiler
Gets a summary of the profiling after the specified time.
getSuperclass() - Method in class redempt.redlib.nms.NMSClass
 
getSurface() - Method in class redempt.redlib.region.SpheroidRegion
 
getSurfacePoint(Vector) - Method in class redempt.redlib.region.SpheroidRegion
Gets a point on the surface of this SpheroidRegion in the given direction
getTableName() - Method in class redempt.redlib.sql.SQLCache
 
getTool() - Static method in class redempt.redlib.dev.StructureTool
 
getTransientProperties() - Method in class redempt.redlib.blockdata.DataBlock
 
getTriggers() - Method in class redempt.redlib.enchants.CustomEnchant
 
getType() - Method in class redempt.redlib.blockdata.custom.CustomBlock
 
getType() - Method in class redempt.redlib.config.ConfigType
 
getType() - Method in class redempt.redlib.misc.Task
 
getType() - Method in class redempt.redlib.multiblock.Structure
Gets the type of this structure
getType() - Method in class redempt.redlib.multiblock.StructureData
 
getType() - Method in class redempt.redlib.nms.NMSObject
 
getType(int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Gets the Material at a certain relative position
getTypeName() - Method in class redempt.redlib.nms.NMSObject
 
getTypes() - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
getVolume() - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
getVolume() - Method in class redempt.redlib.region.CuboidRegion
 
getVolume() - Method in class redempt.redlib.region.MultiRegion
Sums the volume of all the Regions that make up this MultiRegion.
getVolume() - Method in class redempt.redlib.region.Region
 
getVolume() - Method in class redempt.redlib.region.SpheroidRegion
 
getWeight() - Method in class redempt.redlib.worldgen.NoiseGenerator
 
getWeights() - Method in class redempt.redlib.misc.WeightedRandom
Gets the map of weights for this WeightedRandom
getWorld() - Method in class redempt.redlib.blockdata.ChunkPosition
 
getWorld() - Method in class redempt.redlib.region.CuboidRegion
 
getWorld() - Method in class redempt.redlib.region.Region
 
getWorld() - Method in class redempt.redlib.region.SpheroidRegion
 
getWorldName() - Method in class redempt.redlib.blockdata.ChunkPosition
 
getWrappedClass() - Method in class redempt.redlib.nms.NMSClass
 
getX() - Method in class redempt.redlib.blockdata.ChunkPosition
 
getXRadius() - Method in class redempt.redlib.region.SpheroidRegion
 
getYRadius() - Method in class redempt.redlib.region.SpheroidRegion
 
getZ() - Method in class redempt.redlib.blockdata.ChunkPosition
 
getZRadius() - Method in class redempt.redlib.region.SpheroidRegion
 
give(Player, ItemStack...) - Static method in class redempt.redlib.itemutils.ItemUtils
Give the player the specified items, dropping them on the ground if there is not enough room
give(Player, ItemStack, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Gives the player the specified amount of the specified item, dropping them on the ground if there is not enough room
give(Player, Material, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Gives the player the specified amount of the specified item type, dropping them on the ground if there is not enough room
giveWand(Player) - Method in class redempt.redlib.dev.StructureTool
 
globalPolicies - Static variable in class redempt.redlib.protection.ProtectionPolicy
 
GROWTH - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Crop growth and block spreading/formation

H

handleEvent(T) - Method in class redempt.redlib.misc.EventListener
 
hashCode() - Method in class redempt.redlib.blockdata.ChunkPosition
 
hashCode() - Method in class redempt.redlib.config.ConfigField
 
hashCode() - Method in class redempt.redlib.config.ConfigType
 
hashCode() - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
hashCode() - Method in class redempt.redlib.region.MultiRegion
Generates a hash code for this MultiRegion based on its Regions
hashCode() - Method in class redempt.redlib.region.Region
Generates a hash code based on Region.getStart() and Region.getEnd()
hashCode() - Method in class redempt.redlib.region.SpheroidRegion
Generates a hash code for this SpheroidRegion
HOLD_ITEM - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with a PlayerChangedHeldItemEvent when a player begins holding an item that has a CustomEnchant with this trigger Also calls activate when a player joins holding an item with this trigger Calls deactivate with a PlayerChangedHeldItemEvent when a player stops holding an item that has a CustomEnchant with this trigger Also calls deactivate when a player leaves holding an item with this trigger
Hologram - Class in redempt.redlib.misc
Represents a number of floating armor stands intended to display information

I

ignoreAir - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
ignoresAir() - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
importStructure(Player, String) - Method in class redempt.redlib.dev.StructureTool
 
increaseLevel(ItemStack, CustomEnchant, int) - Method in class redempt.redlib.enchants.CustomEnchant
Increase the level of this enchantment on an item, ensuring it does not exceed the maximum level
increment() - Method in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
INDIRECT_PLAYERS - Static variable in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
All protection types relating to actions usually taken by players which indirectly affect blocks - Pistons, redstone, explosions, and falling blocks
init() - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
 
init() - Static method in class redempt.redlib.misc.UserCache
Initializes the user cache synchronously
initialize(Block) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Initializes the placement of this CustomBlockType for the given Block.
insert(int, String) - Method in class redempt.redlib.misc.Hologram
Inserts a line in this Hologram
instantiate(Class<T>) - Static method in class redempt.redlib.config.instantiation.EmptyInstantiator
Creates an instance of a class if it has a no-args constructor
instantiate(ConversionManager, Object, Class<T>, List<Object>, String, FieldSummary) - Method in class redempt.redlib.config.instantiation.ConstructorInstantiator
Instantiates a new object using its constructor
instantiate(ConversionManager, Object, Class<T>, List<Object>, String, FieldSummary) - Method in class redempt.redlib.config.instantiation.EmptyInstantiator
Instantiates an object, loads values into its fields, and calls the post-init method
instantiate(ConversionManager, Object, Class<T>, List<Object>, String, FieldSummary) - Method in interface redempt.redlib.config.instantiation.Instantiator
Instantiates and/or loads data into an object
Instantiator - Interface in redempt.redlib.config.instantiation
A utility to instantiate objects from values loaded from config
INTERACT - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players interacting with non-container blocks
INTERACT_ENTITY - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players interacting with entities
InventoryGUI - Class in redempt.redlib.inventorygui
 
InventoryGUI(int, String) - Constructor for class redempt.redlib.inventorygui.InventoryGUI
Creates a new GUI, instantiating a new inventory with the given size and name
InventoryGUI(Inventory) - Constructor for class redempt.redlib.inventorygui.InventoryGUI
Creates a new GUI from an inventory
isAir() - Method in class redempt.redlib.multiblock.StructureData
 
isAutoCommit() - Method in class redempt.redlib.sql.SQLHelper
 
isCached(Object...) - Method in class redempt.redlib.sql.SQLCache
Checks whether a value has been cached by its primary keys
isCancelled() - Method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
isCancelled() - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
 
isCancelled() - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
 
isCancelled() - Method in class redempt.redlib.region.events.RegionEnterEvent
 
isCancelled() - Method in class redempt.redlib.region.events.RegionExitEvent
 
isClustered() - Method in class redempt.redlib.region.MultiRegion
 
isCompatible(CustomEnchant) - Method in class redempt.redlib.enchants.CustomEnchant
Checks if this CustomEnchant is compatible with another CustomEnchant
isCurrentlyRunning() - Method in class redempt.redlib.misc.Task
 
isEmpty() - Method in class redempt.redlib.sql.SQLHelper.Results
 
isEmpty(ItemStack) - Static method in class redempt.redlib.itemutils.ItemUtils
Checks whether an item is empty, meaning it is either null or air
isHazard(Material) - Static method in class redempt.redlib.misc.LocationUtils
Checks if a given block type is a hazard - whether it would damage the player if they were on top of it
isIntact() - Method in class redempt.redlib.multiblock.Structure
Checks whether this Structure is intact (in the same rotation and has all the correct blocks)
isLoaded(World, int, int) - Method in class redempt.redlib.blockdata.BlockDataManager
Checks whether the DataBlocks for a given chunk are loaded
isMirrored() - Method in class redempt.redlib.multiblock.Rotator
Gets whether this rotator mirrors over the X axis
isMulti() - Method in class redempt.redlib.region.CuboidRegion
 
isNull() - Method in class redempt.redlib.nms.NMSObject
 
isQueued() - Method in class redempt.redlib.misc.Task
 
isRecord(Class<?>) - Static method in interface redempt.redlib.config.instantiation.Instantiator
 
isRegistered() - Method in class redempt.redlib.enchants.CustomEnchant
 
isSafe(Location) - Static method in class redempt.redlib.misc.LocationUtils
Checks whether the given location is safe to teleport a player to - that a player would not be damaged as a result of being moved to this location
isSet(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
isSet(String) - Method in interface redempt.redlib.config.data.DataHolder
Checks whether a given path has a value associated
isSet(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
isSet(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
isSphere() - Method in class redempt.redlib.region.SpheroidRegion
 
isStrictMode() - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
item - Variable in class redempt.redlib.inventorygui.ItemButton
 
ItemBuilder - Class in redempt.redlib.itemutils
A utility class to easily create items
ItemBuilder(ItemStack) - Constructor for class redempt.redlib.itemutils.ItemBuilder
Constructs an ItemBuilder using a pre-existing item
ItemBuilder(Material) - Constructor for class redempt.redlib.itemutils.ItemBuilder
Constructs a new ItemBuilder.
ItemBuilder(Material, int) - Constructor for class redempt.redlib.itemutils.ItemBuilder
Constructs a new ItemBuilder.
ItemButton - Class in redempt.redlib.inventorygui
 
ItemButton(ItemStack) - Constructor for class redempt.redlib.inventorygui.ItemButton
Create a new ItemButton with the given ItemStack as the icon
itemMatches(ItemStack) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Checks whether the item given matches the item for this CustomBlockType
ItemTrait - Enum Class in redempt.redlib.itemutils
A set of comparable traits items have and can be compared with ItemUtils.compare(ItemStack, ItemStack, ItemTrait...)
ItemUtils - Class in redempt.redlib.itemutils
A utility class to easily modify items
ItemUtils() - Constructor for class redempt.redlib.itemutils.ItemUtils
 

J

JOIN - Enum constant in enum class redempt.redlib.region.events.RegionEnterEvent.EnterCause
When a player joins into a region
JSONList - Class in redempt.redlib.json
Represents a list which can be serialized to JSON and deserialized back to this form, assuming all of the values it stores are serializable
JSONList() - Constructor for class redempt.redlib.json.JSONList
 
JSONMap - Class in redempt.redlib.json
Represents a map which can be serialized to JSON and deserialized back to this form, assuming all of the values it stores are serializable
JSONMap() - Constructor for class redempt.redlib.json.JSONMap
 
JSONParser - Class in redempt.redlib.json
 

K

keyNamesMatch(String[]) - Method in class redempt.redlib.sql.SQLCache
 
KILL_ENTITY - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with an EntityDeathEvent when a player kills an entity with an item that has a CustomEnchant with this trigger
KillEntityTrigger - Class in redempt.redlib.enchants.trigger
 
KillEntityTrigger() - Constructor for class redempt.redlib.enchants.trigger.KillEntityTrigger
 

L

length() - Method in class redempt.redlib.nms.NMSArray
 
ListDataHolder - Class in redempt.redlib.config.data
 
ListDataHolder() - Constructor for class redempt.redlib.config.data.ListDataHolder
 
ListDataHolder(List<?>) - Constructor for class redempt.redlib.config.data.ListDataHolder
 
load() - Method in class redempt.redlib.config.ConfigManager
Loads all values from the current in-memory config into the target
load(World, int, int) - Method in class redempt.redlib.blockdata.BlockDataManager
Loads the data for a chunk synchronously
load(ChunkPosition) - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Loads the String data for a given chunk
loadAll() - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Attempts to load all data stored in the backend, not supported by PDC
loadAll() - Method in class redempt.redlib.blockdata.BlockDataManager
Loads all DataBlocks stored by this BlockDataManager.
loadAsync(World, int, int) - Method in class redempt.redlib.blockdata.BlockDataManager
Loads the data for a chunk asynchronously
loadClass(String) - Method in class redempt.redlib.config.ConversionManager
Loads a class by name, using a cache
loadFrom(DataHolder, String, T) - Method in interface redempt.redlib.config.conversion.StringConverter
 
loadFrom(DataHolder, String, T) - Method in interface redempt.redlib.config.conversion.TypeConverter
Attemps to load the object from config
LocationUtils - Class in redempt.redlib.misc
 
LocationUtils() - Constructor for class redempt.redlib.misc.LocationUtils
 
LORE - Enum constant in enum class redempt.redlib.itemutils.ItemTrait
For comparing the lore of two items
LoreStats - Class in redempt.redlib.itemutils
Represents stats or other info stored in item lore
LoreStats(List<String>, String...) - Constructor for class redempt.redlib.itemutils.LoreStats
Create a LoreStats from a list of lore lines and a vararg of placeholder names

M

MapConverter - Class in redempt.redlib.config.conversion
A converter which saves and loads contents of a map
MapConverter() - Constructor for class redempt.redlib.config.conversion.MapConverter
 
MapDataHolder - Class in redempt.redlib.config.data
 
MapDataHolder() - Constructor for class redempt.redlib.config.data.MapDataHolder
 
MapDataHolder(Map<String, Object>) - Constructor for class redempt.redlib.config.data.MapDataHolder
 
measure(BlockFace) - Method in class redempt.redlib.region.Region
Gets the length of this Region along a given axis
measureBlocks(BlockFace) - Method in class redempt.redlib.region.Region
Gets the block length of this Region along a given axis
MID_VERSION - Static variable in class redempt.redlib.RedLib
The middle number of the server version - for example, if the server version is 1.15.2, this will be 15
migrate() - Method in class redempt.redlib.blockdata.BlockDataManager
Attempts to migrate SQLite from an older version of the database from the previous BlockDataManager library
MINE_BLOCK - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with a BlockBreakEvent when a block is broken with an item that has a CustomEnchant with this trigger
minimumChestSize(int) - Static method in class redempt.redlib.itemutils.ItemUtils
Calculates the minimum chest size (next highest multiple of 9) required to fit the given number of item stacks
MISCELLANEOUS - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Does nothing by default, but other plugins can register their events to be protected against by this type.
MOB_SPAWN - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Mobs spawning
move(double, double, double) - Method in class redempt.redlib.region.CuboidRegion
 
move(double, double, double) - Method in class redempt.redlib.region.MultiRegion
 
move(double, double, double) - Method in class redempt.redlib.region.Region
 
move(double, double, double) - Method in class redempt.redlib.region.SpheroidRegion
Moves this SpheroidRegion
move(Location) - Method in class redempt.redlib.misc.Hologram
Moves this Hologram
move(Vector) - Method in class redempt.redlib.region.CuboidRegion
Move the region
move(Vector) - Method in class redempt.redlib.region.MultiRegion
Moves this MultiRegion using the given vector
move(Vector) - Method in class redempt.redlib.region.Region
Moves this Region
move(Vector) - Method in class redempt.redlib.region.SpheroidRegion
Moves this SpheroidRegion according to a Vector
move(DataBlock, Block) - Method in class redempt.redlib.blockdata.BlockDataManager
Moves a DataBlock to a new location
MOVE - Enum constant in enum class redempt.redlib.region.events.RegionEnterEvent.EnterCause
When a player moves into a region
MOVE - Enum constant in enum class redempt.redlib.region.events.RegionExitEvent.ExitCause
When a player moves out of a region
moveAsync(DataBlock, Block) - Method in class redempt.redlib.blockdata.BlockDataManager
Moves a DataBlock to a new location asynchronously
msg(String) - Static method in class redempt.redlib.RedLib
 
MultiBlockStructure - Class in redempt.redlib.multiblock
A utility class intended to create interactive multi-block structures.
MultiRegion - Class in redempt.redlib.region
Represents a collection of Regions forming any shape
MultiRegion(List<Region>) - Constructor for class redempt.redlib.region.MultiRegion
Construct a MultiRegion using a list of Regions
MultiRegion(Region...) - Constructor for class redempt.redlib.region.MultiRegion
Construct a MultiRegion using a vararg of Regions

N

NAME - Enum constant in enum class redempt.redlib.itemutils.ItemTrait
For comparing the display name of two items
NativeConverter - Class in redempt.redlib.config.conversion
A converter which saves and loads directly to config without modifying the data
NativeConverter() - Constructor for class redempt.redlib.config.conversion.NativeConverter
 
NATURAL - Static variable in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
All protection types relating to natural processes not caused by players
next() - Method in class redempt.redlib.sql.SQLHelper.Results
Moves to the next row in the wrapped ResultSet.
nextPage() - Method in class redempt.redlib.inventorygui.PaginationPanel
Navigates to the next page, if there is one
NMSArray - Class in redempt.redlib.nms
Wraps any type of Array and provides easy reflection access
NMSArray(Object) - Constructor for class redempt.redlib.nms.NMSArray
 
NMSClass - Class in redempt.redlib.nms
Wraps any class and provides methods for easy reflection
NMSClass(Class<?>) - Constructor for class redempt.redlib.nms.NMSClass
Constructs an NMSClass wrapping the given class
NMSHelper - Class in redempt.redlib.nms
A set of utility methods useful for handling NMS
NMSHelper() - Constructor for class redempt.redlib.nms.NMSHelper
 
NMSObject - Class in redempt.redlib.nms
Wraps any Object and provides easy access to reflection methods
NMSObject(Object) - Constructor for class redempt.redlib.nms.NMSObject
Constructs an NMSObject with the object it should wrap
noise(double, double) - Method in class redempt.redlib.worldgen.NoiseGenerator
Gets a noise value at a specific 2D point
noise(double, double) - Method in class redempt.redlib.worldgen.NoiseOctave
Gets the noise value at the given point
noise(double, double, double) - Method in class redempt.redlib.worldgen.NoiseGenerator
Gets a noise value at a specific 3D point
noise(double, double, double) - Method in class redempt.redlib.worldgen.NoiseOctave
Gets the noise value at the given point
NoiseGenerator - Class in redempt.redlib.worldgen
A Perlin Noise generator which can be faster than PerlinNoiseGenerator
NoiseGenerator() - Constructor for class redempt.redlib.worldgen.NoiseGenerator
Creates a noise generator with a random seed
NoiseGenerator(long) - Constructor for class redempt.redlib.worldgen.NoiseGenerator
Creates a noise generator with a seed
NoiseOctave - Class in redempt.redlib.worldgen
Used to generate noise values for octaves of Perlin Noise
NoiseOctave(int) - Constructor for class redempt.redlib.worldgen.NoiseOctave
Creates a noise octave with a random seed
NoiseOctave(long, int) - Constructor for class redempt.redlib.worldgen.NoiseOctave
Creates a noise octave with the given seed and size.

O

ObjectConverter - Class in redempt.redlib.config.conversion
A converter which builds objects from configuration sections
ObjectConverter() - Constructor for class redempt.redlib.config.conversion.ObjectConverter
 
onBreak(DataBlockDestroyEvent) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
onChat(AsyncPlayerChatEvent) - Method in class redempt.redlib.misc.ChatPrompt
 
onClick(InventoryClickEvent) - Method in class redempt.redlib.inventorygui.InventoryGUI
 
onClick(InventoryClickEvent) - Method in class redempt.redlib.inventorygui.ItemButton
 
onClick(PlayerInteractEvent) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
onClick(PlayerInteractEvent) - Method in class redempt.redlib.region.SelectionTool
 
onClose(InventoryCloseEvent) - Method in class redempt.redlib.inventorygui.InventoryGUI
 
onCreatureSpawn(CreatureSpawnEvent) - Method in class redempt.redlib.protection.ProtectionPolicy
 
onDisable(PluginDisableEvent) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
onDrag(InventoryDragEvent) - Method in class redempt.redlib.inventorygui.InventoryGUI
 
onEnable() - Method in class redempt.redlib.RedLib
 
onInteract(PlayerInteractEvent) - Method in class redempt.redlib.dev.StructureTool
 
onLeave(PlayerQuitEvent) - Method in class redempt.redlib.misc.ChatPrompt
 
onLoad() - Method in class redempt.redlib.RedLib
 
onPickBlock(InventoryCreativeEvent) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
onPlace(BlockPlaceEvent) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
 
onPluginDisable(PluginDisableEvent) - Method in class redempt.redlib.region.SelectionTool
 
open(Player) - Method in class redempt.redlib.inventorygui.InventoryGUI
Opens this GUI for a player
openMySQL(String, int, String, String, String) - Static method in class redempt.redlib.sql.SQLHelper
Opens a connection to a MySQL database
openMySQL(String, String, String) - Static method in class redempt.redlib.sql.SQLHelper
Opens a connection to a MySQL database at localhost:3306
openSlot(int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Opens a slot so that items can be placed in it
openSlots(int, int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Opens slots so that items can be placed in them
openSlots(int, int, int, int) - Method in class redempt.redlib.inventorygui.InventoryGUI
Opens slots so that items can be placed in them
openSQLite(Path) - Static method in class redempt.redlib.sql.SQLHelper
Opens a SQLite database file
Overlappable - Class in redempt.redlib.region
Represents a Region which supports the overlap and intersect operations
Overlappable() - Constructor for class redempt.redlib.region.Overlappable
 
overlaps(Overlappable) - Method in class redempt.redlib.region.CuboidRegion
Check if this Region overlaps with another.
overlaps(Overlappable) - Method in class redempt.redlib.region.MultiRegion
Check if this Region overlaps with another.
overlaps(Overlappable) - Method in class redempt.redlib.region.Overlappable
Checks whether this Overlappable overlaps another Overlappable

P

PaginationPanel - Class in redempt.redlib.inventorygui
A panel in an InventoryGUI which can be used to paginate items and buttons
PaginationPanel(InventoryGUI) - Constructor for class redempt.redlib.inventorygui.PaginationPanel
Constructs a PaginationPanel to work on a given InventoryGUI
PaginationPanel(InventoryGUI, ItemStack) - Constructor for class redempt.redlib.inventorygui.PaginationPanel
Constructs a PaginationPanel to work on a given InventoryGUI
parent - Variable in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
parseList(String) - Static method in class redempt.redlib.json.JSONParser
 
parseMap(String) - Static method in class redempt.redlib.json.JSONParser
 
PassiveProfiler - Class in redempt.redlib.dev.profiler
A profiler best used over long periods of time.
PassiveProfiler() - Constructor for class redempt.redlib.dev.profiler.PassiveProfiler
Create a new PassiveProfiler with an empty summary
Path - Class in redempt.redlib.misc
 
Path() - Constructor for class redempt.redlib.misc.Path
 
pathfind(Block, Block, int) - Static method in class redempt.redlib.misc.LocationUtils
Finds the fastest path between a starting and ending location using A*
pathfind(Block, Block, int, Predicate<Block>) - Static method in class redempt.redlib.misc.LocationUtils
Finds the fastest path between a starting and ending location using A*
pdc(Plugin) - Static method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Creates a new BlockDataBackend backed by PersistentDataContainer
persist(T) - Static method in class redempt.redlib.misc.EntityPersistor
Wraps an Entity object with a proxy which will attempt to ensure the Entity object remains valid even if the entity's chunk is unloaded, then loaded again.
PISTONS - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Pistons pushing and pulling blocks
PISTONS_IN - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Pistons pushing blocks in or pulling blocks out
place(Player, ItemStack, T) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Called when this CustomBlockType is placed.
PLACE_BLOCK - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players placing blocks
PLACE_ENTITY - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players placing entities such as paintings, item frames, and armor stands
PLAYER_BREAK - Enum constant in enum class redempt.redlib.blockdata.events.DataBlockDestroyEvent.DestroyCause
 
PLAYER_CANCELLED - Enum constant in enum class redempt.redlib.misc.ChatPrompt.CancelReason
Passed when the prompt was cancelled because the player typed 'cancel'.
PLAYER_LEFT - Enum constant in enum class redempt.redlib.misc.ChatPrompt.CancelReason
Passed when the prompt was cancelled because the player left the server.
PlayerChangedArmorEvent - Class in redempt.redlib.enchants.events
Called when a player changes any piece of armor
PlayerChangedArmorEvent(Player, ItemStack[], ItemStack[]) - Constructor for class redempt.redlib.enchants.events.PlayerChangedArmorEvent
Constructs a new PlayerChangedArmorEvent
PlayerChangedHeldItemEvent - Class in redempt.redlib.enchants.events
Called when a player changes the item they are holding, or a property of their held item changes
PlayerChangedHeldItemEvent(Player, ItemStack, ItemStack) - Constructor for class redempt.redlib.enchants.events.PlayerChangedHeldItemEvent
Constructs a new PlayerChangedHeldItemEvent
PlayerWrapper - Class in redempt.redlib.misc
 
PlayerWrapper() - Constructor for class redempt.redlib.misc.PlayerWrapper
 
PORTAL_PAIRING - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Portals being created from another dimension
prefill(int, int, int, int) - Method in class redempt.redlib.worldgen.NoiseGenerator
Pre-fills the gradient vectors in the specified area of this noise generator.
prefill(int, int, int, int) - Method in class redempt.redlib.worldgen.NoiseOctave
Pre-fills gradient vectors in the noise generators in this octave for the given region.
prefill(int, int, int, int, int, int) - Method in class redempt.redlib.worldgen.NoiseGenerator
Pre-fills the gradient vectors in the specified area of this noise generator.
prefill(int, int, int, int, int, int) - Method in class redempt.redlib.worldgen.NoiseOctave
Pre-fills gradient vectors in the noise generators in this octave for the given region.
prepareStatement(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Prepares a statement, setting its fields to the elements of the vararg passed
prepend(String) - Method in class redempt.redlib.misc.Hologram
Adds a line at the top of this Hologram
prevPage() - Method in class redempt.redlib.inventorygui.PaginationPanel
Navigates to the previous page, if there is one
PRIMARY_BLOCK_FACES - Static variable in class redempt.redlib.misc.LocationUtils
An array of all the block faces which face in a single direction (positive X, negative X, etc.)
PrimitiveConverter - Class in redempt.redlib.config.conversion
A converter which can convert to and from strings, but saves values directly instead of as strings
PrimitiveConverter() - Constructor for class redempt.redlib.config.conversion.PrimitiveConverter
 
Profiler - Class in redempt.redlib.dev.profiler
A base class of a Profiler which can be used to analyze the performance of the server.
Profiler() - Constructor for class redempt.redlib.dev.profiler.Profiler
 
ProfilerCommands - Class in redempt.redlib.dev.profiler
 
ProfilerCommands() - Constructor for class redempt.redlib.dev.profiler.ProfilerCommands
 
prompt(Player, String, boolean, Consumer<String>) - Static method in class redempt.redlib.misc.ChatPrompt
Prompts a player with callbacks for player response and cancelling
prompt(Player, String, boolean, Consumer<String>, Consumer<ChatPrompt.CancelReason>) - Static method in class redempt.redlib.misc.ChatPrompt
Prompts a player with callbacks for player response and cancelling
prompt(Player, String, Consumer<String>) - Static method in class redempt.redlib.misc.ChatPrompt
Prompts a player with callbacks for player response and cancelling
prompt(Player, String, Consumer<String>, Consumer<ChatPrompt.CancelReason>) - Static method in class redempt.redlib.misc.ChatPrompt
Prompts a player with callbacks for player response and cancelling
PROMPT_OVERRIDDEN - Enum constant in enum class redempt.redlib.misc.ChatPrompt.CancelReason
Passed when the player was given another prompt.
protect(Plugin, ProtectionPolicy.ProtectionType...) - Method in class redempt.redlib.region.Region
Protects this Region
protect(ProtectionPolicy.ProtectionType...) - Method in class redempt.redlib.region.Region
Protects this Region
ProtectedRegion - Class in redempt.redlib.protection
Represents a Region which has been protected using a ProtectionPolicy
ProtectedRegion(Plugin, Region, ProtectionPolicy.ProtectionType...) - Constructor for class redempt.redlib.protection.ProtectedRegion
Creates a ProtectedRegion
ProtectedRegion(Region, ProtectionPolicy.ProtectionType...) - Constructor for class redempt.redlib.protection.ProtectedRegion
Creates a ProtectedRegion
ProtectionPolicy - Class in redempt.redlib.protection
Represents a set of rules in the form of ProtectionPolicy.ProtectionTypes protecting a set of blocks, which can have bypasses
ProtectionPolicy(Predicate<Block>, ProtectionPolicy.ProtectionType...) - Constructor for class redempt.redlib.protection.ProtectionPolicy
Create a ProtectionPolicy to protect blocks.
ProtectionPolicy(Plugin, CuboidRegion, Predicate<Block>, ProtectionPolicy.ProtectionType...) - Constructor for class redempt.redlib.protection.ProtectionPolicy
 
ProtectionPolicy(CuboidRegion, Predicate<Block>, ProtectionPolicy.ProtectionType...) - Constructor for class redempt.redlib.protection.ProtectionPolicy
Create a ProtectionPolicy to protect blocks
ProtectionPolicy.ProtectionType - Enum Class in redempt.redlib.protection
 

Q

queryResultList(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed, returning a list of values in the first column of each row in the results
queryResults(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed.
queryResultStringList(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed, returning a String list of values in the first column of each row in the results
querySingleResult(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed, returning the value in the first column of the first row in the results
querySingleResultBytes(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed, returning the value in the first column of the first row in the results as a Bytes.
querySingleResultLong(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed, returning the value in the first column of the first row in the results as a Long.
querySingleResultString(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Executes a SQL query as a prepared statement, setting its fields to the elements of the vararg passed, returning the value in the first column of the first row in the results as a String.
QUIT - Enum constant in enum class redempt.redlib.region.events.RegionExitEvent.ExitCause
When a player leaves the game whilst in a region

R

recalculate() - Method in class redempt.redlib.region.MultiRegion
Recalculates this region to ensure it is using close to the least possible number of sub-regions with no overlaps.
recalculate(boolean) - Method in class redempt.redlib.region.MultiRegion
Recalculates this region to ensure it is using close to the least possible number of sub-regions with no overlaps.
redempt.redlib - package redempt.redlib
 
redempt.redlib.blockdata - package redempt.redlib.blockdata
 
redempt.redlib.blockdata.backend - package redempt.redlib.blockdata.backend
 
redempt.redlib.blockdata.custom - package redempt.redlib.blockdata.custom
 
redempt.redlib.blockdata.events - package redempt.redlib.blockdata.events
 
redempt.redlib.config - package redempt.redlib.config
 
redempt.redlib.config.annotations - package redempt.redlib.config.annotations
 
redempt.redlib.config.conversion - package redempt.redlib.config.conversion
 
redempt.redlib.config.data - package redempt.redlib.config.data
 
redempt.redlib.config.instantiation - package redempt.redlib.config.instantiation
 
redempt.redlib.dev - package redempt.redlib.dev
 
redempt.redlib.dev.profiler - package redempt.redlib.dev.profiler
 
redempt.redlib.enchants - package redempt.redlib.enchants
 
redempt.redlib.enchants.events - package redempt.redlib.enchants.events
 
redempt.redlib.enchants.trigger - package redempt.redlib.enchants.trigger
 
redempt.redlib.inventorygui - package redempt.redlib.inventorygui
 
redempt.redlib.itemutils - package redempt.redlib.itemutils
 
redempt.redlib.json - package redempt.redlib.json
 
redempt.redlib.misc - package redempt.redlib.misc
 
redempt.redlib.multiblock - package redempt.redlib.multiblock
 
redempt.redlib.nms - package redempt.redlib.nms
 
redempt.redlib.protection - package redempt.redlib.protection
 
redempt.redlib.region - package redempt.redlib.region
 
redempt.redlib.region.events - package redempt.redlib.region.events
 
redempt.redlib.sql - package redempt.redlib.sql
 
redempt.redlib.worldgen - package redempt.redlib.worldgen
 
RedLib - Class in redempt.redlib
 
RedLib() - Constructor for class redempt.redlib.RedLib
 
RedLibConfig - Class in redempt.redlib
 
RedLibConfig() - Constructor for class redempt.redlib.RedLibConfig
 
REDSTONE - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Redstone wires and components
Region - Class in redempt.redlib.region
Represents a region of an unspecified shape in the world
Region() - Constructor for class redempt.redlib.region.Region
 
RegionEnterEvent - Class in redempt.redlib.region.events
Called when a player enters a region with events enabled
RegionEnterEvent(Player, Region, RegionEnterEvent.EnterCause, Cancellable) - Constructor for class redempt.redlib.region.events.RegionEnterEvent
Constructs a new RegionEnterEvent
RegionEnterEvent.EnterCause - Enum Class in redempt.redlib.region.events
 
RegionEnterExitListener - Class in redempt.redlib.region
 
RegionEnterExitListener() - Constructor for class redempt.redlib.region.RegionEnterExitListener
 
RegionExitEvent - Class in redempt.redlib.region.events
Called when a player exits a region with events enabled
RegionExitEvent(Player, Region, RegionExitEvent.ExitCause, Cancellable) - Constructor for class redempt.redlib.region.events.RegionExitEvent
Constructs a new RegionExitEvent
RegionExitEvent.ExitCause - Enum Class in redempt.redlib.region.events
 
regionMap - Static variable in class redempt.redlib.protection.ProtectionPolicy
 
RegionMap<T> - Class in redempt.redlib.region
Represents a spatial mapping which can retrieve objects by approximate location in O(1)
RegionMap() - Constructor for class redempt.redlib.region.RegionMap
Constructs a RegionMap with scale 100
RegionMap(int) - Constructor for class redempt.redlib.region.RegionMap
Constructs a RegionMap with the specified scale
RegionUtils - Class in redempt.redlib.region
Utilities for niche use cases of Regions
RegionUtils() - Constructor for class redempt.redlib.region.RegionUtils
 
register() - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
 
register() - Method in class redempt.redlib.enchants.trigger.KillEntityTrigger
 
register(BlockDataManager) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
 
register(CustomBlockType<?>) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
Registers a single CustomBlockType into this CustomBlockRegistry
register(CustomEnchant) - Method in class redempt.redlib.enchants.EnchantRegistry
Registers a CustomEnchant in this EnchantRegistry
register(EnchantRegistry) - Method in class redempt.redlib.enchants.CustomEnchant
 
registerAll(Plugin) - Method in class redempt.redlib.blockdata.custom.CustomBlockRegistry
Looks through all classes in a Plugin, registering all classes which extend CustomBlockType that are not interfaces or abstract.
registerAll(Plugin) - Method in class redempt.redlib.enchants.EnchantRegistry
Peeks inside a plugin's jar and registers all the classes which extend CustomEnchant inside it.
registerProtection(Class<T>, ProtectionPolicy.ProtectionType, Function<T, Player>, Function<T, Block>...) - Static method in class redempt.redlib.protection.ProtectionPolicy
Registers a custom event to be protected using a specific ProtectionType
registerProtectionDirectional(Class<T>, ProtectionPolicy.ProtectionType, Function<T, Player>, Function<T, Block>, Function<T, List<Block>>) - Static method in class redempt.redlib.protection.ProtectionPolicy
Registers a custom event to be protected using a specific ProtectionType, where there is a block acting and blocks being acted upon
registerProtectionMultiBlock(Class<T>, ProtectionPolicy.ProtectionType, Function<T, Player>, BiConsumer<T, Block>, Function<T, List<Block>>) - Static method in class redempt.redlib.protection.ProtectionPolicy
Registers a custom event that modifies multiple blocks to be protected using a specific ProtectionType
registerProtectionNonCancellable(Class<T>, ProtectionPolicy.ProtectionType, Function<T, Player>, Consumer<T>, Function<T, Block>...) - Static method in class redempt.redlib.protection.ProtectionPolicy
Registers a custom event that cannot be cancelled using Cancellable.setCancelled(boolean) using a specific ProtectionType
reload() - Method in class redempt.redlib.config.ConfigManager
Loads the config from disk, then loads all values into the target
remove(int) - Method in class redempt.redlib.misc.Hologram
Removes a line from this Hologram
remove(Object...) - Method in class redempt.redlib.sql.SQLCache
Removes a cached value, but does not affect the table
remove(String) - Method in class redempt.redlib.blockdata.DataBlock
Removes a key from this DataBlock
remove(String) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
remove(String) - Method in interface redempt.redlib.config.data.DataHolder
Removes a mapping
remove(String) - Method in class redempt.redlib.config.data.ListDataHolder
 
remove(String) - Method in class redempt.redlib.config.data.MapDataHolder
 
remove(Inventory, ItemStack, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Removes the specified amount of the given item from the given inventory
remove(Inventory, ItemStack, int, BiPredicate<ItemStack, ItemStack>) - Static method in class redempt.redlib.itemutils.ItemUtils
Removes the specified amount of the given item from the given inventory
remove(Inventory, Material, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Removes the specified amount of the given item type from the given inventory
remove(ItemStack) - Method in class redempt.redlib.enchants.CustomEnchant
Removes this CustomEnchant from the given item
remove(Location, T) - Method in class redempt.redlib.region.RegionMap
Removes a mapping by location
remove(ChunkPosition) - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Removes the data attached to a given chunk
remove(DataBlock) - Method in class redempt.redlib.blockdata.BlockDataManager
Removes a DataBlock and its data from this BlockDataManager
remove(CuboidRegion, T) - Method in class redempt.redlib.region.RegionMap
Removes a mapping by region
remove(T) - Method in class redempt.redlib.misc.WeightedRandom
Removes an outcome from this WeightedRandom
removeButton(ItemButton) - Method in class redempt.redlib.inventorygui.InventoryGUI
Remove a button from the inventory
removeFromMatchingCaches(String, Object...) - Method in class redempt.redlib.sql.SQLHelper
Finds matching caches by a pattern and removes a specific entry from them.
removeLore(int) - Method in class redempt.redlib.itemutils.ItemBuilder
Remove a line of lore if present from this ItemBuilder
removeLore(String) - Method in class redempt.redlib.itemutils.ItemBuilder
Remove a String of lore if present from this ItemBuilder
removeLoreLine(ItemStack, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Removes a specific index-line of lore from an ItemStack if present in an ItemStack
removeLoreLine(ItemStack, String) - Static method in class redempt.redlib.itemutils.ItemUtils
Remove a specific line of lore from an ItemStack if present in an ItemStack
removePagedButton(ItemButton) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes a button from the paged panel.
removePagedButtons(Iterable<ItemButton>) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes multiple buttons from the paged panel
removePagedItem(ItemStack) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes an item from the paged panel.
removePagedItems(Iterable<ItemStack>) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes multiple items from the paged panel
removeProtectionTypes(ProtectionPolicy.ProtectionType...) - Method in class redempt.redlib.protection.ProtectionPolicy
Removes ProtectionTypes from this ProtectionPolicy
removeSlot(int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes a slot which will be used to display elements
removeSlots(int, int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes a range of slots which will be used to display elements
removeSlots(int, int, int, int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Removes a rectangular area of slots which will be used to display elements
rename(ItemStack, String) - Static method in class redempt.redlib.itemutils.ItemUtils
Renames an ItemStack, functionally identical to ItemUtils.setName(ItemStack, String) but kept for legacy reasons.
RESPAWN - Enum constant in enum class redempt.redlib.region.events.RegionEnterEvent.EnterCause
When a players respawns into a region
restore() - Method in class redempt.redlib.region.CuboidRegion.RegionState
Restores the Region to this state
returnsItems() - Method in class redempt.redlib.inventorygui.InventoryGUI
Returns whether or not items in open slots are returned to the player when this inventory is destroyed
roll() - Method in class redempt.redlib.misc.WeightedRandom
Rolls and gets a weighted random outcome
roll(Map<T, Integer>) - Static method in class redempt.redlib.misc.WeightedRandom
Performs a single roll given a map of outcomes to weights.
root(Player) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
rotate(int) - Method in class redempt.redlib.region.CuboidRegion
Rotates this Region around its center
rotate(BlockData) - Method in class redempt.redlib.multiblock.Rotator
Rotates block data.
rotate(Location, int) - Method in class redempt.redlib.region.CuboidRegion
Rotates this Region around a point
rotate(Location, int) - Method in class redempt.redlib.region.MultiRegion
Rotates this MultiRegion and all of its sub-regions around the given point
rotate(Location, int) - Method in class redempt.redlib.region.Region
Rotates this Region around a central point
rotate(Location, int) - Method in class redempt.redlib.region.SpheroidRegion
Rotates this SpheroidRegion
rotateBlockFace(BlockFace) - Method in class redempt.redlib.multiblock.Rotator
Rotates a BlockFace according to this Rotator
rotateBlockFace(BlockFace, int) - Static method in class redempt.redlib.multiblock.Rotator
Rotates a BlockFace according to given values
rotateBlockFace(BlockFace, int, boolean) - Static method in class redempt.redlib.multiblock.Rotator
Rotates a BlockFace according to given values
rotateVector(Vector) - Method in class redempt.redlib.multiblock.Rotator
Rotates a Vector according to this Rotator
Rotator - Class in redempt.redlib.multiblock
Used to rotate blocks and block sections when building or testing for the presence of a MultiBlockStructure
Rotator(int, boolean) - Constructor for class redempt.redlib.multiblock.Rotator
Constructs a new Rotator

S

SampleMethod(SampleSummary, String) - Constructor for class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
SampleSummary - Class in redempt.redlib.dev.profiler
Represents a summary of profiler data
SampleSummary() - Constructor for class redempt.redlib.dev.profiler.SampleSummary
 
SampleSummary(Collection<Sample>) - Constructor for class redempt.redlib.dev.profiler.SampleSummary
 
SampleSummary.SampleMethod - Class in redempt.redlib.dev.profiler
Represents a method and its specific place in the summary tree.
save() - Method in class redempt.redlib.blockdata.BlockDataManager
Saves all data loaded in this BlockDataManager
save() - Method in class redempt.redlib.config.ConfigManager
Saves all of the values from the target to config
save(ChunkPosition, String) - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Saves String data for a given chunk
saveAll() - Method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Saves all data that has been modified with this BlockDataBackend
saveAndClose() - Method in class redempt.redlib.blockdata.BlockDataManager
Saves all data loaded in this BlockDataManager and closes connections where needed
saveDefaults() - Method in class redempt.redlib.config.ConfigManager
Saves only values which are not already specified in config
saveTo(T, DataHolder, String) - Method in interface redempt.redlib.config.conversion.StringConverter
 
saveTo(T, DataHolder, String) - Method in interface redempt.redlib.config.conversion.TypeConverter
Attemps to save the object to config
saveTo(T, DataHolder, String, boolean) - Method in interface redempt.redlib.config.conversion.TypeConverter
Attemps to save the object to config
search(Player, int, double, int, String) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
select(Object...) - Method in class redempt.redlib.sql.SQLCache
Gets the cached value for a row, or queries it if it has not been cached yet
select(Player, String) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
SelectionTool - Class in redempt.redlib.region
A tool which can be given to players and used to select a Region, or just any two points
SelectionTool(ItemStack) - Constructor for class redempt.redlib.region.SelectionTool
Create a SelectionTool with the given item
selectLong(Object...) - Method in class redempt.redlib.sql.SQLCache
Gets the cached value for a Long row, or queries it if it has not been cached yet
selectReport(Player, int) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
selectString(Object...) - Method in class redempt.redlib.sql.SQLCache
Gets the cached value for a String row, or queries it if it has not been cached yet
sendBlock(Player, Location) - Method in class redempt.redlib.multiblock.StructureData
Sends a fake block change to a Player
set(int, Object) - Method in class redempt.redlib.nms.NMSArray
Sets the object at the index of the wrapped array
set(Object) - Method in class redempt.redlib.config.ConfigField
Attemps to set the field in a static context to the given value
set(Object, Object) - Method in class redempt.redlib.config.ConfigField
Attemps to set the value of the field for the target object to the value
set(String, Object) - Method in class redempt.redlib.blockdata.DataBlock
Sets data in this DataBlock
set(String, Object) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
set(String, Object) - Method in interface redempt.redlib.config.data.DataHolder
Sets the object at a given path
set(String, Object) - Method in class redempt.redlib.config.data.ListDataHolder
 
set(String, Object) - Method in class redempt.redlib.config.data.MapDataHolder
 
set(ItemStack, String, Object) - Method in class redempt.redlib.itemutils.LoreStats
Sets the stat on the given item to the given object, which will be cast to a String
set(Location, T) - Method in class redempt.redlib.region.RegionMap
Maps a Location to an object
set(CuboidRegion, T) - Method in class redempt.redlib.region.RegionMap
Maps a Region to an object
set(T, double) - Method in class redempt.redlib.misc.WeightedRandom
Sets another weight in this WeightedRandom, replacing the weight of the outcome if it has already been added
set(T, int) - Method in class redempt.redlib.misc.WeightedRandom
Sets another weight in this WeightedRandom, replacing the weight of the outcome if it has already been added
setAutoCommit(boolean) - Method in class redempt.redlib.sql.SQLHelper
Sets the wrapped connection's auto-commit property.
setBlock(Block) - Method in class redempt.redlib.multiblock.StructureData
Sets this StructureData at the given location
setCancelled(boolean) - Method in class redempt.redlib.blockdata.events.CustomBlockPlaceEvent
 
setCancelled(boolean) - Method in class redempt.redlib.blockdata.events.DataBlockDestroyEvent
Sets whether the data should be removed from the block
setCancelled(boolean) - Method in class redempt.redlib.blockdata.events.DataBlockMoveEvent
Sets whether to move the data to the new Block
setCancelled(boolean) - Method in class redempt.redlib.region.events.RegionEnterEvent
Set whether or not to cancel the player entering the Region.
setCancelled(boolean) - Method in class redempt.redlib.region.events.RegionExitEvent
Set whether or not to cancel the player entering the Region.
setComments(String, List<String>) - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
setComments(String, List<String>) - Method in interface redempt.redlib.config.data.DataHolder
Sets comments on the given path, if it is supported
setComments(List<String>) - Method in class redempt.redlib.config.ConfigField
Sets the comments which should be applied to the path in config
setCommitInterval(int) - Method in class redempt.redlib.sql.SQLHelper
Starts a task to call commit() on this SQLHelper every n ticks.
setConversionManager(ConversionManager) - Method in class redempt.redlib.config.ConfigManager
Sets the ConversionManager responsible for storing and creating converters for this ConfigManager
setCount(int) - Method in class redempt.redlib.itemutils.ItemBuilder
Sets the stack size of this ItemBuilder
setCustomModelData(int) - Method in class redempt.redlib.itemutils.ItemBuilder
Sets the custom model data of this ItemBuilder
setCustomModelData(ItemStack, int) - Static method in class redempt.redlib.itemutils.ItemUtils
Sets the custom model data of the item
setDenyMessage(Predicate<ProtectionPolicy.ProtectionType>, String) - Method in class redempt.redlib.protection.ProtectionPolicy
Sets the message to be shown to a player when they attempt to do an action which is protected again
setDenyMessage(ProtectionPolicy.ProtectionType, String) - Method in class redempt.redlib.protection.ProtectionPolicy
Sets the message to be shown to a player when they attempt to do an action which is protected again
setDestroyOnClose(boolean) - Method in class redempt.redlib.inventorygui.InventoryGUI
Sets whether this GUI is destroyed when it has been closed by all viewers
setDurability(int) - Method in class redempt.redlib.itemutils.ItemBuilder
Set the durability (damage) of the ItemBuilder
setField(int, String, Object) - Method in class redempt.redlib.nms.NMSObject
Sets the value stored in a field in the wrapped object
setField(String, Object) - Method in class redempt.redlib.nms.NMSObject
Sets the value stored in a field in the wrapped object
setFillerItem(ItemStack) - Method in class redempt.redlib.inventorygui.PaginationPanel
Sets the filler item
setFixedLore(boolean) - Method in class redempt.redlib.itemutils.LoreStats
True by default.
setItem(ItemStack) - Method in class redempt.redlib.inventorygui.ItemButton
Update the item of this button.
setLimit(Player, int) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
setLine(int, String) - Method in class redempt.redlib.misc.Hologram
Sets the text for a line of this Hologram
setLineSpacing(double) - Method in class redempt.redlib.misc.Hologram
Sets the vertical distance between each line in this Hologram
setLocation(double, double) - Method in class redempt.redlib.multiblock.Rotator
Sets the relative coordinates this Rotator will rotate
setLocations(Location, Location) - Method in class redempt.redlib.region.CuboidRegion
 
setLocations(Location, Location) - Method in class redempt.redlib.region.MultiRegion
 
setLore(String...) - Method in class redempt.redlib.itemutils.ItemBuilder
Set the lore of this ItemBuilder
setLore(ItemStack, String) - Static method in class redempt.redlib.itemutils.ItemUtils
Set a single line of lore for an ItemStack
setLore(ItemStack, String...) - Static method in class redempt.redlib.itemutils.ItemUtils
Set multiple lines of lore for an ItemStack
setLore(ItemStack, List<String>) - Static method in class redempt.redlib.itemutils.ItemUtils
Set multiple lines of lore for an ItemStack
setMinimum(CommandSender, int) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
setMirrored(boolean) - Method in class redempt.redlib.multiblock.Rotator
Sets whether this rotator mirrors over the X axis
setModified(ChunkPosition) - Method in class redempt.redlib.blockdata.BlockDataManager
 
setName(String) - Method in class redempt.redlib.config.ConfigField
Sets the name of this ConfigField
setName(String) - Method in class redempt.redlib.itemutils.ItemBuilder
Renames this ItemBuilder
setName(ItemStack, String) - Static method in class redempt.redlib.itemutils.ItemUtils
Renames an ItemStack
setOnClickOpenSlot(BiConsumer<InventoryClickEvent, List<Integer>>) - Method in class redempt.redlib.inventorygui.InventoryGUI
Sets the handler for when an open slot is clicked
setOnClickOpenSlot(Consumer<InventoryClickEvent>) - Method in class redempt.redlib.inventorygui.InventoryGUI
Sets the handler for when an open slot is clicked
setOnDestroy(Runnable) - Method in class redempt.redlib.inventorygui.InventoryGUI
Sets a callback to be run when this GUI is destroyed
setOnDragOpenSlot(Consumer<InventoryDragEvent>) - Method in class redempt.redlib.inventorygui.InventoryGUI
Sets the handler for when items are drag-clicked into open slots
setOnUpdate(Runnable) - Method in class redempt.redlib.inventorygui.PaginationPanel
Sets a task to be run whenever the page updates, can be used to update a page indicator or similar
setPage(int) - Method in class redempt.redlib.inventorygui.PaginationPanel
Sets the page of this panel
setProtectionTypes(ProtectionPolicy.ProtectionType...) - Method in class redempt.redlib.protection.ProtectionPolicy
Sets the ProtectionTypes to be used
setReturnsItems(boolean) - Method in class redempt.redlib.inventorygui.InventoryGUI
Sets whether items in open slots are returned to the player when this inventory is destroyed
setRotation(int) - Method in class redempt.redlib.multiblock.Rotator
Sets the rotation
setScale(double) - Method in class redempt.redlib.worldgen.NoiseGenerator
Sets the scale of this noise generator.
setScales(double...) - Method in class redempt.redlib.worldgen.NoiseOctave
Sets the scale of every noise generator in this octave
setSeed(long) - Method in class redempt.redlib.worldgen.NoiseGenerator
Set the seed of this noise generator
setSeed(long) - Method in class redempt.redlib.worldgen.NoiseOctave
Sets the seed of this noise octave.
setSlot(int) - Method in class redempt.redlib.inventorygui.ItemButton
 
setTickMinimum(long) - Static method in class redempt.redlib.dev.profiler.TickMonitorProfiler
 
setUnbreakable(ItemStack) - Static method in class redempt.redlib.itemutils.ItemUtils
Sets an item to be unbreakable
setWeight(double) - Method in class redempt.redlib.worldgen.NoiseGenerator
Sets the weight of this noise generator.
setWeights(double...) - Method in class redempt.redlib.worldgen.NoiseOctave
Sets the weight of every noise generator in this octave
setWorld(World) - Method in class redempt.redlib.region.CuboidRegion
Set the world of this region, while keeping the coordinates the same
setWorld(World) - Method in class redempt.redlib.region.MultiRegion
Sets the world of this MultiRegion and all of its sub-regions, while keeping the coordinates the same
setWorld(World) - Method in class redempt.redlib.region.Region
Sets the World of this Region
setWorld(World) - Method in class redempt.redlib.region.SpheroidRegion
Sets the world of this SpheroidRegion
setXRadius(double) - Method in class redempt.redlib.region.SpheroidRegion
Sets the radius of the spheroid on the X axis
setYRadius(double) - Method in class redempt.redlib.region.SpheroidRegion
Sets the radius of the spheroid on the Y axis
setZRadius(double) - Method in class redempt.redlib.region.SpheroidRegion
Sets the radius of the spheroid on the Z axis
SHOOT_ARROW - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with a ProjectileLaunchEvent when a player shoots a projectile with an item that has a CustomEnchant with this trigger
showReports(Player) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
SILVERFISH - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Silverfish infesting or breaking blocks
size() - Method in class redempt.redlib.misc.Hologram
 
size() - Method in class redempt.redlib.worldgen.NoiseOctave
 
skip(Player, Material) - Method in class redempt.redlib.dev.StructureTool
 
skull(OfflinePlayer) - Static method in class redempt.redlib.itemutils.ItemUtils
Creates a player skull
smoothstep(double, double, double) - Static method in class redempt.redlib.worldgen.NoiseGenerator
Smoothly interpolates between two values
SpheroidRegion - Class in redempt.redlib.region
Represents a spheroid region in a world
SpheroidRegion(Location, double) - Constructor for class redempt.redlib.region.SpheroidRegion
Creates a SpheroidRegion from a center and a radius
SpheroidRegion(Location, double, double, double) - Constructor for class redempt.redlib.region.SpheroidRegion
Creates a SpheroidRegion from a center and a radius in each direction
SpheroidRegion(Location, Location) - Constructor for class redempt.redlib.region.SpheroidRegion
Creates a SpheroidRegion from two corners, using their midpoint as the center and their distance in each direction as the radius on each axis
SQLCache - Class in redempt.redlib.sql
A cache to store the values in a single column of a single SQL table
SQLCache(SQLHelper, String, String, String...) - Constructor for class redempt.redlib.sql.SQLCache
 
SQLHelper - Class in redempt.redlib.sql
Wraps a Connection and offers helpful methods that don't need to be surrounded in a try/catch
SQLHelper(Connection) - Constructor for class redempt.redlib.sql.SQLHelper
Constructs a SQLHelper from a Connection.
SQLHelper.Results - Class in redempt.redlib.sql
Wraps a ResultSet with easier use
sqlite(Path) - Static method in interface redempt.redlib.blockdata.backend.BlockDataBackend
Creates a new BlockDataBackend backed by SQLite
start - Variable in class redempt.redlib.region.CuboidRegion
 
start() - Method in class redempt.redlib.dev.profiler.BurstProfiler
Start this profiler.
start() - Method in class redempt.redlib.dev.profiler.PassiveProfiler
Start this profiler.
start() - Method in class redempt.redlib.dev.profiler.Profiler
Start this profiler.
start() - Static method in class redempt.redlib.dev.profiler.TickMonitorProfiler
 
start(CommandSender) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
startMonitor(CommandSender, Integer) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
StaticRootConverter - Class in redempt.redlib.config.conversion
A converter which saves to and loads from static fields and can only be used as a config target
StaticRootConverter() - Constructor for class redempt.redlib.config.conversion.StaticRootConverter
 
stop() - Method in class redempt.redlib.dev.profiler.Profiler
Stop this profiler
stop() - Static method in class redempt.redlib.dev.profiler.TickMonitorProfiler
 
stop(CommandSender) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
stopAll() - Static method in class redempt.redlib.dev.profiler.Profiler
Stop all running profilers
stream() - Method in class redempt.redlib.region.CuboidRegion
 
stream() - Method in class redempt.redlib.region.MultiRegion
A Stream of all the blocks in all of the Regions within this MultiRegion.
stream() - Method in class redempt.redlib.region.Region
Streams all Blocks inside this Region
stream() - Method in class redempt.redlib.region.SpheroidRegion
 
strictMode - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
strictModeExclude - Variable in class redempt.redlib.multiblock.MultiBlockStructure
 
StringConverter<T> - Interface in redempt.redlib.config.conversion
A TypeConverter which can convert data directly to and from strings
stringify(Location, Location) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Use this to get the info to construct a multi-block structure.
stringify(Location, Location, Material) - Static method in class redempt.redlib.multiblock.MultiBlockStructure
Use this to get the info to construct a multi-block structure.
Structure - Class in redempt.redlib.multiblock
Represents an instance of a multi-block structure in the world
Structure(MultiBlockStructure, Location, Rotator) - Constructor for class redempt.redlib.multiblock.Structure
 
STRUCTURE_GROWTH - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Structure growth, like trees
STRUCTURE_GROWTH_IN - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Structure growth of a block outside the protected area which would create blocks inside the protected area
Structure.StructureBlock - Class in redempt.redlib.multiblock
Represents a block in a Structure instance
StructureData - Class in redempt.redlib.multiblock
Cross-version wrapper for block data - BlockData in 1.13+, MaterialData otherwise
StructureData(String) - Constructor for class redempt.redlib.multiblock.StructureData
 
StructureData(BlockData) - Constructor for class redempt.redlib.multiblock.StructureData
Creates a StructureData from a BlockData, for 1.13+
StructureData(Material) - Constructor for class redempt.redlib.multiblock.StructureData
 
StructureData(Material, byte) - Constructor for class redempt.redlib.multiblock.StructureData
Creates a StructureData from a Material and byte data, for 1.12 and below
StructureTool - Class in redempt.redlib.dev
 
SubclassConverter - Class in redempt.redlib.config.conversion
A converter which can convert subclasses of mappable classes
SubclassConverter() - Constructor for class redempt.redlib.config.conversion.SubclassConverter
 
subtract(Region) - Method in class redempt.redlib.region.MultiRegion
Subtracts a Region from this MultiRegion.
summary - Variable in class redempt.redlib.dev.profiler.SampleSummary.SampleMethod
 
summary(Player) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
surfaceContains(Block) - Method in class redempt.redlib.region.SpheroidRegion
Determines whether a block is on the surface of this SpheroidRegion
SYNC_DELAYED - Enum constant in enum class redempt.redlib.misc.Task.TaskType
 
SYNC_REPEATING - Enum constant in enum class redempt.redlib.misc.Task.TaskType
 
syncDelayed(Runnable) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run as soon as possible
syncDelayed(Runnable, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run after a delay
syncDelayed(Consumer<Task>) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run as soon as possible
syncDelayed(Consumer<Task>, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run after a delay
syncDelayed(Plugin, Runnable) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run as soon as possible
syncDelayed(Plugin, Runnable, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run after a delay
syncDelayed(Plugin, Consumer<Task>) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run as soon as possible
syncDelayed(Plugin, Consumer<Task>, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync delayed task to run after a delay
syncRepeating(Runnable, long, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync repeating task to run later
syncRepeating(Consumer<Task>, long, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync repeating task to run later
syncRepeating(Plugin, Runnable, long, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync repeating task to run later
syncRepeating(Plugin, Consumer<Task>, long, long) - Static method in class redempt.redlib.misc.Task
Schedules a sync repeating task to run later

T

TAKE_DAMAGE - Static variable in class redempt.redlib.enchants.trigger.EnchantTrigger
Calls activate with an EntityDamageEvent when a player takes damage wearing armor that has a CustomEnchant with this trigger
target(Class<?>) - Method in class redempt.redlib.config.ConfigManager
Specifies the given Class to load config values to and save config values from.
target(Object) - Method in class redempt.redlib.config.ConfigManager
Specifies the given Object to load config values to and save config values from.
Task - Class in redempt.redlib.misc
Simple utility for Bukkit scheduler tasks, essentially just shorthand
Task.TaskType - Enum Class in redempt.redlib.misc
Represents a type of task
TELEPORT - Enum constant in enum class redempt.redlib.region.events.RegionEnterEvent.EnterCause
When a player teleports into a region
TELEPORT - Enum constant in enum class redempt.redlib.region.events.RegionExitEvent.ExitCause
When a player teleports out of a region
TickMonitorProfiler - Class in redempt.redlib.dev.profiler
 
TickMonitorProfiler() - Constructor for class redempt.redlib.dev.profiler.TickMonitorProfiler
 
timeFormat(Player) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
toBlockLocation(Location) - Static method in class redempt.redlib.misc.LocationUtils
Sets the location's coordinates to its block coordinates, then returns it
toCuboid() - Method in class redempt.redlib.region.Region
 
toCuboid() - Method in class redempt.redlib.region.SpheroidRegion
 
toggleExpand(Player, String) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
toItemStack() - Method in class redempt.redlib.itemutils.ItemBuilder
Converts this ItemBuilder to a normal ItemStack.
toJSONString(Object) - Static method in class redempt.redlib.json.JSONParser
 
toRomanNumerals(int) - Static method in class redempt.redlib.enchants.CustomEnchant
Converts a number to roman numerals, between 1 and 10
toString() - Method in class redempt.redlib.blockdata.ChunkPosition
 
toString() - Method in class redempt.redlib.config.ConfigType
 
toString() - Method in class redempt.redlib.json.JSONList
 
toString() - Method in class redempt.redlib.json.JSONMap
 
toString() - Method in class redempt.redlib.multiblock.MultiBlockStructure
 
toString() - Method in class redempt.redlib.region.CuboidRegion
Converts this Region to a String which can be converted back with CuboidRegion.fromString(String) later
toString() - Method in class redempt.redlib.region.MultiRegion
Converts this MultiRegion to a String which can be converted back to a MultiRegion using MultiRegion.fromString(String) Please use this to persist MultiRegions, as most of the operations for manipulating a MultiRegion are far more expensive than the same operations would be for a Region.
toString() - Method in class redempt.redlib.region.SpheroidRegion
 
toString(Function<T, String>) - Method in class redempt.redlib.misc.WeightedRandom
Converts this WeightedRandom to a String which can be deserialized later
toString(Block) - Static method in class redempt.redlib.misc.LocationUtils
Converts a Location to a String representing its location
toString(Block, String) - Static method in class redempt.redlib.misc.LocationUtils
Converts a Location to a String representing its location
toString(ItemStack) - Static method in class redempt.redlib.itemutils.ItemUtils
Converts an ItemStack to a JSON string
toString(Location) - Static method in class redempt.redlib.misc.LocationUtils
Converts a Location to a String.
toString(Location, String) - Static method in class redempt.redlib.misc.LocationUtils
Converts a Location to a String
toString(T) - Method in interface redempt.redlib.config.conversion.StringConverter
Converts to a string
TRAMPLE - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Trampling of farmland by players
TYPE - Enum constant in enum class redempt.redlib.itemutils.ItemTrait
For comparing the types of two items
TypeConverter<T> - Interface in redempt.redlib.config.conversion
An interface which converts data in config for a given type
typeMatches(Material) - Method in class redempt.redlib.blockdata.custom.CustomBlockType
Checks whether the type of a block matches this CustomBlockType.

U

unbreakable() - Method in class redempt.redlib.itemutils.ItemBuilder
Sets this ItemBuilder to be unbreakable
unload(World, int, int) - Method in class redempt.redlib.blockdata.BlockDataManager
Unloads the data for a chunk synchronously
unloadAsync(World, int, int) - Method in class redempt.redlib.blockdata.BlockDataManager
Unloads the data for a chunk asynchronously
unprotect() - Method in class redempt.redlib.protection.ProtectedRegion
Disables all protections for this region
unregister() - Method in class redempt.redlib.misc.EventListener
Unregisters this listener
unwrap() - Method in class redempt.redlib.config.data.ConfigurationSectionDataHolder
 
unwrap() - Method in interface redempt.redlib.config.data.DataHolder
Unwraps the object this DataHolder wraps
unwrap() - Method in class redempt.redlib.config.data.ListDataHolder
 
unwrap() - Method in class redempt.redlib.config.data.MapDataHolder
 
unwrap(Object) - Static method in interface redempt.redlib.config.data.DataHolder
Unwraps the object a DataHolder wraps, if it is one
unwrapArgs(Object...) - Static method in class redempt.redlib.nms.NMSHelper
Unwraps an array of arguments, replacing NMSObjects with their wrapped values
up(Player, int) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
update() - Method in class redempt.redlib.inventorygui.InventoryGUI
Refresh the inventory.
update(Object, Object...) - Method in class redempt.redlib.sql.SQLCache
Updates the cached value for a row
updatePage() - Method in class redempt.redlib.inventorygui.PaginationPanel
Updates the elements displayed on the current page
USE_BUCKETS - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Players using buckets to place or collect liquids
UserCache - Class in redempt.redlib.misc
A cache of offline users by name which can be queried without worrying about web requests
UserCache() - Constructor for class redempt.redlib.misc.UserCache
 

V

value() - Element in annotation interface redempt.redlib.config.annotations.Comment
 
value() - Element in annotation interface redempt.redlib.config.annotations.Comments
 
value() - Element in annotation interface redempt.redlib.config.annotations.ConfigName
 
valueOf(String) - Static method in enum class redempt.redlib.blockdata.events.DataBlockDestroyEvent.DestroyCause
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class redempt.redlib.itemutils.ItemTrait
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class redempt.redlib.misc.ChatPrompt.CancelReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class redempt.redlib.misc.Task.TaskType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class redempt.redlib.region.events.RegionEnterEvent.EnterCause
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class redempt.redlib.region.events.RegionExitEvent.ExitCause
Returns the enum constant of this class with the specified name.
values() - Static method in enum class redempt.redlib.blockdata.events.DataBlockDestroyEvent.DestroyCause
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class redempt.redlib.itemutils.ItemTrait
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class redempt.redlib.misc.ChatPrompt.CancelReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class redempt.redlib.misc.Task.TaskType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class redempt.redlib.region.events.RegionEnterEvent.EnterCause
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class redempt.redlib.region.events.RegionExitEvent.ExitCause
Returns an array containing the constants of this enum class, in the order they are declared.
verbose(Player) - Method in class redempt.redlib.dev.profiler.ProfilerCommands
 
visualize(Player, Location, int, int, int) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Sends ghost blocks of this multi-block structure to the given player at the given location
visualize(Player, Location, int, int, int, int, boolean) - Method in class redempt.redlib.multiblock.MultiBlockStructure
Sends ghost blocks of this multi-block structure to the given player at the given location

W

waitForWorld(String, Consumer<World>) - Static method in class redempt.redlib.misc.LocationUtils
Waits for a world with the given name to load before calling the callback
WeightedRandom<T> - Class in redempt.redlib.misc
Uses a map of outcomes to weights to get random values
WeightedRandom() - Constructor for class redempt.redlib.misc.WeightedRandom
Create an empty WeightedRandom
WeightedRandom(Map<T, Integer>) - Constructor for class redempt.redlib.misc.WeightedRandom
Deprecated.
WITHER - Enum constant in enum class redempt.redlib.protection.ProtectionPolicy.ProtectionType
Wither spawning in and breaking blocks around it
withPriority(EventPriority) - Method in class redempt.redlib.enchants.trigger.EnchantTrigger
Creates a copy of this EnchantTrigger with a different EventPriority
wrap(Player, String...) - Static method in class redempt.redlib.misc.PlayerWrapper
Wraps a player using a Proxy, disabling some methods from being called.
wrap(T) - Static method in class redempt.redlib.misc.EntityPersistor
Wraps an Entity in an EntityPersistor.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form