Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Y Z 

A

AbstractBucket<E> - Class in me.lucko.helper.bucket
An abstract implementation of Bucket.
AbstractBucket(int, PartitioningStrategy<E>) - Constructor for class me.lucko.helper.bucket.AbstractBucket
 
AbstractCommand - Class in me.lucko.helper.command
An abstract implementation of Command and CommandExecutor
AbstractCommand() - Constructor for class me.lucko.helper.command.AbstractCommand
 
AbstractMessenger - Class in me.lucko.helper.messaging
An abstract implementation of Messenger.
AbstractMessenger(BiConsumer<String, String>, Consumer<String>, Consumer<String>) - Constructor for class me.lucko.helper.messaging.AbstractMessenger
Creates a new abstract messenger
AbstractMetadataRegistry<T> - Class in me.lucko.helper.metadata
A basic implementation of MetadataRegistry using a LoadingCache.
AbstractMetadataRegistry() - Constructor for class me.lucko.helper.metadata.AbstractMetadataRegistry
 
AbstractSchemeMapping - Class in me.lucko.helper.menu.scheme
Implements SchemeMapping using an immutable map.
accept(JsonElement) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
accept(Map.Entry<String, JsonElement>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
accept(String, JsonElement) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
accept(Item) - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Places an item onto the Gui using the next available slot in the populator
acceptIfSpace(Item) - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Places an item onto the Gui using the next available slot in the populator
add(E) - Method in class me.lucko.helper.bucket.AbstractBucket
 
add(E) - Method in interface me.lucko.helper.bucket.BucketPartition
Deprecated.
as partitions do not support this method.
add(JsonElement, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(JsonElement) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(GsonSerializable) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(String) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(Number) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(Boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(Character) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
add(String, JsonElement, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(String, JsonElement) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(String, GsonSerializable) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(String, String) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(String, Number) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(String, Boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(String, Character) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
add(Vector3i) - Method in class me.lucko.helper.serialize.BlockPosition
 
add(int, int, int) - Method in class me.lucko.helper.serialize.BlockPosition
 
add(Vector2i) - Method in class me.lucko.helper.serialize.ChunkPosition
 
add(int, int) - Method in class me.lucko.helper.serialize.ChunkPosition
 
add(double, double, double) - Method in class me.lucko.helper.serialize.Point
 
add(Vector3i) - Method in class me.lucko.helper.serialize.Position
 
add(Vector3d) - Method in class me.lucko.helper.serialize.Position
 
add(double, double, double) - Method in class me.lucko.helper.serialize.Position
 
add(double, double, double) - Method in class me.lucko.helper.serialize.VectorPoint
 
addAll(Collection<? extends E>) - Method in interface me.lucko.helper.bucket.BucketPartition
Deprecated.
as partitions do not support this method.
addAll(Iterable<T>, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addAll(Iterable<T>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addAll(Stream<T>, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addAll(Stream<T>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addAll(Iterable<Map.Entry<String, T>>, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAll(Iterable<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAll(Stream<Map.Entry<String, T>>, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAll(Stream<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAll(JsonObject, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAll(JsonObject) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllBooleans(Iterable<Map.Entry<String, Boolean>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllBooleansIfAbsent(Iterable<Map.Entry<String, Boolean>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllCharacters(Iterable<Map.Entry<String, Character>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllCharactersIfAbsent(Iterable<Map.Entry<String, Character>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllIfAbsent(Iterable<Map.Entry<String, T>>, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllIfAbsent(Iterable<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllIfAbsent(Stream<Map.Entry<String, T>>, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllIfAbsent(Stream<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllIfAbsent(JsonObject, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllIfAbsent(JsonObject) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllNumbers(Iterable<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllNumbersIfAbsent(Iterable<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllSerializables(Iterable<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllSerializablesIfAbsent(Iterable<Map.Entry<String, T>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllStrings(Iterable<Map.Entry<String, String>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addAllStringsIfAbsent(Iterable<Map.Entry<String, String>>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addBooleans(Iterable<Boolean>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addCharacters(Iterable<Character>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addIfAbsent(String, JsonElement, boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addIfAbsent(String, JsonElement) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addIfAbsent(String, GsonSerializable) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addIfAbsent(String, String) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addIfAbsent(String, Number) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addIfAbsent(String, Boolean) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addIfAbsent(String, Character) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
addItem(Item) - Method in class me.lucko.helper.menu.Gui
 
addItems(Iterable<Item>) - Method in class me.lucko.helper.menu.Gui
 
addListener(ChannelListener<T>) - Method in interface me.lucko.helper.messaging.ChannelAgent
Adds a new listener to the channel;
addNumbers(Iterable<T>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addPlayer(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
addPlayer(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Adds a player to this team
addPlayer(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Adds a player to this team
addSerializables(Iterable<T>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
addStrings(Iterable<String>) - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
after(long) - Method in interface me.lucko.helper.scheduler.TaskBuilder.ThreadContextual
Marks that the new task should run after the specified delay, and returns the next builder in the chain.
after(long, TimeUnit) - Method in interface me.lucko.helper.scheduler.TaskBuilder.ThreadContextual
Marks that the new task should run after the specified delay, and returns the next builder in the chain.
all() - Static method in class me.lucko.helper.utils.Players
Gets all players on the server.
ALL_SERVERS - Static variable in class me.lucko.helper.messaging.bungee.BungeeMessaging
Server name to represent all servers on the proxy
allocate(Bucket<?>) - Method in interface me.lucko.helper.bucket.partitioning.GenericPartitioningStrategy
Calculates the index of the partition to use for any given object.
allocate(Object, Bucket<Object>) - Method in interface me.lucko.helper.bucket.partitioning.GenericPartitioningStrategy
Deprecated.
allocate(T, Bucket<T>) - Method in interface me.lucko.helper.bucket.partitioning.PartitioningStrategy
Calculates the index of the partition to use for the object.
allOffline() - Static method in class me.lucko.helper.utils.Players
 
alwaysFalse() - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which always returns false
alwaysTrue() - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which always returns true
amount(int) - Method in class me.lucko.helper.item.ItemStackBuilder
 
apply(Consumer<? super T>) - Method in interface me.lucko.helper.function.chain.Chain
Applies an action to the backing object
apply(Consumer<ItemStackBuilder>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
apply(Gui) - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
applyFromItem(Item) - Method in class me.lucko.helper.menu.SimpleSlot
Applies an item model to this slot.
applyFromItem(Item) - Method in interface me.lucko.helper.menu.Slot
Applies an item model to this slot.
applyIf(Predicate<? super T>, Consumer<? super T>) - Method in interface me.lucko.helper.function.chain.Chain
Applies an action to the backing object if the test passes.
applyIfNonNull(Consumer<? super T>) - Method in interface me.lucko.helper.function.chain.Chain
Applies an action to the backing object, if the object is not null.
applyLines(String...) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
applyLines(Collection<String>) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
applyLines(String...) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Automatically applies a set of score lines to this objective.
applyLines(Collection<String>) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Automatically applies a set of score lines to this objective.
applyScores(Map<String, Integer>) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
applyScores(Map<String, Integer>) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Applies a score mapping to this objective
arg(int) - Method in interface me.lucko.helper.command.context.CommandContext
Gets the argument at a the given index
arg(int) - Method in class me.lucko.helper.command.context.ImmutableCommandContext
 
args() - Method in interface me.lucko.helper.command.context.CommandContext
Gets an immutable list of the supplied arguments
args() - Method in class me.lucko.helper.command.context.ImmutableCommandContext
 
Argument - Interface in me.lucko.helper.command.argument
Represents a command argument
ArgumentParser<T> - Interface in me.lucko.helper.command.argument
Parses an argument from a String
ArgumentParserRegistry - Interface in me.lucko.helper.command.argument
A collection of ArgumentParsers
array(JsonArray, boolean) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a new array builder
array(JsonArray) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a new array builder, without copying the passed array.
array() - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a new array builder, with no initial values
asCycle() - Method in class me.lucko.helper.bucket.AbstractBucket
 
asCycle() - Method in interface me.lucko.helper.bucket.Bucket
Returns a cycle instance unique to this bucket.
asMap() - Method in interface me.lucko.helper.metadata.MetadataMap
Returns an immutable view of the backing map
asOptional() - Method in class me.lucko.helper.utils.NullableOptional
If a value is present in this NullableOptional, returns the result of passing the value to Optional.ofNullable(Object).
assertArgument(int, Predicate<String>) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Tests a given argument with the provided predicate.
assertArgument(int, Predicate<String>, String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Tests a given argument with the provided predicate.
assertConsole() - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender is instance of ConsoleCommandSender, and sends them the default failure message if they're not.
assertConsole(String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender is instance of ConsoleCommandSender, and sends them the failure message if they're not
assertOp() - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender is op, and sends them the default failure message if they're not.
assertOp(String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender is op, and sends them the failure message if they don't have permission
assertPermission(String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender has the specified permission, and sends them the default failure message if they don't have permission.
assertPermission(String, String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender has the specified permission, and sends them the failure message if they don't have permission.
assertPlayer() - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender is instance of Player, and sends them the default failure message if they're not.
assertPlayer(String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the sender is instance of Player, and sends them the failure message if they're not
assertPresent() - Method in interface me.lucko.helper.command.argument.Argument
Asserts that the permission is present
assertSender(Predicate<T>) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Tests the sender with the provided predicate.
assertSender(Predicate<T>, String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Tests the sender with the provided predicate.
assertUsage(String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the arguments match the given usage string.
assertUsage(String, String) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Asserts that the arguments match the given usage string.
async() - Static method in class me.lucko.helper.Scheduler
Returns an "async" executor, which executes all passed runnables asynchronously
async() - Method in interface me.lucko.helper.scheduler.TaskBuilder
Marks that the new task should run async, and returns the next builder in the chain.

B

back() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
base - Variable in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
baseWithOptionalAddition(double, double, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable about which has a base and a chance to apply a random additional amount.
baseWithOptionalAddition(double, VariableAmount, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable about which has a base and a chance to apply a random additional amount.
baseWithOptionalVariance(double, double, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable about which has a base and a chance to apply a random variance.
baseWithOptionalVariance(double, VariableAmount, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable about which has a base and a chance to apply a random variance.
baseWithRandomAddition(double, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable amount which has a base and an additional amount.
baseWithRandomAddition(double, VariableAmount) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable amount which has a base and an additional amount.
baseWithVariance(double, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable about which has a base and variance.
baseWithVariance(double, VariableAmount) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable about which has a base and variance.
biConsumer(BiConsumer<R, ? super T>) - Method in interface me.lucko.helper.event.functional.FunctionalHandlerList
Add a BiConsumer handler.
biConsumer(BiConsumer<MergedSubscription<T>, ? super T>) - Method in interface me.lucko.helper.event.functional.merged.MergedHandlerList
 
biConsumer(BiConsumer<SingleSubscription<T>, ? super T>) - Method in interface me.lucko.helper.event.functional.single.SingleHandlerList
 
biHandler(BiConsumer<MergedSubscription<T>, ? super T>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Builds and registers the Handler.
biHandler(BiConsumer<SingleSubscription<T>, ? super T>) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Builds and registers the Handler.
bind(T) - Method in class me.lucko.helper.menu.Gui
 
bind(ClickType, Consumer<InventoryClickEvent>) - Method in class me.lucko.helper.menu.Item.Builder
 
bind(ClickType, Runnable) - Method in class me.lucko.helper.menu.Item.Builder
 
bind(Consumer<InventoryClickEvent>, ClickType...) - Method in class me.lucko.helper.menu.Item.Builder
 
bind(Runnable, ClickType...) - Method in class me.lucko.helper.menu.Item.Builder
 
bind(ClickType, Consumer<InventoryClickEvent>) - Method in class me.lucko.helper.menu.SimpleSlot
 
bind(ClickType, Runnable) - Method in class me.lucko.helper.menu.SimpleSlot
 
bind(Consumer<InventoryClickEvent>, ClickType...) - Method in class me.lucko.helper.menu.SimpleSlot
 
bind(Runnable, ClickType...) - Method in class me.lucko.helper.menu.SimpleSlot
 
bind(ClickType, Consumer<InventoryClickEvent>) - Method in interface me.lucko.helper.menu.Slot
 
bind(ClickType, Runnable) - Method in interface me.lucko.helper.menu.Slot
 
bind(Consumer<InventoryClickEvent>, ClickType...) - Method in interface me.lucko.helper.menu.Slot
 
bind(Runnable, ClickType...) - Method in interface me.lucko.helper.menu.Slot
 
bind(T) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
bind(T) - Method in class me.lucko.helper.terminable.registry.SimpleTerminableRegistry
 
bind(T) - Method in interface me.lucko.helper.terminable.TerminableConsumer
Binds with the given terminable.
bindAllConsumers(Iterable<Map.Entry<ClickType, T>>) - Method in class me.lucko.helper.menu.Item.Builder
 
bindAllConsumers(Iterable<Map.Entry<ClickType, T>>) - Method in class me.lucko.helper.menu.SimpleSlot
 
bindAllConsumers(Iterable<Map.Entry<ClickType, T>>) - Method in interface me.lucko.helper.menu.Slot
 
bindAllRunnables(Iterable<Map.Entry<ClickType, T>>) - Method in class me.lucko.helper.menu.Item.Builder
 
bindAllRunnables(Iterable<Map.Entry<ClickType, T>>) - Method in class me.lucko.helper.menu.SimpleSlot
 
bindAllRunnables(Iterable<Map.Entry<ClickType, T>>) - Method in interface me.lucko.helper.menu.Slot
 
bindComposite(T) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
bindComposite(T) - Method in interface me.lucko.helper.terminable.composite.CompositeTerminableConsumer
Binds a composite terminable to this consumer
bindComposite(T) - Method in class me.lucko.helper.terminable.registry.SimpleTerminableRegistry
 
bindEvent(Class<E>, Function<E, T>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Binds this handler to an event
bindEvent(Class<E>, EventPriority, Function<E, T>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Binds this handler to an event
bindRunnable(T) - Method in class me.lucko.helper.menu.Gui
 
bindRunnable(T) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
bindRunnable(T) - Method in interface me.lucko.helper.terminable.TerminableConsumer
Binds with the given runnable.
bindWith(CompositeTerminableConsumer) - Method in interface me.lucko.helper.terminable.composite.CompositeTerminable
Registers this terminable with a terminable consumer (usually the plugin instance)
bindWith(TerminableConsumer) - Method in interface me.lucko.helper.terminable.Terminable
Registers this terminable with a terminable consumer (usually the plugin instance)
BlockMetadataRegistry - Interface in me.lucko.helper.metadata.type
A registry which provides and stores MetadataMaps for Blocks.
BlockPosition - Class in me.lucko.helper.serialize
An immutable and serializable block location object
BlockRegion - Class in me.lucko.helper.serialize
An immutable and serializable block region object
blocks() - Static method in class me.lucko.helper.metadata.Metadata
Gets the MetadataRegistry for Blocks.
breakable(boolean) - Method in class me.lucko.helper.item.ItemStackBuilder
 
Bucket<E> - Interface in me.lucko.helper.bucket
A bucket is an extension of Set, which allows contained elements to be separated into parts by a PartitioningStrategy.
BucketFactory - Class in me.lucko.helper.bucket.factory
A set of methods for creating Buckets.
BucketPartition<E> - Interface in me.lucko.helper.bucket
Represents a partition of elements within a Bucket.
build() - Method in interface me.lucko.helper.gson.JsonBuilder.JsonArrayBuilder
 
build() - Method in interface me.lucko.helper.gson.JsonBuilder.JsonObjectBuilder
 
build() - Method in class me.lucko.helper.item.ItemStackBuilder
 
build(Runnable) - Method in class me.lucko.helper.item.ItemStackBuilder
 
build(ClickType, Runnable) - Method in class me.lucko.helper.item.ItemStackBuilder
 
build(Runnable, Runnable) - Method in class me.lucko.helper.item.ItemStackBuilder
 
build() - Method in class me.lucko.helper.menu.Item.Builder
 
build(Player, Function<PaginatedGui, List<Item>>) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
build(String, String, File, Function<Path, T>, BiConsumer<Path, T>) - Static method in class me.lucko.helper.serialize.FileStorageHandler
 
buildConsumer(Consumer<InventoryClickEvent>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
buildConsumer(ClickType, Consumer<InventoryClickEvent>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
buildConsumer(Consumer<InventoryClickEvent>, Consumer<InventoryClickEvent>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
builder(ItemStack) - Static method in class me.lucko.helper.menu.Item
 
builder() - Static method in class me.lucko.helper.Scheduler
Gets a TaskBuilder instance
buildFromConsumerMap(Map<ClickType, Consumer<InventoryClickEvent>>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
buildFromMap(Map<ClickType, Runnable>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
buildItem() - Method in class me.lucko.helper.item.ItemStackBuilder
 
bukkit() - Static method in class me.lucko.helper.Scheduler
Gets Bukkit's scheduler.
bukkitAsync() - Static method in class me.lucko.helper.Scheduler
Returns a variant of Scheduler.async(), which always uses the BukkitScheduler's thread pool to execute tasks.
bukkitScheduler() - Static method in class me.lucko.helper.Helper
 
BungeeMessaging - Class in me.lucko.helper.messaging.bungee
Wrapper class for the BungeeCord Plugin Messaging API, providing callbacks to read response data

C

Cache<T> - Class in me.lucko.helper.cache
A cached supplier extension.
cache - Variable in class me.lucko.helper.metadata.AbstractMetadataRegistry
 
cache - Variable in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
call(CommandContext<?>) - Method in interface me.lucko.helper.command.Command
Calls the command handler
call(Event) - Static method in class me.lucko.helper.Events
Submit the event on the current thread
call(ThreadContext, Callable<T>) - Static method in class me.lucko.helper.Scheduler
Call a callable
call(Callable<T>) - Method in interface me.lucko.helper.scheduler.ContextualPromiseBuilder
 
callableToSupplier(Callable<T>) - Static method in class me.lucko.helper.utils.Delegates
 
callAndReturn(T) - Static method in class me.lucko.helper.Events
Submit the event on the current thread
callAsync(Event) - Static method in class me.lucko.helper.Events
Submit the event on a new async thread.
callAsync(Callable<T>) - Static method in class me.lucko.helper.Scheduler
Call a callable asynchronously
callAsyncAndJoin(T) - Static method in class me.lucko.helper.Events
Submit the event on a new async thread.
callLater(ThreadContext, Callable<T>, long) - Static method in class me.lucko.helper.Scheduler
Call a callable at some point in the future
callLaterAsync(Callable<T>, long) - Static method in class me.lucko.helper.Scheduler
Call a callable asynchronously at some point in the future
callLaterSync(Callable<T>, long) - Static method in class me.lucko.helper.Scheduler
Call a callable on the main thread at some point in the future
callSync(Event) - Static method in class me.lucko.helper.Events
Submit the event on the main server thread.
callSync(Callable<T>) - Static method in class me.lucko.helper.Scheduler
Call a callable on the main server thread
callSyncAndJoin(T) - Static method in class me.lucko.helper.Events
Submit the event on the main server thread.
cancel() - Static method in class me.lucko.helper.event.filter.EventHandlers
Returns a consumer which cancels the event
cancel() - Method in interface me.lucko.helper.promise.Promise
Attempts to cancel execution of this task.
cast() - Method in interface me.lucko.helper.bucket.partitioning.GenericPartitioningStrategy
cast(Object) - Method in interface me.lucko.helper.metadata.MetadataKey
Attempts to cast the given object to the return type of the key
Chain<T> - Interface in me.lucko.helper.function.chain
A simplified version of Java 8's Stream API.
Channel<T> - Interface in me.lucko.helper.messaging
Represents an individual messaging channel.
ChannelAgent<T> - Interface in me.lucko.helper.messaging
Represents an agent for interacting with a Channels message streams.
ChannelListener<T> - Interface in me.lucko.helper.messaging
Represents an object listening to messages sent on the channel.
ChunkPosition - Class in me.lucko.helper.serialize
An immutable and serializable chuck location object
ChunkRegion - Class in me.lucko.helper.serialize
An immutable and serializable chunk region object
classMapper(Class<T>) - Static method in class me.lucko.helper.config.Configs
 
cleanup() - Method in class me.lucko.helper.metadata.AbstractMetadataRegistry
 
cleanup() - Method in interface me.lucko.helper.metadata.MetadataMap
Removes expired TransientValues from this map.
cleanup() - Method in interface me.lucko.helper.metadata.MetadataRegistry
Performs cache maintenance to remove empty map instances and expired transient values.
cleanup() - Method in class me.lucko.helper.terminable.registry.SimpleTerminableRegistry
 
cleanup() - Method in interface me.lucko.helper.terminable.registry.TerminableRegistry
Removes instances which have already been terminated via Terminable.hasTerminated()
clear() - Method in class me.lucko.helper.bucket.AbstractBucket
 
clear() - Method in class me.lucko.helper.menu.SimpleSlot
Clears all attributes of the slot.
clear() - Method in interface me.lucko.helper.menu.Slot
Clears all attributes of the slot.
clear() - Method in interface me.lucko.helper.metadata.MetadataMap
Clears the map
clearBindings() - Method in class me.lucko.helper.menu.SimpleSlot
Clears all bindings on this slot.
clearBindings(ClickType) - Method in class me.lucko.helper.menu.SimpleSlot
Clears all bindings on this slot for a given click type.
clearBindings() - Method in interface me.lucko.helper.menu.Slot
Clears all bindings on this slot.
clearBindings(ClickType) - Method in interface me.lucko.helper.menu.Slot
Clears all bindings on this slot for a given click type.
clearEnchantments() - Method in class me.lucko.helper.item.ItemStackBuilder
 
clearItem() - Method in class me.lucko.helper.menu.SimpleSlot
Clears the item in this slot
clearItem() - Method in interface me.lucko.helper.menu.Slot
Clears the item in this slot
clearItems() - Method in class me.lucko.helper.menu.Gui
 
clearLore() - Method in class me.lucko.helper.item.ItemStackBuilder
 
clearScores() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
clearScores() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Clears the scores from this objective
close() - Method in class me.lucko.helper.menu.Gui
 
close() - Method in interface me.lucko.helper.scheduler.sync.ServerThreadLock
Closes the lock, and allows the main thread to continue
close() - Method in interface me.lucko.helper.terminable.Terminable
 
CollectionUtils - Class in me.lucko.helper.utils
 
collectSerializablesToArray() - Static method in class me.lucko.helper.gson.JsonBuilder
Returns a collector which forms a JsonArray from GsonSerializables
collectToArray(Function<? super T, JsonElement>) - Static method in class me.lucko.helper.gson.JsonBuilder
Returns a collector which forms a JsonArray using the value mapper
collectToArray() - Static method in class me.lucko.helper.gson.JsonBuilder
Returns a collector which forms a JsonArray from JsonElements
collectToObject(Function<? super T, String>, Function<? super T, JsonElement>) - Static method in class me.lucko.helper.gson.JsonBuilder
Returns a collector which forms a JsonObject using the key and value mappers
color(Color) - Method in class me.lucko.helper.item.ItemStackBuilder
 
Color - Class in me.lucko.helper.utils
 
colorize(String) - Static method in class me.lucko.helper.utils.Color
 
combine(Terminable...) - Static method in class me.lucko.helper.terminable.Terminables
 
combine(Iterable<Terminable>) - Static method in class me.lucko.helper.terminable.Terminables
 
Command - Interface in me.lucko.helper.command
Represents a command
CommandContext<T extends CommandSender> - Interface in me.lucko.helper.command.context
Represents the context for a given command execution
CommandInterruptException - Exception in me.lucko.helper.command
Exception thrown when the handling of a command should be interrupted.
CommandInterruptException(Consumer<CommandSender>) - Constructor for exception me.lucko.helper.command.CommandInterruptException
 
CommandInterruptException(String) - Constructor for exception me.lucko.helper.command.CommandInterruptException
 
CommandMapUtil - Class in me.lucko.helper.utils
Utility for interacting with the server's CommandMap instance.
Commands - Class in me.lucko.helper
A functional command handling utility.
completed(U) - Static method in interface me.lucko.helper.promise.Promise
Returns a Promise which is already completed with the given value.
compose(Function<A, ? extends B>, Predicate<B>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then obtains a result from the delegate predicate.
ComposedCooldownMap<I,O> - Interface in me.lucko.helper.cooldown
A self-populating, composed map of cooldown instances
CompositeTerminable - Interface in me.lucko.helper.terminable.composite
A composite terminable is a class which combines a number of Terminables, to be easily registered as one.
CompositeTerminableConsumer - Interface in me.lucko.helper.terminable.composite
Configs - Class in me.lucko.helper.config
Misc utilities for working with Configurate
connect(Player, String) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Connects a player to said subserver
connectOther(String, String) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Connects a named player to said subserver
console() - Static method in class me.lucko.helper.Helper
 
consume(Consumer<Slot>) - Method in class me.lucko.helper.menu.scheme.MenuPopulator
 
consume(Consumer<Scheduler.Task>) - Method in interface me.lucko.helper.scheduler.ContextualTaskBuilder
 
consumeIfSpace(Consumer<Slot>) - Method in class me.lucko.helper.menu.scheme.MenuPopulator
 
consumer(Consumer<? super T>) - Method in interface me.lucko.helper.event.functional.FunctionalHandlerList
Add a Consumer handler.
consumer(Consumer<? super T>) - Method in interface me.lucko.helper.event.functional.merged.MergedHandlerList
 
consumer(Consumer<? super T>) - Method in interface me.lucko.helper.event.functional.single.SingleHandlerList
 
consumerToBiConsumerFirst(Consumer<T>) - Static method in class me.lucko.helper.utils.Delegates
 
consumerToBiConsumerSecond(Consumer<U>) - Static method in class me.lucko.helper.utils.Delegates
 
consumerToFunction(Consumer<T>) - Static method in class me.lucko.helper.utils.Delegates
 
consuming(ThreadContext, Consumer<? super T>) - Static method in class me.lucko.helper.Scheduler
Returns a consumer which when supplied, will delegate calls to the given consumer (a)synchronously.
consumingAsync(Consumer<? super T>) - Static method in class me.lucko.helper.Scheduler
Returns a consumer which when supplied, will delegate calls to the given consumer asynchronously.
consumingSync(Consumer<? super T>) - Static method in class me.lucko.helper.Scheduler
Returns a consumer which when supplied, will delegate calls to the given consumer on the main server thread.
contains(Object) - Method in class me.lucko.helper.bucket.AbstractBucket
 
content - Variable in class me.lucko.helper.bucket.AbstractBucket
The content in the bucket
ContextualPromiseBuilder - Interface in me.lucko.helper.scheduler
Builds instances of Promise, often combining parameters with variables already known by this instance.
ContextualTaskBuilder - Interface in me.lucko.helper.scheduler
Queues execution of tasks using Scheduler, often combining parameters with variables already known by this instance.
Cooldown - Interface in me.lucko.helper.cooldown
A simple cooldown abstraction
Cooldown - Class in me.lucko.helper.utils
Deprecated.
in favour of referencing Cooldown.
Cooldown(long, TimeUnit) - Constructor for class me.lucko.helper.utils.Cooldown
Deprecated.
CooldownCollection<T> - Class in me.lucko.helper.utils
Deprecated.
in favour of CooldownMap
CooldownMap<T> - Interface in me.lucko.helper.cooldown
A self-populating map of cooldown instances
copy() - Method in interface me.lucko.helper.bucket.Cycle
Creates a copy of this cycle.
copy() - Method in interface me.lucko.helper.cooldown.Cooldown
Copies the properties of this cooldown to a new instance
copy() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
copy() - Method in class me.lucko.helper.menu.scheme.AbstractSchemeMapping
 
copy() - Method in class me.lucko.helper.menu.scheme.MenuPopulator
 
copy() - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
copy() - Method in interface me.lucko.helper.menu.scheme.SchemeMapping
Makes a copy of this scheme mapping.
copy() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Copies the properties of this cooldown to a new instance
copy() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
create() - Static method in class me.lucko.helper.Commands
Creates and returns a new command builder
create(Cooldown, Function<I, O>) - Static method in interface me.lucko.helper.cooldown.ComposedCooldownMap
Creates a new collection with the cooldown properties defined by the base instance
create(Cooldown) - Static method in interface me.lucko.helper.cooldown.CooldownMap
Creates a new collection with the cooldown properties defined by the base instance
create(Gson, TypeToken<T>) - Method in class me.lucko.helper.gson.GsonSerializableAdapterFactory
 
create(Position, List<String>) - Static method in interface me.lucko.helper.hologram.Hologram
Creates and returns a new hologram
create(int, int) - Static method in class me.lucko.helper.menu.paginated.PageInfo
 
create() - Static method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
create(String, TypeToken<T>) - Static method in interface me.lucko.helper.metadata.MetadataKey
Creates a MetadataKey with the given id and type
create(String, Class<T>) - Static method in interface me.lucko.helper.metadata.MetadataKey
Creates a MetadataKey with the given id and type
create() - Static method in interface me.lucko.helper.metadata.MetadataMap
 
create(UUID, String) - Static method in interface me.lucko.helper.profiles.Profile
Creates a new profile instance
create() - Static method in interface me.lucko.helper.terminable.registry.TerminableRegistry
 
create(Cooldown) - Static method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
create(Function<T, String>, Cooldown) - Static method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
createBooleanKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createCharacterKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createCooldownKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createDoubleKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createEmptyKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createFloatKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createIntegerKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createLongKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createObjective(String, String, DisplaySlot, boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
createObjective(String, String, DisplaySlot, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard objective
createObjective(String, String, DisplaySlot) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard objective
createObjective(String, DisplaySlot, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard objective with an automatically generated id
createObjective(String, DisplaySlot) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard objective with an automatically generated id
createPlayerObjective(Player, String, String, DisplaySlot, boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
createPlayerObjective(Player, String, String, DisplaySlot, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard objective
createPlayerObjective(Player, String, String, DisplaySlot) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard objective
createPlayerObjective(Player, String, DisplaySlot, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard objective with an automatically generated id
createPlayerObjective(Player, String, DisplaySlot) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard objective with an automatically generated id
createPlayerTeam(Player, String, String, boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
createPlayerTeam(Player, String, String, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard team
createPlayerTeam(Player, String, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard team
createPlayerTeam(Player, String, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard team with an automatically generated id
createPlayerTeam(Player, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new per-player scoreboard team with an automatically generated id
createSet() - Method in class me.lucko.helper.bucket.AbstractBucket
Supplies the set instances to use for each partition in the bucket
createShortKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createStringKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createTeam(String, String, boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
createTeam(String, String, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard team
createTeam(String, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard team
createTeam(String, boolean) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard team with an automatically generated id
createTeam(String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Creates a new scoreboard team with an automatically generated id
createUuidKey(String) - Static method in interface me.lucko.helper.metadata.MetadataKey
 
createWithToString(Cooldown) - Static method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
current() - Method in interface me.lucko.helper.bucket.Cycle
Gets the current element
current() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
cursor() - Method in interface me.lucko.helper.bucket.Cycle
Gets the current position of the cursor, as as index relating to a position in the backing list.
cursor() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
Cycle<E> - Interface in me.lucko.helper.bucket
An infinite cycle of elements.
Cycle<E> - Class in me.lucko.helper.utils
Deprecated.
Cycle(List<E>) - Constructor for class me.lucko.helper.utils.Cycle
Deprecated.
 

D

data(int) - Method in class me.lucko.helper.item.ItemStackBuilder
 
DEFAULT_EXCEPTION_CONSUMER - Static variable in interface me.lucko.helper.event.functional.SubscriptionBuilder
 
DEFAULT_INVALID_ARGUMENT_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_INVALID_SENDER_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_INVALID_USAGE_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_ITEM_SLOTS - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
DEFAULT_LINES - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
DEFAULT_NEXT_PAGE_ITEM - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
DEFAULT_NEXT_PAGE_SLOT - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
DEFAULT_NO_PERMISSION_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_NOT_CONSOLE_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_NOT_OP_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_NOT_PLAYER_MESSAGE - Static variable in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
DEFAULT_PREVIOUS_PAGE_ITEM - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
DEFAULT_PREVIOUS_PAGE_SLOT - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
DEFAULT_SCHEME - Static variable in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
Delegate<T> - Interface in me.lucko.helper.interfaces
Represents a class which delegates calls to a different object.
Delegates - Class in me.lucko.helper.utils
A collection of utility methods for delegating Java 8 functions
Dependency(String, String, String, String) - Constructor for class me.lucko.helper.maven.LibraryLoader.Dependency
 
deserialize(TypeToken<?>, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonArraySerializer
 
deserialize(TypeToken<?>, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonNullSerializer
 
deserialize(TypeToken<?>, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonObjectSerializer
 
deserialize(TypeToken<?>, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonPrimitiveSerializer
 
deserialize(Class<T>, JsonElement) - Static method in interface me.lucko.helper.gson.GsonSerializable
Deserializes a JsonElement to a GsonSerializable object.
deserialize(TypeToken<?>, ConfigurationNode) - Method in class me.lucko.helper.gson.GsonSerializableConfigurateProxy
 
deserialize(JsonElement) - Static method in interface me.lucko.helper.hologram.Hologram
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.BlockPosition
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.BlockRegion
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.ChunkPosition
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.ChunkRegion
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.Direction
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.Point
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.Position
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.Region
 
deserialize(JsonElement) - Static method in class me.lucko.helper.serialize.VectorPoint
 
deserialize2d(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize2f(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize2i(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize2l(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize3d(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize3f(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize3i(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize3l(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize4d(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize4f(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize4i(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserialize4l(JsonElement) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
deserializeInventory(JsonElement, String) - Static method in class me.lucko.helper.serialize.Serializers
 
deserializeItemstack(JsonElement) - Static method in class me.lucko.helper.serialize.Serializers
 
deserializeItemstacks(JsonElement) - Static method in class me.lucko.helper.serialize.Serializers
 
deserializeRaw(Class<?>, JsonElement) - Static method in interface me.lucko.helper.gson.GsonSerializable
Deserializes a JsonElement to a GsonSerializable object.
despawn() - Method in interface me.lucko.helper.hologram.Hologram
Despawns the hologram
Direction - Class in me.lucko.helper.serialize
An immutable and serializable direction object
disable() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
divideIterable(Iterable<T>, int) - Static method in class me.lucko.helper.utils.CollectionUtils
 
DummyHelperPlugin - Class in me.lucko.helper.plugin
Dummy plugin to make the server load this lib.
DummyHelperPlugin() - Constructor for class me.lucko.helper.plugin.DummyHelperPlugin
 
durability(int) - Method in class me.lucko.helper.item.ItemStackBuilder
 

E

elapsed(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
elapsed() - Method in interface me.lucko.helper.cooldown.Cooldown
Returns the elapsed time in milliseconds since the cooldown was last reset, or since creation time
elapsed(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
elapsed() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Returns the elapsed time in milliseconds since the cooldown was last reset, or since creation time
elapsed(T) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
EMPTY - Static variable in class me.lucko.helper.menu.scheme.StandardSchemeMappings
 
Empty - Class in me.lucko.helper.metadata
An object which represents nothing.
empty() - Static method in interface me.lucko.helper.promise.Promise
Returns a new empty Promise
EMPTY - Static variable in interface me.lucko.helper.terminable.Terminable
 
empty() - Static method in class me.lucko.helper.utils.NullableOptional
Returns an empty NullableOptional instance.
enable() - Method in class me.lucko.helper.plugin.DummyHelperPlugin
 
enable() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
enchant(Enchantment, int) - Method in class me.lucko.helper.item.ItemStackBuilder
 
enchant(Enchantment) - Method in class me.lucko.helper.item.ItemStackBuilder
 
end() - Method in interface me.lucko.helper.function.chain.Chain
Gets an optional containing the object backing this chain.
endOrNull() - Method in interface me.lucko.helper.function.chain.Chain
Gets the object, or null.
entities() - Static method in class me.lucko.helper.metadata.Metadata
Gets the MetadataRegistry for Entitys.
entityHasMetadata(MetadataKey<?>) - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the entity has a given metadata key
EntityMetadataRegistry - Interface in me.lucko.helper.metadata.type
A registry which provides and stores MetadataMaps for Entitys.
equals(Object) - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
equals(Object) - Method in class me.lucko.helper.menu.scheme.AbstractSchemeMapping
 
equals(Object) - Method in class me.lucko.helper.metadata.Empty
 
equals(Object) - Method in class me.lucko.helper.random.VariableAmount.BaseAndAddition
 
equals(Object) - Method in class me.lucko.helper.random.VariableAmount.BaseAndVariance
 
equals(Object) - Method in class me.lucko.helper.random.VariableAmount.Fixed
 
equals(Object) - Method in class me.lucko.helper.random.VariableAmount.OptionalAmount
 
equals(Object) - Method in class me.lucko.helper.random.WeightedObject
 
equals(Object) - Method in class me.lucko.helper.serialize.BlockPosition
 
equals(Object) - Method in class me.lucko.helper.serialize.BlockRegion
 
equals(Object) - Method in class me.lucko.helper.serialize.ChunkPosition
 
equals(Object) - Method in class me.lucko.helper.serialize.ChunkRegion
 
equals(Object) - Method in class me.lucko.helper.serialize.Direction
 
equals(Object) - Method in class me.lucko.helper.serialize.Point
 
equals(Object) - Method in class me.lucko.helper.serialize.Position
 
equals(Object) - Method in class me.lucko.helper.serialize.Region
 
equals(Object) - Method in class me.lucko.helper.serialize.VectorPoint
 
equals(Object) - Method in class me.lucko.helper.utils.NullableOptional
Indicates whether some other object is "equal to" this NullableOptional.
equals(Object) - Method in class me.lucko.helper.utils.ServiceCallback
 
equalTo(Object) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which returns true if the target is Object.equals(Object) to the input.
equalTo(Function<A, ? extends B>, Object) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then evaluates the result against Predicates.equalTo(Object).
EventFilters - Class in me.lucko.helper.event.filter
Defines standard event predicates for use in functional event handlers.
EventHandlers - Class in me.lucko.helper.event.filter
Defines standard event predicates for use in functional event handlers.
Events - Class in me.lucko.helper
A functional event listening utility.
every(long) - Method in interface me.lucko.helper.scheduler.TaskBuilder.Delayed
Marks that the new task should repeat on the specified interval, and returns the next builder in the chain.
every(long, TimeUnit) - Method in interface me.lucko.helper.scheduler.TaskBuilder.Delayed
Marks that the new task should repeat on the specified interval, and returns the next builder in the chain.
every(long) - Method in interface me.lucko.helper.scheduler.TaskBuilder.ThreadContextual
Marks that the new task should start running instantly, but repeat on the specified interval, and returns the next builder in the chain.
every(long, TimeUnit) - Method in interface me.lucko.helper.scheduler.TaskBuilder.ThreadContextual
Marks that the new task should start running instantly, but repeat on the specified interval, and returns the next builder in the chain.
EXCEPTION_CONSUMER - Static variable in class me.lucko.helper.Scheduler
 
exceptionally(Throwable) - Static method in interface me.lucko.helper.promise.Promise
Returns a Promise which is already completed with the given exception.
exceptionally(ThreadContext, Function<Throwable, ? extends V>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's exception as the argument to the given function.
exceptionallyAsync(Function<Throwable, ? extends V>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's exception as the argument to the given function.
exceptionallyDelayed(ThreadContext, Function<Throwable, ? extends V>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's exception as the argument to the given function, after the delay has elapsed.
exceptionallyDelayedAsync(Function<Throwable, ? extends V>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's exception as the argument to the given function, after the delay has elapsed.
exceptionallyDelayedSync(Function<Throwable, ? extends V>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's exception as the argument to the given function, after the delay has elapsed.
exceptionallySync(Function<Throwable, ? extends V>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's exception as the argument to the given function.
exceptionConsumer(BiConsumer<Event, Throwable>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Sets the exception consumer for the handler.
exceptionConsumer(BiConsumer<? super T, Throwable>) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Sets the exception consumer for the handler.
executeCommand(String) - Static method in class me.lucko.helper.Helper
 
expireAfter(long, TimeUnit) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
 
expireAfter(long) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
 
expireAfter(long, TimeUnit) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
 
expireAfter(long) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
 
expireAfter(long, TimeUnit) - Method in interface me.lucko.helper.event.functional.SubscriptionBuilder
Sets the expiry time on the handler
expireAfter(long) - Method in interface me.lucko.helper.event.functional.SubscriptionBuilder
Sets the number of calls until the handler will automatically be unregistered
expireIf(Predicate<T>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
 
expireIf(BiPredicate<MergedSubscription<T>, T>, ExpiryTestStage...) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Add a expiry predicate.
expireIf(Predicate<T>) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
 
expireIf(BiPredicate<SingleSubscription<T>, T>, ExpiryTestStage...) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Add a expiry predicate.
expireIf(Predicate<T>) - Method in interface me.lucko.helper.event.functional.SubscriptionBuilder
Add a expiry predicate.
ExpiringValue<T> - Class in me.lucko.helper.metadata
Represents a value which will expire in the future
ExpiryTestStage - Enum in me.lucko.helper.event.functional
Represents when a expiry predicate should be tested relative to the handling of the event.
ExtendedJavaPlugin - Class in me.lucko.helper.plugin
An "extended" JavaPlugin class.
ExtendedJavaPlugin() - Constructor for class me.lucko.helper.plugin.ExtendedJavaPlugin
 

F

FileStorageHandler<T> - Class in me.lucko.helper.serialize
Utility class for handling storage file i/o.
FileStorageHandler(String, String, File) - Constructor for class me.lucko.helper.serialize.FileStorageHandler
 
fillWith(Item) - Method in class me.lucko.helper.menu.Gui
 
filter(Predicate<T>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
 
filter(Predicate<T>) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
 
filter(Predicate<T>) - Method in interface me.lucko.helper.event.functional.SubscriptionBuilder
Adds a filter to the handler.
filter(Predicate<? super T>) - Method in class me.lucko.helper.utils.NullableOptional
If a value is present, and the value matches the given predicate, return an NullableOptional describing the value, otherwise return an empty NullableOptional.
find(TypeToken<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParserRegistry
Tries to find an argument parser for the given type
find(Class<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParserRegistry
Tries to find an argument parser for the given class
find(TypeToken<T>) - Method in class me.lucko.helper.command.argument.SimpleParserRegistry
 
findAll(TypeToken<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParserRegistry
Finds all known parsers for a given type
findAll(Class<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParserRegistry
Finds all known parsers for a given class
findAll(TypeToken<T>) - Method in class me.lucko.helper.command.argument.SimpleParserRegistry
 
fixed(double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new 'fixed' variable amount, calls to VariableAmount.getAmount(java.util.Random) will always return the fixed value.
flag(ItemFlag...) - Method in class me.lucko.helper.item.ItemStackBuilder
 
flatMap(Function<? super T, ? extends Chain<? extends R>>) - Method in interface me.lucko.helper.function.chain.Chain
Transforms the backing object, and returns a new chain instance containing the result of the transformation.
flatMap(Function<? super T, NullableOptional<U>>) - Method in class me.lucko.helper.utils.NullableOptional
If a value is present, apply the provided NullableOptional-bearing mapping function to it, return that result, otherwise return an empty NullableOptional.
floor() - Method in class me.lucko.helper.serialize.Position
 
forcePut(MetadataKey<T>, T) - Method in interface me.lucko.helper.metadata.MetadataMap
Adds a metadata key and corresponding value into this map, removing any previous value if present.
forcePut(MetadataKey<T>, TransientValue<T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Adds a metadata key and corresponding value into this map, removing any previous value if present.
forCurrentThread() - Static method in enum me.lucko.helper.promise.ThreadContext
 
forEach(Consumer<Player>) - Static method in class me.lucko.helper.utils.Players
Applies a given action to all players on the server
forEachIfPlayer(Iterable<Object>, Consumer<Player>) - Static method in class me.lucko.helper.utils.Players
Applies an action to each object in the iterable, if it is a player.
forEachInRange(Location, double, Consumer<Player>) - Static method in class me.lucko.helper.utils.Players
Applies an action to all players within a given radius of a point
forEachOffline(Consumer<OfflinePlayer>) - Static method in class me.lucko.helper.utils.Players
 
forThread(Thread) - Static method in enum me.lucko.helper.promise.ThreadContext
 
forward(String, String, byte[]) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Sends a custom plugin message to a given server.
forward(String, String, ByteArrayDataOutput) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Sends a custom plugin message to a given server.
forwardToPlayer(String, String, byte[]) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Sends a custom plugin message to a given server.
forwardToPlayer(String, String, ByteArrayDataOutput) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Sends a custom plugin message to a given server.
from(long, TimeUnit) - Static method in class me.lucko.helper.scheduler.Ticks
Converts a duration in a certain unit of time to ticks.
from(Location) - Static method in class me.lucko.helper.serialize.Direction
 
fromLegacy(String, char) - Static method in class me.lucko.helper.text.TextUtils
 
fromLegacy(String) - Static method in class me.lucko.helper.text.TextUtils
 
fromOptional(Optional<T>) - Static method in class me.lucko.helper.utils.NullableOptional
Returns a NullableOptional describing the specified optional.
FunctionalCommandBuilder<T extends CommandSender> - Interface in me.lucko.helper.command.functional
Functional builder API for Command
FunctionalCommandHandler<T extends CommandSender> - Interface in me.lucko.helper.command.functional
Represents a handler for a Command
FunctionalHandlerList<T,R> - Interface in me.lucko.helper.event.functional
A functional builder which accumulates event handlers

G

generate(Class<T>, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
GenericPartitioningStrategy - Interface in me.lucko.helper.bucket.partitioning
A PartitioningStrategy which allocates partitions without reference to the object being added.
get() - Method in class me.lucko.helper.cache.Cache
 
get() - Method in class me.lucko.helper.cache.Lazy
 
get(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
Gets the internal cooldown instance associated with the given key
get(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
Gets the internal cooldown instance associated with the given key
get() - Static method in class me.lucko.helper.gson.GsonProvider
 
get(int) - Method in interface me.lucko.helper.menu.scheme.SchemeMapping
Gets an item from the mapping which represents the given key.
get(T) - Method in class me.lucko.helper.metadata.AbstractMetadataRegistry
 
get(Object) - Static method in class me.lucko.helper.metadata.Metadata
Gets a MetadataMap for the given object, if one already exists and has been cached in this registry.
get(MetadataKey<T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Gets an optional value for the given key.
get(T) - Method in interface me.lucko.helper.metadata.MetadataRegistry
Gets a MetadataMap for the given object, if one already exists and has been cached in this registry.
get(Block) - Method in interface me.lucko.helper.metadata.type.BlockMetadataRegistry
Gets a MetadataMap for the given block, if one already exists and has been cached in this registry.
get(Entity) - Method in interface me.lucko.helper.metadata.type.EntityMetadataRegistry
Gets a MetadataMap for the given entity, if one already exists and has been cached in this registry.
get(Player) - Method in interface me.lucko.helper.metadata.type.PlayerMetadataRegistry
Gets a MetadataMap for the given player, if one already exists and has been cached in this registry.
get(World) - Method in interface me.lucko.helper.metadata.type.WorldMetadataRegistry
Gets a MetadataMap for the given world, if one already exists and has been cached in this registry.
get() - Method in class me.lucko.helper.random.WeightedObject
 
get() - Static method in class me.lucko.helper.scoreboard.GlobalScoreboard
Gets the global scoreboard
get() - Static method in interface me.lucko.helper.scoreboard.Scoreboard
Gets the global scoreboard instance.
get() - Static method in class me.lucko.helper.timings.Timings
Gets the TimingManager
get(T) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
Gets the internal cooldown instance associated with the given key
get() - Method in class me.lucko.helper.utils.NullableOptional
If a value is present in this NullableOptional, returns the value, otherwise throws NoSuchElementException.
get(UUID) - Static method in class me.lucko.helper.utils.Players
Gets a player by uuid.
get(String) - Static method in class me.lucko.helper.utils.Players
Gets a player by username.
get() - Method in class me.lucko.helper.utils.ServiceCallback
Gets the service provider.
getAction() - Method in exception me.lucko.helper.command.CommandInterruptException
 
getAll() - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
Gets the cooldowns contained within this collection.
getAll() - Method in interface me.lucko.helper.cooldown.CooldownMap
Gets the cooldowns contained within this collection.
getAll() - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
Gets the cooldowns contained within this collection.
getAllWithKey(MetadataKey<K>) - Method in interface me.lucko.helper.metadata.type.BlockMetadataRegistry
Gets a map of the blocks with a given metadata key
getAllWithKey(MetadataKey<K>) - Method in interface me.lucko.helper.metadata.type.EntityMetadataRegistry
Gets a map of the entities with a given metadata key
getAllWithKey(MetadataKey<K>) - Method in interface me.lucko.helper.metadata.type.PlayerMetadataRegistry
Gets a map of the players with a given metadata key
getAllWithKey(MetadataKey<K>) - Method in interface me.lucko.helper.metadata.type.WorldMetadataRegistry
Gets a map of the worlds with a given metadata key
getAmount(Random) - Method in class me.lucko.helper.random.VariableAmount.BaseAndAddition
 
getAmount(Random) - Method in class me.lucko.helper.random.VariableAmount.BaseAndVariance
 
getAmount(Random) - Method in class me.lucko.helper.random.VariableAmount.Fixed
 
getAmount(Random) - Method in interface me.lucko.helper.random.VariableAmount
Gets an instance of the variable amount depending on the given random object.
getAmount() - Method in interface me.lucko.helper.random.VariableAmount
Gets an instance of the variable amount using the thread's ThreadLocalRandom instance.
getAmount(Random) - Method in class me.lucko.helper.random.VariableAmount.OptionalAmount
 
getArtifactId() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
getAsLong() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
 
getBacking() - Method in interface me.lucko.helper.bucket.Cycle
Gets the list currently backing this cycle
getBacking() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
getBase() - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
Gets the base cooldown
getBase() - Method in interface me.lucko.helper.cooldown.CooldownMap
Gets the base cooldown
getBlock(int, int, int) - Method in class me.lucko.helper.serialize.ChunkPosition
 
getBukkitId() - Method in interface me.lucko.helper.Scheduler.Task
Gets the Bukkit ID for this task
getBundledFile(String) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
getBundledFile(String) - Method in interface me.lucko.helper.plugin.HelperPlugin
Gets a bundled file from the plugins resource folder.
getCallCounter() - Method in interface me.lucko.helper.event.Subscription
Gets the number of times the handler has been called
getChannel(String, TypeToken<T>) - Method in class me.lucko.helper.messaging.AbstractMessenger
 
getChannel() - Method in interface me.lucko.helper.messaging.ChannelAgent
Gets the channel this agent is acting for.
getChannel(String, TypeToken<T>) - Method in interface me.lucko.helper.messaging.Messenger
Gets a messaging channel by name.
getChannel(String, Class<T>) - Method in interface me.lucko.helper.messaging.Messenger
Gets a messaging channel by name.
getChannel(String) - Method in interface me.lucko.helper.messaging.Messenger
Gets a messaging channel by name, with the String type.
getClassloader() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
getClassloader() - Method in interface me.lucko.helper.plugin.HelperPlugin
Gets the plugin's class loader
getCollisionRule() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getCollisionRule() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the current collision rule setting
getColor() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getColor() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the team color.
getCurrent() - Method in class me.lucko.helper.menu.paginated.PageInfo
 
getDelegate() - Method in interface me.lucko.helper.interfaces.Delegate
Gets the delegate object
getDepth() - Method in class me.lucko.helper.serialize.BlockRegion
 
getDepth() - Method in class me.lucko.helper.serialize.ChunkRegion
 
getDepth() - Method in class me.lucko.helper.serialize.Region
 
getDeserializeMethod(Class<?>) - Static method in interface me.lucko.helper.gson.GsonSerializable
Gets the deserialization method for a given class.
getDirection() - Method in class me.lucko.helper.serialize.Point
 
getDirection() - Method in class me.lucko.helper.serialize.VectorPoint
 
getDisplayName() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
getDisplayName() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getDisplayName() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Gets the current display name of this objective
getDisplayName() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the current display name of this team
getDisplaySlot() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
getDisplaySlot() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Gets the current display slot of this objective
getEventClass() - Method in interface me.lucko.helper.event.SingleSubscription
Gets the class the handler is handling
getEventClasses() - Method in interface me.lucko.helper.event.MergedSubscription
Gets a set of the individual event classes being listened to
getFallbackGui() - Method in class me.lucko.helper.menu.Gui
 
getFirstEmpty() - Method in class me.lucko.helper.menu.Gui
 
getFirstEmptySlot() - Method in class me.lucko.helper.menu.Gui
 
getFlooredAmount(Random) - Method in interface me.lucko.helper.random.VariableAmount
Gets the amount as if from VariableAmount.getAmount(Random) but floored to the nearest integer equivalent.
getFlooredAmount() - Method in interface me.lucko.helper.random.VariableAmount
Gets the amount as if from VariableAmount.getAmount() but floored to the nearest integer equivalent.
getForBlock(BlockPosition) - Static method in class me.lucko.helper.metadata.Metadata
 
getForBlock(Block) - Static method in class me.lucko.helper.metadata.Metadata
 
getForEntity(UUID) - Static method in class me.lucko.helper.metadata.Metadata
 
getForEntity(Entity) - Static method in class me.lucko.helper.metadata.Metadata
 
getForPlayer(UUID) - Static method in class me.lucko.helper.metadata.Metadata
 
getForPlayer(Player) - Static method in class me.lucko.helper.metadata.Metadata
 
getForWorld(UUID) - Static method in class me.lucko.helper.metadata.Metadata
 
getForWorld(World) - Static method in class me.lucko.helper.metadata.Metadata
 
getGroupId() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
getGroups() - Method in interface me.lucko.helper.messaging.InstanceData
Gets the groups this server is a member of.
getHandle() - Method in class me.lucko.helper.menu.Gui
Gets the delegate Bukkit inventory
getHandledClass() - Method in interface me.lucko.helper.event.MergedSubscription
Gets the handled class
getHandlers() - Method in class me.lucko.helper.menu.Item
Gets the click handlers for this Item.
getHeight() - Method in class me.lucko.helper.serialize.BlockRegion
 
getHeight() - Method in class me.lucko.helper.serialize.Region
 
getId() - Method in class me.lucko.helper.menu.SimpleSlot
Gets the id of this slot
getId() - Method in interface me.lucko.helper.menu.Slot
Gets the id of this slot
getId() - Method in interface me.lucko.helper.messaging.InstanceData
Gets the unique ID of the current server instance.
getId() - Method in interface me.lucko.helper.metadata.MetadataKey
Gets the id of this key.
getId() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
getId() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getId() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Gets the id of this objective
getId() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the id of this team
getIfPresent() - Method in class me.lucko.helper.cache.Cache
 
getIndex() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
getInitialTitle() - Method in class me.lucko.helper.menu.Gui
Gets the initial title which was set when this GUI was made
getItem() - Method in class me.lucko.helper.menu.SimpleSlot
Gets the item in this slot
getItem() - Method in interface me.lucko.helper.menu.Slot
Gets the item in this slot
getItemSlots() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getItemStack() - Method in class me.lucko.helper.menu.Item
Gets the ItemStack backing this Item.
getKnownProfiles() - Method in interface me.lucko.helper.profiles.ProfileRepository
Gets a collection of profiles known to the repository.
getLastTested(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
getLastTested() - Method in interface me.lucko.helper.cooldown.Cooldown
Return the time in milliseconds when this cooldown was last Cooldown.test()ed.
getLastTested(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
getLastTested() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Return the time in milliseconds when this cooldown was last Cooldown.test()ed.
getLines() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getListeners() - Method in interface me.lucko.helper.messaging.ChannelAgent
Gets an immutable copy of the listeners currently held by this agent.
getMainThread() - Static method in class me.lucko.helper.internal.LoaderUtils
 
getMaskedIndexes() - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
getMaskedIndexesImmutable() - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
getMax() - Method in class me.lucko.helper.serialize.BlockRegion
 
getMax() - Method in class me.lucko.helper.serialize.ChunkRegion
 
getMax() - Method in class me.lucko.helper.serialize.Region
 
getMenuSize(int) - Static method in class me.lucko.helper.menu.Gui
Utility method to get the number of lines needed for x items
getMenuSize(int, int) - Static method in class me.lucko.helper.menu.Gui
Utility method to get the number of lines needed for x items
getMin() - Method in class me.lucko.helper.serialize.BlockRegion
 
getMin() - Method in class me.lucko.helper.serialize.ChunkRegion
 
getMin() - Method in class me.lucko.helper.serialize.Region
 
getName() - Method in interface me.lucko.helper.messaging.Channel
Gets the name of the channel.
getName() - Method in interface me.lucko.helper.profiles.Profile
Gets the username associated with this profile
getNameTagVisibility() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getNameTagVisibility() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the current nametag visibility setting
getNextPageItem() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getNextPageSlot() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getNow(V) - Method in interface me.lucko.helper.promise.Promise
Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.
getNullable(int) - Method in class me.lucko.helper.menu.scheme.AbstractSchemeMapping
 
getNullable(int) - Method in interface me.lucko.helper.menu.scheme.SchemeMapping
Gets an item from the mapping which represents the given key.
getNullable(UUID) - Static method in class me.lucko.helper.utils.Players
Gets a player by uuid.
getNullable(String) - Static method in class me.lucko.helper.utils.Players
Gets a player by username.
getNullable() - Method in class me.lucko.helper.utils.ServiceCallback
Gets the service provider, or null if it is not provided for.
getObjective(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
getObjective(String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Gets an existing scoreboard objective if one with the id exists
getOffline(UUID) - Static method in class me.lucko.helper.utils.Players
 
getOffline(String) - Static method in class me.lucko.helper.utils.Players
 
getOfflineNullable(UUID) - Static method in class me.lucko.helper.utils.Players
 
getOfflineNullable(String) - Static method in class me.lucko.helper.utils.Players
 
getOrDefault(MetadataKey<T>, T) - Method in interface me.lucko.helper.metadata.MetadataMap
Gets a value for the given key, or returns the default if one isn't present.
getOrNull() - Method in class me.lucko.helper.metadata.ExpiringValue
 
getOrNull(MetadataKey<T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Gets a value for the given key, or null if one isn't present.
getOrNull() - Method in class me.lucko.helper.metadata.SoftValue
 
getOrNull() - Method in interface me.lucko.helper.metadata.TransientValue
Returns the underlying value, or null if it has expired
getOrNull() - Method in class me.lucko.helper.metadata.WeakValue
 
getOrPut(MetadataKey<T>, Supplier<T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Gets a value for the given key, or puts and returns the default if one isn't present.
getOrPutExpiring(MetadataKey<T>, Supplier<TransientValue<T>>) - Method in interface me.lucko.helper.metadata.MetadataMap
Gets a value for the given key, or puts and returns the default if one isn't present.
getPartition(int) - Method in class me.lucko.helper.bucket.AbstractBucket
 
getPartition(int) - Method in interface me.lucko.helper.bucket.Bucket
Gets the partition with the given index value
getPartitionCount() - Method in class me.lucko.helper.bucket.AbstractBucket
 
getPartitionCount() - Method in interface me.lucko.helper.bucket.Bucket
Gets the number of partitions used to form this bucket.
getPartitionIndex() - Method in interface me.lucko.helper.bucket.BucketPartition
Gets the index of this partition within the bucket
getPartitions() - Method in class me.lucko.helper.bucket.AbstractBucket
 
getPartitions() - Method in interface me.lucko.helper.bucket.Bucket
Gets the partitions which form this bucket.
getPitch() - Method in class me.lucko.helper.serialize.Direction
 
getPlayer() - Method in class me.lucko.helper.menu.Gui
Gets the player viewing this Gui
getPlayerObjective(Player, String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
getPlayerObjective(Player, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Gets an existing per-player scoreboard objective if one with the id exists
getPlayers() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getPlayers() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets an immutable copy of the teams members
getPlayerTeam(Player, String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
getPlayerTeam(Player, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Gets an existing per-player scoreboard team if one with the id exists
getPlugin() - Static method in class me.lucko.helper.internal.LoaderUtils
 
getPlugin(String, Class<T>) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
getPlugin(String, Class<T>) - Method in interface me.lucko.helper.plugin.HelperPlugin
Gets a plugin instance for the given plugin name
getPosition() - Method in class me.lucko.helper.serialize.Point
 
getPosition() - Method in class me.lucko.helper.serialize.VectorPoint
 
getPrefix() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getPrefix() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the current prefix for this team
getPrettyPrinting() - Static method in class me.lucko.helper.gson.GsonProvider
 
getPreviousPageItem() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getPreviousPageSlot() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getProfile(UUID) - Method in interface me.lucko.helper.profiles.ProfileRepository
Gets a profile from this repository, using the unique id as the base for the request.
getProfile(String) - Method in interface me.lucko.helper.profiles.ProfileRepository
Gets a profile from this repository, using the name as the base for the request.
getProfiles(Iterable<UUID>) - Method in interface me.lucko.helper.profiles.ProfileRepository
Populates a map of unique id to profile for the given iterable of unique ids.
getProfilesByName(Iterable<String>) - Method in interface me.lucko.helper.profiles.ProfileRepository
Populates a map of name to profile for the given iterable of names.
getProtocolName() - Method in enum me.lucko.helper.scoreboard.ScoreboardTeam.CollisionRule
 
getProtocolName() - Method in enum me.lucko.helper.scoreboard.ScoreboardTeam.NameTagVisibility
 
getRelative(BlockFace) - Method in class me.lucko.helper.serialize.BlockPosition
 
getRelative(BlockFace, int) - Method in class me.lucko.helper.serialize.BlockPosition
 
getRelative(BlockFace) - Method in class me.lucko.helper.serialize.ChunkPosition
 
getRelative(BlockFace, int) - Method in class me.lucko.helper.serialize.ChunkPosition
 
getRelative(BlockFace) - Method in class me.lucko.helper.serialize.Position
 
getRelative(BlockFace, double) - Method in class me.lucko.helper.serialize.Position
 
getRemainingSpace() - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Gets the number of remaining slots in the populator.
getRepoUrl() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
getScheme() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getScore(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
getScore(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Gets the value mapped to a given score, if present
getScores() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
getScores() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Gets an immutable copy of the current objective scores
getServer(Consumer<String>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Gets this servers name, as defined in the BungeeCord config
getServers(Consumer<List<String>>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Get a list of server name strings, as defined in the BungeeCord config
getServerVersion() - Static method in class me.lucko.helper.utils.NmsUtil
 
getService(Class<T>) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
getService(Class<T>) - Method in interface me.lucko.helper.plugin.HelperPlugin
Gets a service provided by the ServiceManager
getSize() - Method in class me.lucko.helper.menu.paginated.PageInfo
 
getSlot(int) - Method in class me.lucko.helper.menu.Gui
 
getSlots() - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Gets an immutable copy of the slots used by this populator.
getSuffix() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
getSuffix() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets the current suffix for this team
getTeam(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
getTeam(String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Gets an existing scoreboard team if one with the id exists
getTimeout() - Method in interface me.lucko.helper.cooldown.Cooldown
Gets the timeout in milliseconds for this cooldown
getTimeout() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Gets the timeout in milliseconds for this cooldown
getTimesRan() - Method in interface me.lucko.helper.Scheduler.Task
Gets the number of times this task has ran.
getTimestamp() - Method in interface me.lucko.helper.profiles.Profile
Gets the timestamp when this Profile was created or last updated.
getTitle() - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
getType() - Method in interface me.lucko.helper.interfaces.TypeAware
 
getType() - Method in interface me.lucko.helper.messaging.Channel
Gets the channels message type.
getType() - Method in interface me.lucko.helper.metadata.MetadataKey
Get the type of the value mapped to this key
getUniqueId() - Method in interface me.lucko.helper.profiles.Profile
Gets the unique id associated with this profile
getUrl() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
getVersion() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
getWeight() - Method in interface me.lucko.helper.random.Weighted
Gets the weight of this entry.
getWeight() - Method in class me.lucko.helper.random.WeightedObject
 
getWidth() - Method in class me.lucko.helper.serialize.BlockRegion
 
getWidth() - Method in class me.lucko.helper.serialize.ChunkRegion
 
getWidth() - Method in class me.lucko.helper.serialize.Region
 
getWorld() - Method in class me.lucko.helper.serialize.BlockPosition
 
getWorld() - Method in class me.lucko.helper.serialize.ChunkPosition
 
getWorld() - Method in class me.lucko.helper.serialize.Position
 
getX() - Method in class me.lucko.helper.serialize.BlockPosition
 
getX() - Method in class me.lucko.helper.serialize.ChunkPosition
 
getX() - Method in class me.lucko.helper.serialize.Position
 
getY() - Method in class me.lucko.helper.serialize.BlockPosition
 
getY() - Method in class me.lucko.helper.serialize.Position
 
getYaw() - Method in class me.lucko.helper.serialize.Direction
 
getZ() - Method in class me.lucko.helper.serialize.BlockPosition
 
getZ() - Method in class me.lucko.helper.serialize.ChunkPosition
 
getZ() - Method in class me.lucko.helper.serialize.Position
 
GlobalScoreboard - Class in me.lucko.helper.scoreboard
Contains a "global" scoreboard instance, lazily loaded on first request.
gson(Path) - Static method in class me.lucko.helper.config.Configs
 
gson(File) - Static method in class me.lucko.helper.config.Configs
 
gson - Variable in class me.lucko.helper.serialize.GsonStorageHandler
 
GsonConverter - Interface in me.lucko.helper.gson.converter
A utility for converting between GSON's JsonElement family of classes, and standard Java types.
GsonConverters - Class in me.lucko.helper.gson.converter
Provides some default GsonConverters.
gsonLoad(Path) - Static method in class me.lucko.helper.config.Configs
 
gsonLoad(File) - Static method in class me.lucko.helper.config.Configs
 
GsonProvider - Class in me.lucko.helper.gson
Provides static instances of Gson
gsonSave(Path, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
gsonSave(File, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
GsonSerializable - Interface in me.lucko.helper.gson
An object which can be serialized to JSON.
GsonSerializableAdapterFactory - Class in me.lucko.helper.gson
 
GsonSerializableConfigurateProxy - Class in me.lucko.helper.gson
 
GsonStorageHandler<T> - Class in me.lucko.helper.serialize
Extension of FileStorageHandler implemented using Gson.
GsonStorageHandler(String, String, File, Class<T>) - Constructor for class me.lucko.helper.serialize.GsonStorageHandler
 
GsonStorageHandler(String, String, File, Class<T>, Gson) - Constructor for class me.lucko.helper.serialize.GsonStorageHandler
 
GsonStorageHandler(String, String, File, TypeToken<T>) - Constructor for class me.lucko.helper.serialize.GsonStorageHandler
 
GsonStorageHandler(String, String, File, TypeToken<T>, Gson) - Constructor for class me.lucko.helper.serialize.GsonStorageHandler
 
GsonStorageHandler(String, String, File, Type) - Constructor for class me.lucko.helper.serialize.GsonStorageHandler
 
GsonStorageHandler(String, String, File, Type, Gson) - Constructor for class me.lucko.helper.serialize.GsonStorageHandler
 
Gui - Class in me.lucko.helper.menu
A simple GUI abstraction
Gui(Player, int, String) - Constructor for class me.lucko.helper.menu.Gui
 
gui() - Method in class me.lucko.helper.menu.SimpleSlot
Gets the GUI this slot references
gui() - Method in interface me.lucko.helper.menu.Slot
Gets the GUI this slot references

H

handle(CommandContext<T>) - Method in interface me.lucko.helper.command.functional.FunctionalCommandHandler
Executes the handler using the given command context
handle(InventoryClickEvent) - Method in class me.lucko.helper.menu.SimpleSlot
 
handler(FunctionalCommandHandler<T>) - Method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
Builds this FunctionalCommandBuilder into a Command instance.
handler(Consumer<? super T>) - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Builds and registers the Handler.
handler(Consumer<? super T>) - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Builds and registers the Handler.
handlers() - Method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Return the handler list builder to append handlers for the event.
handlers() - Method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Return the handler list builder to append handlers for the event.
handlers - Variable in class me.lucko.helper.menu.SimpleSlot
 
HARDENED_CLAY - Static variable in class me.lucko.helper.menu.scheme.StandardSchemeMappings
 
has(MetadataKey<?>) - Method in interface me.lucko.helper.metadata.MetadataMap
Returns if this map contains the given key, and the types of each key match.
hashCode() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
hashCode() - Method in class me.lucko.helper.menu.scheme.AbstractSchemeMapping
 
hashCode() - Method in class me.lucko.helper.random.VariableAmount.BaseAndAddition
 
hashCode() - Method in class me.lucko.helper.random.VariableAmount.BaseAndVariance
 
hashCode() - Method in class me.lucko.helper.random.VariableAmount.Fixed
 
hashCode() - Method in class me.lucko.helper.random.VariableAmount.OptionalAmount
 
hashCode() - Method in class me.lucko.helper.random.WeightedObject
 
hashCode() - Method in class me.lucko.helper.serialize.BlockPosition
 
hashCode() - Method in class me.lucko.helper.serialize.BlockRegion
 
hashCode() - Method in class me.lucko.helper.serialize.ChunkPosition
 
hashCode() - Method in class me.lucko.helper.serialize.ChunkRegion
 
hashCode() - Method in class me.lucko.helper.serialize.Direction
 
hashCode() - Method in class me.lucko.helper.serialize.Point
 
hashCode() - Method in class me.lucko.helper.serialize.Position
 
hashCode() - Method in class me.lucko.helper.serialize.Region
 
hashCode() - Method in class me.lucko.helper.serialize.VectorPoint
 
hashCode() - Method in class me.lucko.helper.utils.NullableOptional
Returns the hash code value of the present value, if any, or -1 if no value is present.
hashCode() - Method in class me.lucko.helper.utils.ServiceCallback
 
hasItem() - Method in class me.lucko.helper.menu.SimpleSlot
Gets if this slot has an item
hasItem() - Method in interface me.lucko.helper.menu.Slot
Gets if this slot has an item
hasListeners() - Method in interface me.lucko.helper.messaging.ChannelAgent
Gets if this agent has any active listeners.
hasMappingFor(int) - Method in class me.lucko.helper.menu.scheme.AbstractSchemeMapping
 
hasMappingFor(int) - Method in interface me.lucko.helper.menu.scheme.SchemeMapping
Gets if this scheme has a mapping for a given key
hasPlayer(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
hasPlayer(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Returns true if the given player is a member of this team
hasPlayer(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Returns true if the given player is a member of this team
hasScore(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
hasScore(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Returns true if this objective has a given score
hasSpace() - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Gets if there is any space left in this populator
hasTerminated() - Method in class me.lucko.helper.terminable.registry.SimpleTerminableRegistry
 
hasTerminated() - Method in interface me.lucko.helper.terminable.Terminable
Used to help cleanup held terminable instances in registries
hasTerminated() - Method in class me.lucko.helper.utils.ServiceCallback
 
Helper - Class in me.lucko.helper
Base class for helper, which mainly just proxies calls to Bukkit.getServer() for convenience.
HelperPlugin - Interface in me.lucko.helper.plugin
 
hideAttributes() - Method in class me.lucko.helper.item.ItemStackBuilder
 
hocon(Path) - Static method in class me.lucko.helper.config.Configs
 
hocon(File) - Static method in class me.lucko.helper.config.Configs
 
hoconLoad(Path) - Static method in class me.lucko.helper.config.Configs
 
hoconLoad(File) - Static method in class me.lucko.helper.config.Configs
 
hoconSave(Path, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
hoconSave(File, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
Hologram - Interface in me.lucko.helper.hologram
A simple hologram utility.
hostPlugin() - Static method in class me.lucko.helper.Helper
Gets the plugin which is "hosting" helper.

I

ifElse(Predicate<? super T>, R, R) - Method in interface me.lucko.helper.function.chain.Chain
Returns a new chain instance containing a new value, depending on if the current object passed the given test.
ifPresent(MetadataKey<T>, Consumer<? super T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Attempts to get a value for the given key, and applies the action is present.
ifPresent(Consumer<? super T>) - Method in class me.lucko.helper.utils.NullableOptional
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
ignoreCancelled() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the event isn't cancelled
ignoreDisallowedLogin() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the login is allowed
ignoreDisallowedPreLogin() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the login is allowed
ignoreNotCancelled() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the event is cancelled
ignoreSameBlock() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the player has moved over a block
ignoreSameBlockAndY() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the player has moved over a block, not including movement directly up and down.
ignoreSameChunk() - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the player has moved over a chunk border
IMMUTABLE - Static variable in class me.lucko.helper.gson.converter.GsonConverters
An implementation of GsonConverter, which returns immutable collections where applicable.
ImmutableCollectors - Class in me.lucko.helper.utils
Immutable implementations of Collector using Guava's immutable collections.
ImmutableCommandContext<T extends CommandSender> - Class in me.lucko.helper.command.context
 
ImmutableCommandContext(T, String, String[]) - Constructor for class me.lucko.helper.command.context.ImmutableCommandContext
 
in(Collection<? extends T>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which returns true if the input is contained within the given collection.
in(Function<A, ? extends B>, Collection<? extends B>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then evaluates the result against Predicates.in(Collection).
in(T...) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which returns true if the input is contained within the given var args.
in(Function<A, ? extends B>, B...) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then evaluates the result against Predicates.in(Object[]).
index() - Method in interface me.lucko.helper.command.argument.Argument
Gets the index of the argument
index - Variable in class me.lucko.helper.command.argument.SimpleArgument
 
index() - Method in class me.lucko.helper.command.argument.SimpleArgument
 
info(String) - Static method in class me.lucko.helper.utils.Log
 
inRegion(BlockPosition) - Method in class me.lucko.helper.serialize.BlockRegion
 
inRegion(Block) - Method in class me.lucko.helper.serialize.BlockRegion
 
inRegion(int, int, int) - Method in class me.lucko.helper.serialize.BlockRegion
 
inRegion(ChunkPosition) - Method in class me.lucko.helper.serialize.ChunkRegion
 
inRegion(int, int) - Method in class me.lucko.helper.serialize.ChunkRegion
 
inRegion(Position) - Method in class me.lucko.helper.serialize.Region
 
inRegion(Location) - Method in class me.lucko.helper.serialize.Region
 
inRegion(double, double, double) - Method in class me.lucko.helper.serialize.Region
 
INSTANCE - Static variable in class me.lucko.helper.gson.configurate.JsonArraySerializer
 
INSTANCE - Static variable in class me.lucko.helper.gson.configurate.JsonNullSerializer
 
INSTANCE - Static variable in class me.lucko.helper.gson.configurate.JsonObjectSerializer
 
INSTANCE - Static variable in class me.lucko.helper.gson.configurate.JsonPrimitiveSerializer
 
INSTANCE - Static variable in class me.lucko.helper.gson.GsonSerializableAdapterFactory
 
INSTANCE - Static variable in class me.lucko.helper.gson.GsonSerializableConfigurateProxy
 
instance() - Static method in class me.lucko.helper.metadata.Empty
 
InstanceData - Interface in me.lucko.helper.messaging
Provides information about the current server instance.
instanceOf(Class<?>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which returns true if the input is an instance of the given class.
instanceOf(Function<A, ? extends B>, Class<?>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then evaluates the result against Predicates.instanceOf(Class).
internalAsync() - Static method in class me.lucko.helper.Scheduler
Returns a variant of Scheduler.async() which uses an internal thread pool to execute tasks.
invalidate() - Method in class me.lucko.helper.cache.Cache
 
ip(Player, Consumer<Map.Entry<String, Integer>>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Get the real IP of a player
isActive() - Method in interface me.lucko.helper.event.Subscription
Gets whether the handler is active
isAllowFriendlyFire() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
isAllowFriendlyFire() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets if friendly fire is allowed
isCanSeeFriendlyInvisibles() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
isCanSeeFriendlyInvisibles() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets if members of this team can see invisible members on the same team
isEmpty() - Method in class me.lucko.helper.bucket.AbstractBucket
 
isEmpty() - Method in interface me.lucko.helper.metadata.MetadataMap
Returns if the map is empty
isFirstDraw() - Method in class me.lucko.helper.menu.Gui
 
isNull() - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which returns true if the input is null, false otherwise.
isNull(Function<A, ? extends B>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then evaluates the result against Predicates.isNull().
isPresent() - Method in interface me.lucko.helper.command.argument.Argument
Gets if the argument is present
isPresent() - Method in class me.lucko.helper.command.argument.SimpleArgument
 
isPresent() - Method in class me.lucko.helper.utils.NullableOptional
Return true if there is a value present, otherwise false.
isValid() - Method in class me.lucko.helper.menu.Gui
Returns true unless this GUI has been invalidated, through being closed, or the player leaving.
Item - Class in me.lucko.helper.menu
The initial model of a clickable item in a Gui.
Item(Map<ClickType, Consumer<InventoryClickEvent>>, ItemStack) - Constructor for class me.lucko.helper.menu.Item
 
Item.Builder - Class in me.lucko.helper.menu
Aids creation of Item instances.
itemSlots(List<Integer>) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
ItemStackBuilder - Class in me.lucko.helper.item
Easily construct ItemStack instances
iterator() - Method in class me.lucko.helper.bucket.AbstractBucket
 

J

join() - Method in interface me.lucko.helper.promise.Promise
Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.
joinNewline(String...) - Static method in class me.lucko.helper.text.TextUtils
 
joinNewline(Stream<String>) - Static method in class me.lucko.helper.text.TextUtils
 
JsonArraySerializer - Class in me.lucko.helper.gson.configurate
 
JsonBuilder - Class in me.lucko.helper.gson
Builder utilities for creating GSON Objects/Arrays.
JsonBuilder.JsonArrayBuilder - Interface in me.lucko.helper.gson
A JsonArray builder utility
JsonBuilder.JsonObjectBuilder - Interface in me.lucko.helper.gson
A JsonObject builder utility
JsonNullSerializer - Class in me.lucko.helper.gson.configurate
 
JsonObjectSerializer - Class in me.lucko.helper.gson.configurate
 
JsonPrimitiveSerializer - Class in me.lucko.helper.gson.configurate
 

K

kickPlayer(String, String) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Kick a player from the proxy

L

label() - Method in interface me.lucko.helper.command.context.CommandContext
Gets the command label which was used to execute this command
label() - Method in class me.lucko.helper.command.context.ImmutableCommandContext
 
lastTested - Variable in class me.lucko.helper.utils.Cooldown
Deprecated.
 
Lazy<T> - Class in me.lucko.helper.cache
A lazy supplier extension.
LibraryLoader - Class in me.lucko.helper.maven
Resolves MavenLibrary annotations for a class, and loads the dependency into the classloader.
LibraryLoader() - Constructor for class me.lucko.helper.maven.LibraryLoader
 
LibraryLoader.Dependency - Class in me.lucko.helper.maven
 
lines(int) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
load(String, String, String) - Static method in class me.lucko.helper.maven.LibraryLoader
 
load(String, String, String, String) - Static method in class me.lucko.helper.maven.LibraryLoader
 
load(LibraryLoader.Dependency) - Static method in class me.lucko.helper.maven.LibraryLoader
 
load() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
load() - Method in class me.lucko.helper.serialize.FileStorageHandler
 
load(JsonObject) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
Loads a JsonObject of keys mapped to the last "test" time into this collection.
loadAll(Object) - Static method in class me.lucko.helper.maven.LibraryLoader
Resolves all MavenLibrary annotations on the given object.
loadAll(Class<?>) - Static method in class me.lucko.helper.maven.LibraryLoader
Resolves all MavenLibrary annotations on the given class.
loadConfig(String) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
loadConfig(String) - Method in interface me.lucko.helper.plugin.HelperPlugin
Loads a config file from a file name.
loadConfigNode(String) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
loadConfigNode(String) - Method in interface me.lucko.helper.plugin.HelperPlugin
Loads a config file from a file name.
LoaderUtils - Class in me.lucko.helper.internal
Provides the instance which loaded the helper classes into the server
Log - Class in me.lucko.helper.utils
Utility for quickly accessing a logger instance without using Bukkit.getLogger()
lookupBlocksWithKey(MetadataKey<T>) - Static method in class me.lucko.helper.metadata.Metadata
 
lookupEntitiesWithKey(MetadataKey<T>) - Static method in class me.lucko.helper.metadata.Metadata
 
lookupKnownProfiles() - Method in interface me.lucko.helper.profiles.ProfileRepository
Gets a collection of profiles known to the repository.
lookupPlayersWithKey(MetadataKey<T>) - Static method in class me.lucko.helper.metadata.Metadata
 
lookupProfile(UUID) - Method in interface me.lucko.helper.profiles.ProfileRepository
Gets a profile from this repository, using the unique id as the base for the request.
lookupProfile(String) - Method in interface me.lucko.helper.profiles.ProfileRepository
Gets a profile from this repository, using the name as the base for the request.
lookupProfiles(Iterable<UUID>) - Method in interface me.lucko.helper.profiles.ProfileRepository
Populates a map of unique id to profile for the given iterable of unique ids.
lookupProfilesByName(Iterable<String>) - Method in interface me.lucko.helper.profiles.ProfileRepository
Populates a map of name to profile for the given iterable of names.
lookupWorldsWithKey(MetadataKey<T>) - Static method in class me.lucko.helper.metadata.Metadata
 
lore(String) - Method in class me.lucko.helper.item.ItemStackBuilder
 
lore(String...) - Method in class me.lucko.helper.item.ItemStackBuilder
 
lore(Iterable<String>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
lowestSize() - Static method in class me.lucko.helper.bucket.partitioning.PartitioningStrategies
 

M

makeAssertion(boolean, String) - Static method in exception me.lucko.helper.command.CommandInterruptException
Makes an assertion about a condition.
map(Function<? super T, ? extends R>) - Method in interface me.lucko.helper.function.chain.Chain
Transforms the backing object, and returns a new chain instance containing the result of the transformation.
map(Function<? super T, ? extends U>) - Method in class me.lucko.helper.utils.NullableOptional
If a value is present, apply the provided mapping function to it, and return an NullableOptional describing the result.
mapNullSafe(Function<? super T, ? extends R>, R) - Method in interface me.lucko.helper.function.chain.Chain
Transforms the backing object and returns a new chain instance containing the result of the transformation, if the backing object is not null.
mapNullSafeGet(Function<? super T, ? extends R>, Supplier<? extends R>) - Method in interface me.lucko.helper.function.chain.Chain
Transforms the backing object and returns a new chain instance containing the result of the transformation, if the backing object is not null.
mapOrElse(Predicate<? super T>, Function<? super T, ? extends R>, R) - Method in interface me.lucko.helper.function.chain.Chain
Transforms the backing object, and returns a new chain instance containing the result of the transformation function, if the test is passed.
mapOrElse(Predicate<? super T>, Function<? super T, ? extends R>, Function<? super T, ? extends R>) - Method in interface me.lucko.helper.function.chain.Chain
Transforms the backing object, and returns a new chain instance containing the result of the chosen transformation function.
mappingFunc - Variable in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
mask(String) - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
maskEmpty(int) - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
masks(String...) - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
MavenLibraries - Annotation Type in me.lucko.helper.maven
Annotation to indicate the required libraries for a class.
MavenLibrary - Annotation Type in me.lucko.helper.maven
Annotation to indicate a required library for a class.
me.lucko.helper - package me.lucko.helper
 
me.lucko.helper.bucket - package me.lucko.helper.bucket
 
me.lucko.helper.bucket.factory - package me.lucko.helper.bucket.factory
 
me.lucko.helper.bucket.partitioning - package me.lucko.helper.bucket.partitioning
 
me.lucko.helper.cache - package me.lucko.helper.cache
 
me.lucko.helper.command - package me.lucko.helper.command
 
me.lucko.helper.command.argument - package me.lucko.helper.command.argument
 
me.lucko.helper.command.context - package me.lucko.helper.command.context
 
me.lucko.helper.command.functional - package me.lucko.helper.command.functional
 
me.lucko.helper.config - package me.lucko.helper.config
 
me.lucko.helper.cooldown - package me.lucko.helper.cooldown
 
me.lucko.helper.event - package me.lucko.helper.event
 
me.lucko.helper.event.filter - package me.lucko.helper.event.filter
 
me.lucko.helper.event.functional - package me.lucko.helper.event.functional
 
me.lucko.helper.event.functional.merged - package me.lucko.helper.event.functional.merged
 
me.lucko.helper.event.functional.single - package me.lucko.helper.event.functional.single
 
me.lucko.helper.function - package me.lucko.helper.function
 
me.lucko.helper.function.chain - package me.lucko.helper.function.chain
 
me.lucko.helper.gson - package me.lucko.helper.gson
 
me.lucko.helper.gson.configurate - package me.lucko.helper.gson.configurate
 
me.lucko.helper.gson.converter - package me.lucko.helper.gson.converter
 
me.lucko.helper.hologram - package me.lucko.helper.hologram
 
me.lucko.helper.interfaces - package me.lucko.helper.interfaces
 
me.lucko.helper.internal - package me.lucko.helper.internal
 
me.lucko.helper.item - package me.lucko.helper.item
 
me.lucko.helper.maven - package me.lucko.helper.maven
 
me.lucko.helper.menu - package me.lucko.helper.menu
 
me.lucko.helper.menu.paginated - package me.lucko.helper.menu.paginated
 
me.lucko.helper.menu.scheme - package me.lucko.helper.menu.scheme
 
me.lucko.helper.messaging - package me.lucko.helper.messaging
 
me.lucko.helper.messaging.bungee - package me.lucko.helper.messaging.bungee
 
me.lucko.helper.metadata - package me.lucko.helper.metadata
 
me.lucko.helper.metadata.type - package me.lucko.helper.metadata.type
 
me.lucko.helper.plugin - package me.lucko.helper.plugin
 
me.lucko.helper.plugin.ap - package me.lucko.helper.plugin.ap
 
me.lucko.helper.profiles - package me.lucko.helper.profiles
 
me.lucko.helper.promise - package me.lucko.helper.promise
 
me.lucko.helper.random - package me.lucko.helper.random
 
me.lucko.helper.scheduler - package me.lucko.helper.scheduler
 
me.lucko.helper.scheduler.sync - package me.lucko.helper.scheduler.sync
 
me.lucko.helper.scoreboard - package me.lucko.helper.scoreboard
 
me.lucko.helper.serialize - package me.lucko.helper.serialize
 
me.lucko.helper.terminable - package me.lucko.helper.terminable
 
me.lucko.helper.terminable.composite - package me.lucko.helper.terminable.composite
 
me.lucko.helper.terminable.registry - package me.lucko.helper.terminable.registry
 
me.lucko.helper.text - package me.lucko.helper.text
 
me.lucko.helper.timings - package me.lucko.helper.timings
 
me.lucko.helper.utils - package me.lucko.helper.utils
 
me.lucko.helper.utils.annotation - package me.lucko.helper.utils.annotation
 
MenuPopulator - Class in me.lucko.helper.menu.scheme
A utility to help place items into a Gui
MenuPopulator(Gui, MenuScheme) - Constructor for class me.lucko.helper.menu.scheme.MenuPopulator
 
MenuPopulator(Gui, List<Integer>) - Constructor for class me.lucko.helper.menu.scheme.MenuPopulator
 
MenuScheme - Class in me.lucko.helper.menu.scheme
Helps to populate a menu with border items
MenuScheme(SchemeMapping) - Constructor for class me.lucko.helper.menu.scheme.MenuScheme
 
MenuScheme() - Constructor for class me.lucko.helper.menu.scheme.MenuScheme
 
merge(Class<T>) - Static method in class me.lucko.helper.Events
Makes a MergedSubscriptionBuilder for a given super type
merge(TypeToken<T>) - Static method in class me.lucko.helper.Events
Makes a MergedSubscriptionBuilder for a given super type
merge(Class<S>, Class<? extends S>...) - Static method in class me.lucko.helper.Events
Makes a MergedSubscriptionBuilder for a super event class
merge(Class<S>, EventPriority, Class<? extends S>...) - Static method in class me.lucko.helper.Events
Makes a MergedSubscriptionBuilder for a super event class
MergedHandlerList<T> - Interface in me.lucko.helper.event.functional.merged
 
MergedSubscription<T> - Interface in me.lucko.helper.event
Represents a subscription to a set of events.
MergedSubscriptionBuilder<T> - Interface in me.lucko.helper.event.functional.merged
Functional builder for MergedSubscriptions.
message(String, String) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Send a message (as in chat message) to the specified player
Messenger - Interface in me.lucko.helper.messaging
Represents an object which manages messaging Channels.
Metadata - Class in me.lucko.helper.metadata
Provides access to MetadataRegistry instances bound to players, entities, blocks and worlds.
MetadataKey<T> - Interface in me.lucko.helper.metadata
A MetadataKey can be mapped to values in a MetadataMap.
MetadataMap - Interface in me.lucko.helper.metadata
A map which holds MetadataKeys, and maps them to persistent or transient (expiring / weak) values.
MetadataRegistry<T> - Interface in me.lucko.helper.metadata
A registry which provides and stores MetadataMaps for a given type.
MILLISECONDS_PER_SECOND - Static variable in class me.lucko.helper.scheduler.Ticks
 
MILLISECONDS_PER_TICK - Static variable in class me.lucko.helper.scheduler.Ticks
 
msg(CommandSender, String...) - Static method in class me.lucko.helper.utils.Players
Messages a sender a set of messages.
MUTABLE - Static variable in class me.lucko.helper.gson.converter.GsonConverters
An implementation of GsonConverter, which returns mutable collections where applicable.

N

name(String) - Method in class me.lucko.helper.item.ItemStackBuilder
 
newAgent() - Method in interface me.lucko.helper.messaging.Channel
Creates a new ChannelAgent for this channel.
newBucket(int, PartitioningStrategy<E>, Supplier<Set<E>>) - Static method in class me.lucko.helper.bucket.factory.BucketFactory
 
newBuilder() - Static method in interface me.lucko.helper.command.functional.FunctionalCommandBuilder
 
newBuilder(Class<T>) - Static method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Makes a MergedHandlerBuilder for a given super type
newBuilder(TypeToken<T>) - Static method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Makes a MergedHandlerBuilder for a given super type
newBuilder(Class<S>, Class<? extends S>...) - Static method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Makes a MergedHandlerBuilder for a super event class
newBuilder(Class<S>, EventPriority, Class<? extends S>...) - Static method in interface me.lucko.helper.event.functional.merged.MergedSubscriptionBuilder
Makes a MergedHandlerBuilder for a super event class
newBuilder(Class<T>) - Static method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Makes a HandlerBuilder for a given event
newBuilder(Class<T>, EventPriority) - Static method in interface me.lucko.helper.event.functional.single.SingleSubscriptionBuilder
Makes a HandlerBuilder for a given event
newBuilder() - Static method in interface me.lucko.helper.scheduler.TaskBuilder
Gets a task builder instance
newConcurrentBucket(int, PartitioningStrategy<E>) - Static method in class me.lucko.helper.bucket.factory.BucketFactory
 
newHashSetBucket(int, PartitioningStrategy<E>) - Static method in class me.lucko.helper.bucket.factory.BucketFactory
 
newPopulator(Gui) - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
newSynchronizedHashSetBucket(int, PartitioningStrategy<E>) - Static method in class me.lucko.helper.bucket.factory.BucketFactory
 
next() - Method in interface me.lucko.helper.bucket.Cycle
Advances the cursor, and returns the next element.
next() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
nextInCycle() - Static method in class me.lucko.helper.bucket.partitioning.PartitioningStrategies
 
nextPageItem(Function<PageInfo, ItemStack>) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
nextPageSlot(int) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
nextPosition() - Method in interface me.lucko.helper.bucket.Cycle
Returns the index of the next position in the cycle.
nextPosition() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
NMS - Static variable in class me.lucko.helper.utils.NmsUtil
 
nms(String) - Static method in class me.lucko.helper.utils.NmsUtil
 
nmsClass(String) - Static method in class me.lucko.helper.utils.NmsUtil
 
NmsUtil - Class in me.lucko.helper.utils
 
NonnullByDefault - Annotation Type in me.lucko.helper.utils.annotation
 
notNull() - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which returns false if the input is null, true otherwise.
notNull(Function<A, ? extends B>) - Static method in class me.lucko.helper.function.Predicates
Returns a predicate which takes the input, passes it through the given function, and then evaluates the result against Predicates.notNull().
now() - Method in interface me.lucko.helper.scheduler.TaskBuilder.ThreadContextual
Marks that the new task should execute immediately, and returns the next builder in the chain.
now() - Static method in class me.lucko.helper.utils.TimeUtil
 
nowUnix() - Static method in class me.lucko.helper.utils.TimeUtil
 
NullableOptional<T> - Class in me.lucko.helper.utils
A container object which may or may not contain a value.
nullValue() - Static method in class me.lucko.helper.gson.JsonBuilder
Returns an instance of JsonNull.
Numbers - Class in me.lucko.helper.function
Utility methods for parsing Numbers, Integers, Longs, Floats and Doubles from Strings.

O

OBC - Static variable in class me.lucko.helper.utils.NmsUtil
 
obc(String) - Static method in class me.lucko.helper.utils.NmsUtil
 
obcClass(String) - Static method in class me.lucko.helper.utils.NmsUtil
 
object(JsonObject, boolean) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a new object builder
object(JsonObject) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a new object builder, without copying the passed object.
object() - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a new object builder, with no initial values
objectMapper(T) - Static method in class me.lucko.helper.config.Configs
 
obtain() - Static method in interface me.lucko.helper.scheduler.sync.ServerThreadLock
Blocks the current thread until a ServerThreadLock can be obtained.
of(List<E>) - Static method in interface me.lucko.helper.bucket.Cycle
Creates a new cycle of elements.
of(T) - Static method in class me.lucko.helper.cache.Lazy
 
of(long, TimeUnit) - Static method in interface me.lucko.helper.cooldown.Cooldown
Creates a cooldown lasting a specified amount of time
of(Material) - Static method in class me.lucko.helper.item.ItemStackBuilder
 
of(ItemStack) - Static method in class me.lucko.helper.item.ItemStackBuilder
 
of(Map<Integer, Item>) - Static method in class me.lucko.helper.menu.scheme.AbstractSchemeMapping
 
of(T, long, TimeUnit) - Static method in class me.lucko.helper.metadata.ExpiringValue
 
of(T) - Static method in class me.lucko.helper.metadata.SoftValue
 
of(T) - Static method in class me.lucko.helper.metadata.WeakValue
 
of(T, double) - Static method in class me.lucko.helper.random.WeightedObject
 
of(int, int, int, String) - Static method in class me.lucko.helper.serialize.BlockPosition
 
of(int, int, int, World) - Static method in class me.lucko.helper.serialize.BlockPosition
 
of(Vector3i, String) - Static method in class me.lucko.helper.serialize.BlockPosition
 
of(Vector3i, World) - Static method in class me.lucko.helper.serialize.BlockPosition
 
of(Location) - Static method in class me.lucko.helper.serialize.BlockPosition
 
of(Block) - Static method in class me.lucko.helper.serialize.BlockPosition
 
of(BlockPosition, BlockPosition) - Static method in class me.lucko.helper.serialize.BlockRegion
 
of(int, int, String) - Static method in class me.lucko.helper.serialize.ChunkPosition
 
of(int, int, World) - Static method in class me.lucko.helper.serialize.ChunkPosition
 
of(Vector2i, String) - Static method in class me.lucko.helper.serialize.ChunkPosition
 
of(Vector2i, World) - Static method in class me.lucko.helper.serialize.ChunkPosition
 
of(Chunk) - Static method in class me.lucko.helper.serialize.ChunkPosition
 
of(ChunkPosition, ChunkPosition) - Static method in class me.lucko.helper.serialize.ChunkRegion
 
of(float, float) - Static method in class me.lucko.helper.serialize.Direction
 
of(Position, Direction) - Static method in class me.lucko.helper.serialize.Point
 
of(Location) - Static method in class me.lucko.helper.serialize.Point
 
of(double, double, double, String) - Static method in class me.lucko.helper.serialize.Position
 
of(double, double, double, World) - Static method in class me.lucko.helper.serialize.Position
 
of(Vector3d, String) - Static method in class me.lucko.helper.serialize.Position
 
of(Vector3d, World) - Static method in class me.lucko.helper.serialize.Position
 
of(Location) - Static method in class me.lucko.helper.serialize.Position
 
of(Block) - Static method in class me.lucko.helper.serialize.Position
 
of(Position, Position) - Static method in class me.lucko.helper.serialize.Region
 
of(Vector3d, Direction) - Static method in class me.lucko.helper.serialize.VectorPoint
 
of(Location) - Static method in class me.lucko.helper.serialize.VectorPoint
 
of(Point) - Static method in class me.lucko.helper.serialize.VectorPoint
 
of(Runnable) - Static method in interface me.lucko.helper.terminable.Terminable
 
of(String) - Static method in class me.lucko.helper.timings.Timings
 
of(String, MCTiming) - Static method in class me.lucko.helper.timings.Timings
 
of(long, TimeUnit) - Static method in class me.lucko.helper.utils.Cooldown
Deprecated.
of(T) - Static method in class me.lucko.helper.utils.NullableOptional
Returns a NullableOptional with the specified present value.
of(Class<T>) - Static method in class me.lucko.helper.utils.ServiceCallback
Create a new ServiceCallback for the given class.
ofStart(String) - Static method in class me.lucko.helper.timings.Timings
 
ofStart(String, MCTiming) - Static method in class me.lucko.helper.timings.Timings
 
ofTicks(long) - Static method in interface me.lucko.helper.cooldown.Cooldown
Creates a cooldown lasting a number of game ticks
ofTicks(long) - Static method in class me.lucko.helper.utils.Cooldown
Deprecated.
on(ThreadContext) - Method in interface me.lucko.helper.scheduler.TaskBuilder
Defines the thread context of the new task, and returns the next builder in the chain.
onCommand(CommandSender, Command, String, String[]) - Method in class me.lucko.helper.command.AbstractCommand
 
onDisable() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
onEnable() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
ONLINE_SERVERS - Static variable in class me.lucko.helper.messaging.bungee.BungeeMessaging
Server name to represent only the online servers on the proxy
onLoad() - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
onMessage(ChannelAgent<T>, T) - Method in interface me.lucko.helper.messaging.ChannelListener
Called when a message is posted to this listener.
onPluginMessageReceived(String, Player, byte[]) - Method in class me.lucko.helper.messaging.bungee.BungeeMessaging
 
open() - Method in class me.lucko.helper.menu.Gui
 
OPEN_GUI_KEY - Static variable in class me.lucko.helper.menu.Gui
 
orElse(Predicate<? super T>, T) - Method in interface me.lucko.helper.function.chain.Chain
Updates the backing object if the test fails, otherwise returns an identical chain.
orElse(T) - Method in class me.lucko.helper.utils.NullableOptional
Return the value if present, otherwise return other.
orElseGet(Predicate<? super T>, Supplier<? extends T>) - Method in interface me.lucko.helper.function.chain.Chain
Updates the backing object if the test fails, otherwise returns an identical chain.
orElseGet(Supplier<? extends T>) - Method in class me.lucko.helper.utils.NullableOptional
Return the value if present, otherwise invoke other and return the result of that invocation.
orElseGetIfNull(Supplier<? extends T>) - Method in interface me.lucko.helper.function.chain.Chain
Updates the backing object if it is null, otherwise returns an identical chain.
orElseIfNull(T) - Method in interface me.lucko.helper.function.chain.Chain
Updates the backing object if it is null, otherwise returns an identical chain.
orElseThrow(Supplier<? extends X>) - Method in class me.lucko.helper.utils.NullableOptional
Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.

P

PacketScoreboard - Class in me.lucko.helper.scoreboard
Implements Scoreboard using ProtocolLib.
PacketScoreboard() - Constructor for class me.lucko.helper.scoreboard.PacketScoreboard
 
PacketScoreboard(ExtendedJavaPlugin) - Constructor for class me.lucko.helper.scoreboard.PacketScoreboard
 
PacketScoreboardObjective - Class in me.lucko.helper.scoreboard
Implements ScoreboardObjective using ProtocolLib.
PacketScoreboardObjective(PacketScoreboard, String, String, DisplaySlot, boolean) - Constructor for class me.lucko.helper.scoreboard.PacketScoreboardObjective
Creates a new scoreboard objective
PacketScoreboardObjective(PacketScoreboard, String, String, DisplaySlot) - Constructor for class me.lucko.helper.scoreboard.PacketScoreboardObjective
Creates a new scoreboard objective
PacketScoreboardTeam - Class in me.lucko.helper.scoreboard
Implements ScoreboardTeam using ProtocolLib.
PacketScoreboardTeam(PacketScoreboard, String, String, boolean) - Constructor for class me.lucko.helper.scoreboard.PacketScoreboardTeam
Creates a new scoreboard team
PacketScoreboardTeam(PacketScoreboard, String, String) - Constructor for class me.lucko.helper.scoreboard.PacketScoreboardTeam
Creates a new scoreboard team
PageInfo - Class in me.lucko.helper.menu.paginated
Represents data about a currently open page in a PaginatedGui.
PaginatedGui - Class in me.lucko.helper.menu.paginated
Extension of Gui which automatically paginates Items.
PaginatedGui(Function<PaginatedGui, List<Item>>, Player, PaginatedGuiBuilder) - Constructor for class me.lucko.helper.menu.paginated.PaginatedGui
 
PaginatedGuiBuilder - Class in me.lucko.helper.menu.paginated
Specification class for a PaginatedGui.
parse(ArgumentParser<T>) - Method in interface me.lucko.helper.command.argument.Argument
 
parse(TypeToken<T>) - Method in interface me.lucko.helper.command.argument.Argument
 
parse(Class<T>) - Method in interface me.lucko.helper.command.argument.Argument
 
parse(String) - Method in interface me.lucko.helper.command.argument.ArgumentParser
Parses the value from a string
parse(Argument) - Method in interface me.lucko.helper.command.argument.ArgumentParser
Tries to parse the value from the argument
parse(String) - Static method in class me.lucko.helper.function.Numbers
 
parseByteNullable(String) - Static method in class me.lucko.helper.function.Numbers
 
parseByteOpt(String) - Static method in class me.lucko.helper.function.Numbers
 
parseDouble(String) - Static method in class me.lucko.helper.function.Numbers
 
parseDoubleNullable(String) - Static method in class me.lucko.helper.function.Numbers
 
parseDoubleOpt(String) - Static method in class me.lucko.helper.function.Numbers
 
parseFloat(String) - Static method in class me.lucko.helper.function.Numbers
 
parseFloatNullable(String) - Static method in class me.lucko.helper.function.Numbers
 
parseFloatOpt(String) - Static method in class me.lucko.helper.function.Numbers
 
parseInteger(String) - Static method in class me.lucko.helper.function.Numbers
 
parseIntegerNullable(String) - Static method in class me.lucko.helper.function.Numbers
 
parseIntegerOpt(String) - Static method in class me.lucko.helper.function.Numbers
 
parseLong(String) - Static method in class me.lucko.helper.function.Numbers
 
parseLongNullable(String) - Static method in class me.lucko.helper.function.Numbers
 
parseLongOpt(String) - Static method in class me.lucko.helper.function.Numbers
 
parseNullable(String) - Static method in class me.lucko.helper.function.Numbers
 
parseOrFail(ArgumentParser<T>) - Method in interface me.lucko.helper.command.argument.Argument
 
parseOrFail(TypeToken<T>) - Method in interface me.lucko.helper.command.argument.Argument
 
parseOrFail(Class<T>) - Method in interface me.lucko.helper.command.argument.Argument
 
parseOrFail(String) - Method in interface me.lucko.helper.command.argument.ArgumentParser
Parses the value from a string, throwing an interrupt exception if parsing failed.
parseOrFail(Argument) - Method in interface me.lucko.helper.command.argument.ArgumentParser
Parses the value from an argument, throwing an interrupt exception if parsing failed.
parserRegistry() - Static method in class me.lucko.helper.Commands
 
PartitioningStrategies - Class in me.lucko.helper.bucket.partitioning
Some standard partitioning strategies for use in Buckets.
PartitioningStrategy<T> - Interface in me.lucko.helper.bucket.partitioning
A function which determines the position of an object within a Bucket.
partitions - Variable in class me.lucko.helper.bucket.AbstractBucket
The partitions in the bucket
partitionView - Variable in class me.lucko.helper.bucket.AbstractBucket
A view of the AbstractBucket.partitions list - with all contained values wrapped by SetView.
peekNext() - Method in interface me.lucko.helper.bucket.Cycle
Returns the next element without advancing the cursor.
peekNext() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
peekPrevious() - Method in interface me.lucko.helper.bucket.Cycle
Returns the previous element without retreating the cursor.
peekPrevious() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
pick(Random) - Method in interface me.lucko.helper.random.RandomSelector
Randomly pick an element.
pick() - Method in interface me.lucko.helper.random.RandomSelector
Randomly pick an element.
placeIfSpace(Item) - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Places an item onto the Gui using the next available slot in the populator
playerCount(String, Consumer<Integer>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Gets the amount of players on a certain server, or all servers
playerHasMetadata(MetadataKey<?>) - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the player has a given metadata key
playerHasPermission(String) - Static method in class me.lucko.helper.event.filter.EventFilters
Returns a predicate which only returns true if the player has the given permission
playerList(String, Consumer<List<String>>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Gets a list of players connected on a certain server, or all servers.
PlayerMetadataRegistry - Interface in me.lucko.helper.metadata.type
A registry which provides and stores MetadataMaps for Players.
players() - Static method in class me.lucko.helper.metadata.Metadata
Gets the MetadataRegistry for Players.
Players - Class in me.lucko.helper.utils
A collection of Player related utilities
playSound(Player, Sound) - Static method in class me.lucko.helper.utils.Players
 
playSound(Player, Location, Sound) - Static method in class me.lucko.helper.utils.Players
 
playSound(Location, Sound) - Static method in class me.lucko.helper.utils.Players
 
Plugin - Annotation Type in me.lucko.helper.plugin.ap
Annotation to automatically generate plugin.yml files for helper projects
PluginDependency - Annotation Type in me.lucko.helper.plugin.ap
Represents a plugin dependency
PluginProcessor - Class in me.lucko.helper.plugin.ap
Processes the Plugin annotation and generates a plugin.yml file.
PluginProcessor() - Constructor for class me.lucko.helper.plugin.ap.PluginProcessor
 
plugins() - Static method in class me.lucko.helper.Helper
 
Point - Class in me.lucko.helper.serialize
An immutable and serializable position + direction object
populate(T, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
Position - Class in me.lucko.helper.serialize
An immutable and serializable location object
Predicates - Class in me.lucko.helper.function
A collection of utilities for working with Predicates.
predicateToBiPredicateFirst(Predicate<T>) - Static method in class me.lucko.helper.utils.Delegates
 
predicateToBiPredicateSecond(Predicate<U>) - Static method in class me.lucko.helper.utils.Delegates
 
previous() - Method in interface me.lucko.helper.bucket.Cycle
Retreats the counter, and returns the previous element.
previous() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
previousInCycle() - Static method in class me.lucko.helper.bucket.partitioning.PartitioningStrategies
 
previousPageItem(Function<PageInfo, ItemStack>) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
previousPageSlot(int) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
previousPosition() - Method in interface me.lucko.helper.bucket.Cycle
Returns the index of the previous position in the cycle.
previousPosition() - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
primitive(String) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitive(Number) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitive(Boolean) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitive(Character) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitiveNonNull(String) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitiveNonNull(Number) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitiveNonNull(Boolean) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
primitiveNonNull(Character) - Static method in class me.lucko.helper.gson.JsonBuilder
Creates a JsonPrimitive from the given value.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class me.lucko.helper.plugin.ap.PluginProcessor
 
Profile - Interface in me.lucko.helper.profiles
Represents a Player's profile
ProfileRepository - Interface in me.lucko.helper.profiles
A repository of profiles, which can get or lookup Profile instances for given unique ids or names.
Promise<V> - Interface in me.lucko.helper.promise
An object that acts as a proxy for a result that is initially unknown, usually because the computation of its value is yet incomplete.
provide(T) - Method in class me.lucko.helper.metadata.AbstractMetadataRegistry
 
provide(Object) - Static method in class me.lucko.helper.metadata.Metadata
Produces a MetadataMap for the given object.
provide(T) - Method in interface me.lucko.helper.metadata.MetadataRegistry
Produces a MetadataMap for the given object.
provide(Block) - Method in interface me.lucko.helper.metadata.type.BlockMetadataRegistry
Produces a MetadataMap for the given block.
provide(Entity) - Method in interface me.lucko.helper.metadata.type.EntityMetadataRegistry
Produces a MetadataMap for the given entity.
provide(Player) - Method in interface me.lucko.helper.metadata.type.PlayerMetadataRegistry
Produces a MetadataMap for the given player.
provide(World) - Method in interface me.lucko.helper.metadata.type.WorldMetadataRegistry
Produces a MetadataMap for the given world.
provideForBlock(BlockPosition) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForBlock(Block) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForEntity(UUID) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForEntity(Entity) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForPlayer(UUID) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForPlayer(Player) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForWorld(UUID) - Static method in class me.lucko.helper.metadata.Metadata
 
provideForWorld(World) - Static method in class me.lucko.helper.metadata.Metadata
 
provideService(Class<T>, T, ServicePriority) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
provideService(Class<T>, T) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
provideService(Class<T>, T, ServicePriority) - Method in interface me.lucko.helper.plugin.HelperPlugin
Provides a service to the ServiceManager, bound to this plugin
provideService(Class<T>, T) - Method in interface me.lucko.helper.plugin.HelperPlugin
Provides a service to the ServiceManager, bound to this plugin at ServicePriority.Normal.
put(O, Cooldown) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
put(T, Cooldown) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
put(MetadataKey<T>, T) - Method in interface me.lucko.helper.metadata.MetadataMap
Adds a metadata key and corresponding value into this map, removing any previous value if present.
put(MetadataKey<T>, TransientValue<T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Adds a metadata key and corresponding value into this map, removing any previous value if present.
putIfAbsent(MetadataKey<T>, T) - Method in interface me.lucko.helper.metadata.MetadataMap
Adds a metadata key and corresponding value into this map, only if an existing key is not present.
putIfAbsent(MetadataKey<T>, TransientValue<T>) - Method in interface me.lucko.helper.metadata.MetadataMap
Adds a metadata key and corresponding value into this map, only if an existing key is not present.

R

random() - Static method in class me.lucko.helper.bucket.partitioning.PartitioningStrategies
 
RandomSelector<E> - Interface in me.lucko.helper.random
A tool to randomly select elements from collections.
range(double, double) - Static method in interface me.lucko.helper.random.VariableAmount
Creates a new variable amount which return values between the given min (inclusive) and max (exclusive).
rawArg(int) - Method in interface me.lucko.helper.command.context.CommandContext
Gets the argument at the given index.
rawArg(int) - Method in class me.lucko.helper.command.context.ImmutableCommandContext
 
readFromFile(Path) - Method in class me.lucko.helper.serialize.FileStorageHandler
 
readFromFile(Path) - Method in class me.lucko.helper.serialize.GsonStorageHandler
 
readObject(Reader) - Static method in class me.lucko.helper.gson.GsonProvider
 
readObject(String) - Static method in class me.lucko.helper.gson.GsonProvider
 
redraw() - Method in class me.lucko.helper.menu.Gui
Places items on the GUI.
redraw() - Method in class me.lucko.helper.menu.paginated.PaginatedGui
 
refresh() - Method in class me.lucko.helper.utils.ServiceCallback
Refreshes the backing instance of the service
Region - Class in me.lucko.helper.serialize
An immutable and serializable region object
regionWith(BlockPosition) - Method in class me.lucko.helper.serialize.BlockPosition
 
regionWith(Position) - Method in class me.lucko.helper.serialize.Position
 
register(ExtendedJavaPlugin, String...) - Method in class me.lucko.helper.command.AbstractCommand
 
register(TypeToken<T>, ArgumentParser<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParserRegistry
Registers a new parser with the registry
register(Class<T>, ArgumentParser<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParserRegistry
Registers a new parser with the registry
register(TypeToken<T>, ArgumentParser<T>) - Method in class me.lucko.helper.command.argument.SimpleParserRegistry
 
register(ExtendedJavaPlugin, String...) - Method in interface me.lucko.helper.command.Command
Registers this command with the server, via the given plugin instance
register() - Method in interface me.lucko.helper.event.functional.FunctionalHandlerList
Builds and registers the Handler.
registerAndBind(TerminableConsumer, ExtendedJavaPlugin, String...) - Method in interface me.lucko.helper.command.Command
Registers this command with the server, via the given plugin instance, and then binds it with the composite terminable.
registerCommand(T, String...) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
registerCommand(T, String...) - Method in interface me.lucko.helper.plugin.HelperPlugin
Registers a CommandExecutor with the server
registerCommand(Plugin, T, String...) - Static method in class me.lucko.helper.utils.CommandMapUtil
Registers a CommandExecutor with the server
registerForwardCallback(String, Predicate<ByteArrayDataInput>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Registers a callback to listen for messages sent on forwarded subchannels.
registerForwardCallbackRaw(String, Predicate<byte[]>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Registers a callback to listen for messages sent on forwarded subchannels.
registerIncomingMessage(String, String) - Method in class me.lucko.helper.messaging.AbstractMessenger
Distributes an oncoming message to the channels held in this messenger.
registerListener(T) - Method in class me.lucko.helper.plugin.ExtendedJavaPlugin
 
registerListener(T) - Method in interface me.lucko.helper.plugin.HelperPlugin
Register a listener with the server.
remainingMillis(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
remainingMillis() - Method in interface me.lucko.helper.cooldown.Cooldown
Gets the time in milliseconds until the cooldown will become inactive.
remainingMillis(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
remainingMillis() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Gets the time in milliseconds until the cooldown will become inactive.
remainingMillis(T) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
remainingSlots - Variable in class me.lucko.helper.menu.scheme.MenuPopulator
 
remainingTime(I, TimeUnit) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
remainingTime(TimeUnit) - Method in interface me.lucko.helper.cooldown.Cooldown
Gets the time until the cooldown will become inactive.
remainingTime(T, TimeUnit) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
remainingTime(TimeUnit) - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Gets the time until the cooldown will become inactive.
remainingTime(T, TimeUnit) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
remove(Object) - Method in class me.lucko.helper.bucket.AbstractBucket
 
remove(T) - Method in class me.lucko.helper.metadata.AbstractMetadataRegistry
 
remove(MetadataKey<?>) - Method in interface me.lucko.helper.metadata.MetadataMap
Removes the given key from this map
remove(T) - Method in interface me.lucko.helper.metadata.MetadataRegistry
Deletes the MetadataMap and all contained MetadataKeys for the given object.
removeItem(int) - Method in class me.lucko.helper.menu.Gui
 
removeItems(int...) - Method in class me.lucko.helper.menu.Gui
 
removeItems(Iterable<Integer>) - Method in class me.lucko.helper.menu.Gui
 
removeListener(ChannelListener<T>) - Method in interface me.lucko.helper.messaging.ChannelAgent
Removes a listener from the channel.
removeObjective(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
removeObjective(String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Removes a scoreboard objective from this scoreboard
removePlayer(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
removePlayer(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Removes a player from this team
removePlayer(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Removes a player from this team
removePlayerObjective(Player, String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
removePlayerObjective(Player, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Removes a per-player scoreboard objective from this scoreboard
removePlayerTeam(Player, String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
removePlayerTeam(Player, String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Removes a per-player scoreboard team from this scoreboard
removeScore(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
removeScore(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Removes a score
removeTeam(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboard
 
removeTeam(String) - Method in interface me.lucko.helper.scoreboard.Scoreboard
Removes a scoreboard team from this scoreboard
reply(String...) - Method in interface me.lucko.helper.command.context.CommandContext
Sends a message to the CommandContext.sender().
Repository - Annotation Type in me.lucko.helper.maven
Represents a maven repository.
reset(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
reset() - Method in interface me.lucko.helper.cooldown.Cooldown
Resets the cooldown
reset(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
reset() - Method in class me.lucko.helper.menu.scheme.MenuPopulator
Resets the slot order used by this populator to the state it was in upon construction
reset() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Resets the cooldown
reset(T) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
resetFlySpeed(Player) - Static method in class me.lucko.helper.utils.Players
 
resetWalkSpeed(Player) - Static method in class me.lucko.helper.utils.Players
 
resolve(Object) - Static method in interface me.lucko.helper.interfaces.Delegate
 
run(Runnable) - Method in interface me.lucko.helper.scheduler.ContextualPromiseBuilder
 
run(Runnable) - Method in interface me.lucko.helper.scheduler.ContextualTaskBuilder
 
run(ThreadContext, Runnable) - Static method in class me.lucko.helper.Scheduler
Execute a runnable
runAsync(Runnable) - Static method in class me.lucko.helper.Scheduler
Execute a runnable asynchronously
runLater(ThreadContext, Runnable, long) - Static method in class me.lucko.helper.Scheduler
Execute a runnable at some point in the future
runLaterAsync(Runnable, long) - Static method in class me.lucko.helper.Scheduler
Execute a runnable asynchronously at some point in the future
runLaterSync(Runnable, long) - Static method in class me.lucko.helper.Scheduler
Execute a runnable on the main server thread at some point in the future
runnableToConsumer(Runnable) - Static method in class me.lucko.helper.utils.Delegates
 
runnableToFunction(Runnable) - Static method in class me.lucko.helper.utils.Delegates
 
runnableToSupplier(Runnable) - Static method in class me.lucko.helper.utils.Delegates
 
runnableToTerminable(Runnable) - Static method in class me.lucko.helper.utils.Delegates
 
runSync(Runnable) - Static method in class me.lucko.helper.Scheduler
Execute a runnable on the main server thread
runTaskRepeating(ThreadContext, Consumer<Scheduler.Task>, long, long) - Static method in class me.lucko.helper.Scheduler
Schedule a repeating task to run
runTaskRepeating(ThreadContext, Runnable, long, long) - Static method in class me.lucko.helper.Scheduler
Schedule a repeating task to run
runTaskRepeatingAsync(Consumer<Scheduler.Task>, long, long) - Static method in class me.lucko.helper.Scheduler
Schedule a repeating task to run asynchronously
runTaskRepeatingAsync(Runnable, long, long) - Static method in class me.lucko.helper.Scheduler
Schedule a repeating task to run asynchronously
runTaskRepeatingSync(Consumer<Scheduler.Task>, long, long) - Static method in class me.lucko.helper.Scheduler
Schedule a repeating task to run on the main server thread
runTaskRepeatingSync(Runnable, long, long) - Static method in class me.lucko.helper.Scheduler
Schedule a repeating task to run on the main server thread

S

save(T) - Method in class me.lucko.helper.serialize.FileStorageHandler
 
save() - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
Serializes the contained data into a JsonObject for saving.
saveAndBackup(T) - Method in class me.lucko.helper.serialize.FileStorageHandler
 
saveToFile(Path, T) - Method in class me.lucko.helper.serialize.FileStorageHandler
 
saveToFile(Path, T) - Method in class me.lucko.helper.serialize.GsonStorageHandler
 
Scheduler - Class in me.lucko.helper
A utility class to help with scheduling.
Scheduler.Task - Interface in me.lucko.helper
Represents a scheduled repeating task
scheme(MenuScheme) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
scheme(int...) - Method in class me.lucko.helper.menu.scheme.MenuScheme
 
SchemeMapping - Interface in me.lucko.helper.menu.scheme
Represents a mapping to be used in a MenuScheme
Scoreboard<T extends ScoreboardTeam,O extends ScoreboardObjective> - Interface in me.lucko.helper.scoreboard
Represents a Scoreboard on the server
ScoreboardObjective - Interface in me.lucko.helper.scoreboard
Represents a specific objective on a Scoreboard.
ScoreboardTeam - Interface in me.lucko.helper.scoreboard
Represents a specific team on a Scoreboard.
ScoreboardTeam.CollisionRule - Enum in me.lucko.helper.scoreboard
 
ScoreboardTeam.NameTagVisibility - Enum in me.lucko.helper.scoreboard
 
sendBlockChange(Player, Location, Material, int) - Static method in class me.lucko.helper.utils.Players
 
sendBlockChange(Player, Block, Material, int) - Static method in class me.lucko.helper.utils.Players
 
sendBlockChange(Player, Location, Material) - Static method in class me.lucko.helper.utils.Players
 
sendBlockChange(Player, Block, Material) - Static method in class me.lucko.helper.utils.Players
 
sender() - Method in interface me.lucko.helper.command.context.CommandContext
Gets the sender who executed the command
sender() - Method in class me.lucko.helper.command.context.ImmutableCommandContext
 
sendMessage(T) - Method in interface me.lucko.helper.messaging.Channel
Sends a new message to the channel.
sendMessage(CommandSender, Component) - Static method in class me.lucko.helper.text.TextUtils
 
sendMessage(Iterable<CommandSender>, Component) - Static method in class me.lucko.helper.text.TextUtils
 
serialize(TypeToken<?>, JsonArray, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonArraySerializer
 
serialize(TypeToken<?>, JsonNull, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonNullSerializer
 
serialize(TypeToken<?>, JsonObject, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonObjectSerializer
 
serialize(TypeToken<?>, JsonPrimitive, ConfigurationNode) - Method in class me.lucko.helper.gson.configurate.JsonPrimitiveSerializer
 
serialize() - Method in interface me.lucko.helper.gson.GsonSerializable
Serializes the object to JSON
serialize(TypeToken<?>, GsonSerializable, ConfigurationNode) - Method in class me.lucko.helper.gson.GsonSerializableConfigurateProxy
 
serialize() - Method in class me.lucko.helper.serialize.BlockPosition
 
serialize() - Method in class me.lucko.helper.serialize.BlockRegion
 
serialize() - Method in class me.lucko.helper.serialize.ChunkPosition
 
serialize() - Method in class me.lucko.helper.serialize.ChunkRegion
 
serialize() - Method in class me.lucko.helper.serialize.Direction
 
serialize() - Method in class me.lucko.helper.serialize.Point
 
serialize() - Method in class me.lucko.helper.serialize.Position
 
serialize() - Method in class me.lucko.helper.serialize.Region
 
serialize() - Method in class me.lucko.helper.serialize.VectorPoint
 
serialize(Vector2d) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector2f) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector2i) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector2l) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector3d) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector3f) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector3i) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector3l) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector4d) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector4f) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector4i) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serialize(Vector4l) - Static method in class me.lucko.helper.serialize.VectorSerializers
 
serializeInventory(Inventory) - Static method in class me.lucko.helper.serialize.Serializers
 
serializeItemstack(ItemStack) - Static method in class me.lucko.helper.serialize.Serializers
 
serializeItemstacks(ItemStack[]) - Static method in class me.lucko.helper.serialize.Serializers
 
Serializers - Class in me.lucko.helper.serialize
Utility methods for converting ItemStacks and Inventories to and from JSON.
server() - Static method in class me.lucko.helper.Helper
 
serverIp(String, Consumer<Map.Entry<String, Integer>>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Get the IP of any server connected to the proxy
ServerThreadLock - Interface in me.lucko.helper.scheduler.sync
A tool to synchronize code with the main server thread
service(Class<T>) - Static method in class me.lucko.helper.Helper
 
ServiceCallback<T> - Class in me.lucko.helper.utils
A wrapper to always provide the latest instance of a service.
serviceNullable(Class<T>) - Static method in class me.lucko.helper.Helper
 
services() - Static method in class me.lucko.helper.Helper
 
setAllowFriendlyFire(boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setAllowFriendlyFire(boolean) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the friendly fire setting to new value and updates the teams subscribers
setAutoSubscribe(boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
setAutoSubscribe(boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setAutoSubscribe(boolean) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Sets if players should be automatically subscribed to this objective.
setAutoSubscribe(boolean) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Sets if players should be automatically subscribed to this team.
setCanSeeFriendlyInvisibles(boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setCanSeeFriendlyInvisibles(boolean) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the friendly invisibility setting to new value and updates the teams subscribers
setClickCallback(Consumer<Player>) - Method in interface me.lucko.helper.hologram.Hologram
Sets a click callback for this hologram
setCollisionRule(ScoreboardTeam.CollisionRule) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setCollisionRule(ScoreboardTeam.CollisionRule) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the collision rule setting to new value and updates the teams subscribers
setColor(ChatColor) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setColor(ChatColor) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Sets the teams color.
setCursor(int) - Method in interface me.lucko.helper.bucket.Cycle
Sets the cursor to a given index
setCursor(int) - Method in class me.lucko.helper.utils.Cycle
Deprecated.
 
setDisplayName(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
setDisplayName(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setDisplayName(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Lazily sets the display name to a new value and updates the objectives subscribers
setDisplayName(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the display name to a new value and updates the teams subscribers
setDisplaySlot(DisplaySlot) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
setDisplaySlot(DisplaySlot) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Lazily sets the display slot to a new value and updates the objectives subscribers
setFallbackGui(Function<Player, Gui>) - Method in class me.lucko.helper.menu.Gui
 
setItem(int, Item) - Method in class me.lucko.helper.menu.Gui
 
setItem(ItemStack) - Method in class me.lucko.helper.menu.SimpleSlot
Sets the item in this slot
setItem(ItemStack) - Method in interface me.lucko.helper.menu.Slot
Sets the item in this slot
setItems(Item, int...) - Method in class me.lucko.helper.menu.Gui
 
setItems(Iterable<Integer>, Item) - Method in class me.lucko.helper.menu.Gui
 
setLastTested(long) - Method in interface me.lucko.helper.cooldown.Cooldown
Sets the time in milliseconds when this cooldown was last tested.
setLastTested(long) - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Sets the time in milliseconds when this cooldown was last tested.
setNameTagVisibility(ScoreboardTeam.NameTagVisibility) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setNameTagVisibility(ScoreboardTeam.NameTagVisibility) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the nametag visibility setting to new value and updates the teams subscribers
setPrefix(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setPrefix(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the prefix to a new value and updates the teams subscribers
setScore(String, int) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
setScore(String, int) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Sets a new score value
setSuffix(String) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
setSuffix(String) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Lazily sets the suffix to a new value and updates the teams subscribers
setup(TerminableConsumer) - Method in interface me.lucko.helper.terminable.composite.CompositeTerminable
Binds this composite terminable with a terminable consumer
severe(String) - Static method in class me.lucko.helper.utils.Log
 
shouldAutoSubscribe() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
shouldAutoSubscribe() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
shouldAutoSubscribe() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Gets if players should be automatically subscribed to this objective.
shouldAutoSubscribe() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Gets if players should be automatically subscribed to this team.
shouldExpire() - Method in class me.lucko.helper.metadata.ExpiringValue
 
shouldExpire() - Method in class me.lucko.helper.metadata.SoftValue
 
shouldExpire() - Method in interface me.lucko.helper.metadata.TransientValue
Returns if this value should be removed from the map
shouldExpire() - Method in class me.lucko.helper.metadata.WeakValue
 
showAttributes() - Method in class me.lucko.helper.item.ItemStackBuilder
 
silentlyTerminate(Terminable...) - Static method in class me.lucko.helper.terminable.Terminables
 
silentlyTerminate(Iterable<? extends Terminable>) - Static method in class me.lucko.helper.terminable.Terminables
 
SimpleArgument - Class in me.lucko.helper.command.argument
 
SimpleArgument(int, String) - Constructor for class me.lucko.helper.command.argument.SimpleArgument
 
SimpleParserRegistry - Class in me.lucko.helper.command.argument
 
SimpleParserRegistry() - Constructor for class me.lucko.helper.command.argument.SimpleParserRegistry
 
SimpleSlot - Class in me.lucko.helper.menu
Basic implementation of Slot.
SimpleSlot(Gui, int) - Constructor for class me.lucko.helper.menu.SimpleSlot
 
SimpleTerminableRegistry - Class in me.lucko.helper.terminable.registry
 
SimpleTerminableRegistry() - Constructor for class me.lucko.helper.terminable.registry.SimpleTerminableRegistry
 
SingleHandlerList<T extends Event> - Interface in me.lucko.helper.event.functional.single
 
SingleSubscription<T extends Event> - Interface in me.lucko.helper.event
Represents a subscription to a single given event.
SingleSubscriptionBuilder<T extends Event> - Interface in me.lucko.helper.event.functional.single
Functional builder for SingleSubscriptions.
size - Variable in class me.lucko.helper.bucket.AbstractBucket
The number of partitions in this bucket
size() - Method in class me.lucko.helper.bucket.AbstractBucket
 
Slot - Interface in me.lucko.helper.menu
Represents a slot in a Gui.
SoftValue<T> - Class in me.lucko.helper.metadata
Represents a value wrapped in a SoftReference
spawn() - Method in interface me.lucko.helper.hologram.Hologram
Spawns the hologram
spawnEffect(Player, Location, Effect) - Static method in class me.lucko.helper.utils.Players
 
spawnEffect(Location, Effect) - Static method in class me.lucko.helper.utils.Players
 
spawnEffect(Player, Location, Effect, int) - Static method in class me.lucko.helper.utils.Players
 
spawnEffect(Location, Effect, int) - Static method in class me.lucko.helper.utils.Players
 
spawnParticle(Player, Location, Particle) - Static method in class me.lucko.helper.utils.Players
 
spawnParticle(Location, Particle) - Static method in class me.lucko.helper.utils.Players
 
spawnParticle(Player, Location, Particle, int) - Static method in class me.lucko.helper.utils.Players
 
spawnParticle(Location, Particle, int) - Static method in class me.lucko.helper.utils.Players
 
spawnParticleOffset(Player, Location, Particle, double) - Static method in class me.lucko.helper.utils.Players
 
spawnParticleOffset(Location, Particle, double) - Static method in class me.lucko.helper.utils.Players
 
spawnParticleOffset(Player, Location, Particle, int, double) - Static method in class me.lucko.helper.utils.Players
 
spawnParticleOffset(Location, Particle, int, double) - Static method in class me.lucko.helper.utils.Players
 
STAINED_GLASS - Static variable in class me.lucko.helper.menu.scheme.StandardSchemeMappings
 
STAINED_GLASS_BLOCK - Static variable in class me.lucko.helper.menu.scheme.StandardSchemeMappings
 
StandardSchemeMappings - Class in me.lucko.helper.menu.scheme
Contains a number of default SchemeMappings.
start(T) - Static method in interface me.lucko.helper.function.chain.Chain
Creates a new chain
start() - Static method in interface me.lucko.helper.promise.Promise
Returns a new base promise to be built on top of.
startOpt(Optional<T>) - Static method in interface me.lucko.helper.function.chain.Chain
Creates a new chain
stop() - Method in interface me.lucko.helper.Scheduler.Task
Stops the task
strategy - Variable in class me.lucko.helper.bucket.AbstractBucket
The function used to partition objects
stream(Random) - Method in interface me.lucko.helper.random.RandomSelector
Returns an effectively unlimited stream of random elements from this selector.
stream() - Method in interface me.lucko.helper.random.RandomSelector
Returns an effectively unlimited stream of random elements from this selector.
stream() - Static method in class me.lucko.helper.utils.Players
Gets a stream of all players on the server.
streamInRange(Location, double) - Static method in class me.lucko.helper.utils.Players
Gets a stream of all players within a given radius of a point
streamOffline() - Static method in class me.lucko.helper.utils.Players
 
subscribe(Class<T>) - Static method in class me.lucko.helper.Events
Makes a SingleSubscriptionBuilder for a given event
subscribe(Class<T>, EventPriority) - Static method in class me.lucko.helper.Events
Makes a SingleSubscriptionBuilder for a given event
subscribe(Player) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
subscribe(Player) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
subscribe(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Subscribes a player to this objective
subscribe(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Subscribes a player to this team
Subscription - Interface in me.lucko.helper.event
Represents a subscription to a given (set of) event(s).
SubscriptionBuilder<T> - Interface in me.lucko.helper.event.functional
Abstract Subscription builder.
subtract(Vector3i) - Method in class me.lucko.helper.serialize.BlockPosition
 
subtract(int, int, int) - Method in class me.lucko.helper.serialize.BlockPosition
 
subtract(Vector2i) - Method in class me.lucko.helper.serialize.ChunkPosition
 
subtract(int, int) - Method in class me.lucko.helper.serialize.ChunkPosition
 
subtract(double, double, double) - Method in class me.lucko.helper.serialize.Point
 
subtract(Vector3i) - Method in class me.lucko.helper.serialize.Position
 
subtract(Vector3d) - Method in class me.lucko.helper.serialize.Position
 
subtract(double, double, double) - Method in class me.lucko.helper.serialize.Position
 
subtract(double, double, double) - Method in class me.lucko.helper.serialize.VectorPoint
 
suppliedBy(Supplier<T>) - Static method in class me.lucko.helper.cache.Cache
 
suppliedBy(Supplier<T>) - Static method in class me.lucko.helper.cache.Lazy
 
supplier() - Static method in class me.lucko.helper.metadata.Empty
 
supply(V) - Method in interface me.lucko.helper.promise.Promise
Supplies the Promise's result.
supply(ThreadContext, Supplier<V>) - Method in interface me.lucko.helper.promise.Promise
Schedules the supply of the Promise's result, via the given supplier.
supply(Supplier<T>) - Method in interface me.lucko.helper.scheduler.ContextualPromiseBuilder
 
supply(ThreadContext, Supplier<T>) - Static method in class me.lucko.helper.Scheduler
Compute the result of the passed supplier
supplyAsync(Supplier<V>) - Method in interface me.lucko.helper.promise.Promise
Schedules the supply of the Promise's result, via the given supplier.
supplyAsync(Supplier<T>) - Static method in class me.lucko.helper.Scheduler
Compute the result of the passed supplier asynchronously
supplyDelayed(ThreadContext, Supplier<V>, long) - Method in interface me.lucko.helper.promise.Promise
Schedules the supply of the Promise's result, via the given supplier, after the delay has elapsed.
supplyDelayedAsync(Supplier<V>, long) - Method in interface me.lucko.helper.promise.Promise
Schedules the supply of the Promise's result, via the given supplier, after the delay has elapsed.
supplyDelayedSync(Supplier<V>, long) - Method in interface me.lucko.helper.promise.Promise
Schedules the supply of the Promise's result, via the given supplier, after the delay has elapsed.
supplyException(Throwable) - Method in interface me.lucko.helper.promise.Promise
Supplies an exceptional result to the Promise.
supplying(ThreadContext, Supplier<U>) - Static method in interface me.lucko.helper.promise.Promise
Returns a new Promise, and schedules it's population via the given supplier.
supplyingAsync(Supplier<U>) - Static method in interface me.lucko.helper.promise.Promise
Returns a new Promise, and schedules it's population via the given supplier.
supplyingDelayed(ThreadContext, Supplier<U>, long) - Static method in interface me.lucko.helper.promise.Promise
Returns a new Promise, and schedules it's population via the given supplier, after the delay has elapsed.
supplyingDelayedAsync(Supplier<U>, long) - Static method in interface me.lucko.helper.promise.Promise
Returns a new Promise, and schedules it's population via the given supplier, after the delay has elapsed.
supplyingDelayedSync(Supplier<U>, long) - Static method in interface me.lucko.helper.promise.Promise
Returns a new Promise, and schedules it's population via the given supplier, after the delay has elapsed.
supplyingSync(Supplier<U>) - Static method in interface me.lucko.helper.promise.Promise
Returns a new Promise, and schedules it's population via the given supplier.
supplyLater(ThreadContext, Supplier<T>, long) - Static method in class me.lucko.helper.Scheduler
Compute the result of the passed supplier at some point in the future
supplyLaterAsync(Supplier<T>, long) - Static method in class me.lucko.helper.Scheduler
Compute the result of the passed supplier asynchronously at some point in the future
supplyLaterSync(Supplier<T>, long) - Static method in class me.lucko.helper.Scheduler
Compute the result of the passed supplier on the main thread at some point in the future
supplySync(Supplier<V>) - Method in interface me.lucko.helper.promise.Promise
Schedules the supply of the Promise's result, via the given supplier.
supplySync(Supplier<T>) - Static method in class me.lucko.helper.Scheduler
Compute the result of the passed supplier on the main thread
sync() - Static method in class me.lucko.helper.Scheduler
Returns a "sync" executor, which executes all passed runnables on the main server thread.
sync() - Method in interface me.lucko.helper.scheduler.TaskBuilder
Marks that the new task should run sync, and returns the next builder in the chain.

T

TaskBuilder - Interface in me.lucko.helper.scheduler
Functional builder providing chained access to the functionality in Scheduler;
TaskBuilder.Delayed - Interface in me.lucko.helper.scheduler
The next builder in the task chain, which already has a defined delay context.
TaskBuilder.ThreadContextual - Interface in me.lucko.helper.scheduler
The next builder in the task chain, which already has a defined task context.
Terminable - Interface in me.lucko.helper.terminable
Represents an object that can be unregistered, stopped, or gracefully halted.
TerminableConsumer - Interface in me.lucko.helper.terminable
Accepts Terminables.
TerminableRegistry - Interface in me.lucko.helper.terminable.registry
Represents a registry of Terminables.
Terminables - Class in me.lucko.helper.terminable
 
terminate() - Method in class me.lucko.helper.command.AbstractCommand
 
terminate() - Method in interface me.lucko.helper.event.Subscription
 
terminate() - Method in class me.lucko.helper.terminable.registry.SimpleTerminableRegistry
 
terminate() - Method in interface me.lucko.helper.terminable.Terminable
Terminate this instance
terminate() - Method in class me.lucko.helper.utils.ServiceCallback
 
test(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
test() - Method in interface me.lucko.helper.cooldown.Cooldown
Returns true if the cooldown is not active, and then resets the timer
test(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
test() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Returns true if the cooldown is not active, and then resets the timer
test(T) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
testSilently(I) - Method in interface me.lucko.helper.cooldown.ComposedCooldownMap
 
testSilently() - Method in interface me.lucko.helper.cooldown.Cooldown
Returns true if the cooldown is not active
testSilently(T) - Method in interface me.lucko.helper.cooldown.CooldownMap
 
testSilently() - Method in class me.lucko.helper.utils.Cooldown
Deprecated.
Returns true if the cooldown is not active
testSilently(T) - Method in class me.lucko.helper.utils.CooldownCollection
Deprecated.
 
TextUtils - Class in me.lucko.helper.text
 
thenAccept(ThreadContext, Consumer<? super V>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given action.
thenAcceptAsync(Consumer<? super V>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given action.
thenAcceptDelayed(ThreadContext, Consumer<? super V>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given action, after the delay has elapsed.
thenAcceptDelayedAsync(Consumer<? super V>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given action, after the delay has elapsed.
thenAcceptDelayedSync(Consumer<? super V>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given action, after the delay has elapsed.
thenAcceptSync(Consumer<? super V>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given action.
thenApply(ThreadContext, Function<? super V, ? extends U>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function.
thenApplyAsync(Function<? super V, ? extends U>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function.
thenApplyDelayed(ThreadContext, Function<? super V, ? extends U>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function, after the delay has elapsed.
thenApplyDelayedAsync(Function<? super V, ? extends U>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function, after the delay has elapsed.
thenApplyDelayedSync(Function<? super V, ? extends U>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function, after the delay has elapsed.
thenApplySync(Function<? super V, ? extends U>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function.
thenCompose(ThreadContext, Function<? super V, ? extends Promise<U>>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function.
thenComposeAsync(Function<? super V, ? extends Promise<U>>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function.
thenComposeDelayedAsync(Function<? super V, ? extends Promise<U>>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function, after the delay has elapsed.
thenComposeDelayedSync(ThreadContext, Function<? super V, ? extends Promise<U>>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function, after the delay has elapsed.
thenComposeDelayedSync(Function<? super V, ? extends Promise<U>>, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function, after the delay has elapsed.
thenComposeSync(Function<? super V, ? extends Promise<U>>) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, is executed with this promise's result as the argument to the given function.
thenRun(ThreadContext, Runnable) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, executes the given task.
thenRunAsync(Runnable) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, executes the given task.
thenRunDelayed(ThreadContext, Runnable, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, executes the given task, after the delay has elapsed.
thenRunDelayedAsync(Runnable, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, executes the given task, after the delay has elapsed.
thenRunDelayedSync(Runnable, long) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, executes the given task, after the delay has elapsed.
thenRunSync(Runnable) - Method in interface me.lucko.helper.promise.Promise
Returns a new Promise that, when this promise completes normally, executes the given task.
thenTry(ArgumentParser<T>) - Method in interface me.lucko.helper.command.argument.ArgumentParser
Creates a new parser which first tries to obtain a value from this parser, then from another if the former was not successful.
ThreadContext - Enum in me.lucko.helper.promise
Represents the two main types of Thread on the server.
Ticks - Class in me.lucko.helper.scheduler
Utility for converting between Minecraft game ticks and standard durations.
TICKS_PER_SECOND - Static variable in class me.lucko.helper.scheduler.Ticks
 
timeout - Variable in class me.lucko.helper.utils.Cooldown
Deprecated.
 
TimeUtil - Class in me.lucko.helper.utils
 
Timings - Class in me.lucko.helper.timings
Provides access to a TimingManager
title(String) - Method in class me.lucko.helper.menu.paginated.PaginatedGuiBuilder
 
to(long, TimeUnit) - Static method in class me.lucko.helper.scheduler.Ticks
Converts ticks to a duration in a certain unit of time.
toBiMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class me.lucko.helper.utils.ImmutableCollectors
 
toBlock() - Method in class me.lucko.helper.serialize.BlockPosition
 
toChunk() - Method in class me.lucko.helper.serialize.BlockPosition
 
toChunk() - Method in class me.lucko.helper.serialize.ChunkPosition
 
toCompletableFuture() - Method in interface me.lucko.helper.promise.Promise
Returns a CompletableFuture maintaining the same completion properties as this Promise.
toLegacy(Component, char) - Static method in class me.lucko.helper.text.TextUtils
 
toLegacy(Component) - Static method in class me.lucko.helper.text.TextUtils
 
toList() - Static method in class me.lucko.helper.utils.ImmutableCollectors
 
toLocation() - Method in class me.lucko.helper.serialize.BlockPosition
 
toLocation() - Method in class me.lucko.helper.serialize.Point
 
toLocation() - Method in class me.lucko.helper.serialize.Position
 
toLocation(World) - Method in class me.lucko.helper.serialize.VectorPoint
 
toLongForm(long) - Static method in class me.lucko.helper.utils.TimeUtil
 
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class me.lucko.helper.utils.ImmutableCollectors
 
toPosition() - Method in class me.lucko.helper.serialize.BlockPosition
 
toPositionCenter() - Method in class me.lucko.helper.serialize.BlockPosition
 
toSet() - Static method in class me.lucko.helper.utils.ImmutableCollectors
 
toShortForm(long) - Static method in class me.lucko.helper.utils.TimeUtil
 
toSortedMap(Comparator<? super K>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class me.lucko.helper.utils.ImmutableCollectors
 
toSortedSet(Comparator<? super E>) - Static method in class me.lucko.helper.utils.ImmutableCollectors
 
toString(JsonElement) - Static method in class me.lucko.helper.gson.GsonProvider
 
toString() - Method in class me.lucko.helper.maven.LibraryLoader.Dependency
 
toString() - Method in class me.lucko.helper.metadata.Empty
 
toString() - Method in class me.lucko.helper.random.VariableAmount.BaseAndAddition
 
toString() - Method in class me.lucko.helper.random.VariableAmount.BaseAndVariance
 
toString() - Method in class me.lucko.helper.random.VariableAmount.Fixed
 
toString() - Method in class me.lucko.helper.random.VariableAmount.OptionalAmount
 
toString() - Method in class me.lucko.helper.random.WeightedObject
 
toString() - Method in class me.lucko.helper.serialize.BlockPosition
 
toString() - Method in class me.lucko.helper.serialize.BlockRegion
 
toString() - Method in class me.lucko.helper.serialize.ChunkPosition
 
toString() - Method in class me.lucko.helper.serialize.ChunkRegion
 
toString() - Method in class me.lucko.helper.serialize.Direction
 
toString() - Method in class me.lucko.helper.serialize.Point
 
toString() - Method in class me.lucko.helper.serialize.Position
 
toString() - Method in class me.lucko.helper.serialize.Region
 
toString() - Method in class me.lucko.helper.serialize.VectorPoint
 
toString() - Method in class me.lucko.helper.utils.NullableOptional
Returns a non-empty string representation of this NullableOptional suitable for debugging.
toString() - Method in class me.lucko.helper.utils.ServiceCallback
 
toStringPretty(JsonElement) - Static method in class me.lucko.helper.gson.GsonProvider
 
toVector() - Method in class me.lucko.helper.serialize.BlockPosition
 
toVector() - Method in class me.lucko.helper.serialize.ChunkPosition
 
toVector() - Method in class me.lucko.helper.serialize.Position
 
toVectorPoint() - Method in class me.lucko.helper.serialize.Point
 
transform(Consumer<ItemStack>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
transformMeta(Consumer<ItemMeta>) - Method in class me.lucko.helper.item.ItemStackBuilder
 
transformRunnable(Runnable) - Static method in class me.lucko.helper.menu.Item
 
TransientValue<T> - Interface in me.lucko.helper.metadata
Represents a value in a MetadataMap which will automatically expire at some point.
tryConsume(Consumer<Slot>) - Method in class me.lucko.helper.menu.scheme.MenuPopulator
 
type(Material) - Method in class me.lucko.helper.item.ItemStackBuilder
 
type - Variable in class me.lucko.helper.serialize.GsonStorageHandler
 
TypeAware<T> - Interface in me.lucko.helper.interfaces
Represents an object that knows it's own type parameter.

U

uncancel() - Static method in class me.lucko.helper.event.filter.EventHandlers
Returns a consumer which un-cancels the event
unflag(ItemFlag...) - Method in class me.lucko.helper.item.ItemStackBuilder
 
uniform(Collection<E>) - Static method in interface me.lucko.helper.random.RandomSelector
Creates a uniform selector which picks elements randomly.
unregister() - Method in interface me.lucko.helper.event.Subscription
Unregisters the handler
unregisterCommand(T) - Static method in class me.lucko.helper.utils.CommandMapUtil
Unregisters a CommandExecutor with the server
unsubscribe(Player) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
unsubscribe(Player, boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
unsubscribe(Player) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
unsubscribe(Player, boolean) - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
unsubscribe(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Unsubscribes a player from this objective
unsubscribe(Player, boolean) - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Unsubscribes a player from this objective
unsubscribe(Player) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Unsubscribes a player from this team
unsubscribe(Player, boolean) - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Unsubscribes a player from this team
unsubscribeAll() - Method in class me.lucko.helper.scoreboard.PacketScoreboardObjective
 
unsubscribeAll() - Method in class me.lucko.helper.scoreboard.PacketScoreboardTeam
 
unsubscribeAll() - Method in interface me.lucko.helper.scoreboard.ScoreboardObjective
Unsubscribes all players from this objective
unsubscribeAll() - Method in interface me.lucko.helper.scoreboard.ScoreboardTeam
Unsubscribes all players from this team
unwarpPrimitive(JsonPrimitive) - Method in interface me.lucko.helper.gson.converter.GsonConverter
Extracts the underlying Object from an JsonPrimitive.
unwrapArray(JsonArray) - Method in interface me.lucko.helper.gson.converter.GsonConverter
Converts a JsonArray to a List.
unwrapArrayToSet(JsonArray) - Method in interface me.lucko.helper.gson.converter.GsonConverter
Converts a JsonArray to a Set.
unwrapElement(JsonElement) - Method in interface me.lucko.helper.gson.converter.GsonConverter
Converts a JsonElement to a Object.
unwrapObject(JsonObject) - Method in interface me.lucko.helper.gson.converter.GsonConverter
Converts a JsonObject to a Map.
updateContent(List<Item>) - Method in class me.lucko.helper.menu.paginated.PaginatedGui
 
updateLines(List<String>) - Method in interface me.lucko.helper.hologram.Hologram
Updates the lines displayed by this hologram
updatePosition(Position) - Method in interface me.lucko.helper.hologram.Hologram
Updates the position of the hologram and respawns it
uuid(Player, Consumer<UUID>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Get the UUID of a player
uuidOther(String, Consumer<UUID>) - Static method in class me.lucko.helper.messaging.bungee.BungeeMessaging
Get the UUID of any player connected to the proxy

V

value() - Method in interface me.lucko.helper.command.argument.Argument
Gets the value of the argument
value - Variable in class me.lucko.helper.command.argument.SimpleArgument
 
value() - Method in class me.lucko.helper.command.argument.SimpleArgument
 
valueOf(String) - Static method in enum me.lucko.helper.event.functional.ExpiryTestStage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.lucko.helper.promise.ThreadContext
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.lucko.helper.scoreboard.ScoreboardTeam.CollisionRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.lucko.helper.scoreboard.ScoreboardTeam.NameTagVisibility
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.lucko.helper.event.functional.ExpiryTestStage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.lucko.helper.promise.ThreadContext
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.lucko.helper.scoreboard.ScoreboardTeam.CollisionRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.lucko.helper.scoreboard.ScoreboardTeam.NameTagVisibility
Returns an array containing the constants of this enum type, in the order they are declared.
VariableAmount - Interface in me.lucko.helper.random
Represents a value which may vary randomly.
VariableAmount.BaseAndAddition - Class in me.lucko.helper.random
Represents a base amount with a random addition, the final amount will be the base amount plus a random amount between zero (inclusive) and the addition (exclusive).
VariableAmount.BaseAndVariance - Class in me.lucko.helper.random
Represents a base amount with a variance, the final amount will be the base amount plus or minus a random amount between zero (inclusive) and the variance (exclusive).
VariableAmount.Fixed - Class in me.lucko.helper.random
Represents a fixed amount, calls to VariableAmount.Fixed.getAmount(java.util.Random) will always return the same fixed value.
VariableAmount.OptionalAmount - Class in me.lucko.helper.random
Represents a variable amount which has a base and a chance of varying.
VectorPoint - Class in me.lucko.helper.serialize
An immutable and serializable vector + direction object
VectorSerializers - Class in me.lucko.helper.serialize
Utility for serializing and deserializing flowpowered Vector instances

W

warn(String) - Static method in class me.lucko.helper.utils.Log
 
WeakValue<T> - Class in me.lucko.helper.metadata
Represents a value wrapped in a WeakReference
weigh(E) - Method in interface me.lucko.helper.random.Weigher
Calculates and returns the weight of the element.
Weigher<E> - Interface in me.lucko.helper.random
Represents an object which can determine the weight of objects.
WEIGHER - Static variable in interface me.lucko.helper.random.Weighted
An instance of Weigher which uses the Weighted.getWeight() method to determine weight.
weighted(Collection<E>) - Static method in interface me.lucko.helper.random.RandomSelector
Creates a weighted selector which picks elements according to the value of their Weighted.getWeight().
weighted(Collection<E>, Weigher<? super E>) - Static method in interface me.lucko.helper.random.RandomSelector
Creates a weighted selector which picks elements using their weight, according to the weigher function.
Weighted - Interface in me.lucko.helper.random
Represents an object which has a weight
WeightedObject<T> - Class in me.lucko.helper.random
Represents a Weighted object.
withDirection(Direction) - Method in class me.lucko.helper.serialize.Position
 
withWorld(String) - Method in class me.lucko.helper.serialize.VectorPoint
 
WOOL - Static variable in class me.lucko.helper.menu.scheme.StandardSchemeMappings
 
world(String) - Static method in class me.lucko.helper.Helper
 
WorldMetadataRegistry - Interface in me.lucko.helper.metadata.type
A registry which provides and stores MetadataMaps for Worlds.
worldNullable(String) - Static method in class me.lucko.helper.Helper
 
worlds() - Static method in class me.lucko.helper.metadata.Metadata
Gets the MetadataRegistry for Worlds.
wrap(Object) - Method in interface me.lucko.helper.gson.converter.GsonConverter
Tries to wrap an object to a JsonElement.
wrapRunnable(Runnable) - Static method in class me.lucko.helper.Scheduler
 
writeElement(Appendable, JsonElement) - Static method in class me.lucko.helper.gson.GsonProvider
 
writeElementPretty(Appendable, JsonElement) - Static method in class me.lucko.helper.gson.GsonProvider
 
writeObject(Appendable, JsonObject) - Static method in class me.lucko.helper.gson.GsonProvider
 
writeObjectPretty(Appendable, JsonObject) - Static method in class me.lucko.helper.gson.GsonProvider
 

Y

yaml(Path) - Static method in class me.lucko.helper.config.Configs
 
yaml(File) - Static method in class me.lucko.helper.config.Configs
 
yamlLoad(Path) - Static method in class me.lucko.helper.config.Configs
 
yamlLoad(File) - Static method in class me.lucko.helper.config.Configs
 
yamlSave(Path, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 
yamlSave(File, ConfigurationNode) - Static method in class me.lucko.helper.config.Configs
 

Z

ZERO - Static variable in class me.lucko.helper.serialize.Direction
 
A B C D E F G H I J K L M N O P R S T U V W Y Z 
Skip navigation links

Copyright © 2017. All rights reserved.