All Classes and Interfaces

Class
Description
The abstract shape of a config, before proper resolution
 
 
 
An abstract implementation of MessageFormatter that provides a default implementation of AbstractMessageFormatter.preFormat(String, OfflinePlayer).
A factory for creating instances.
Generates accessor methods for configuration classes.
A provider for BukkitAudiences that uses the Plugin
A condition that can be placed upon an argument of a given type.
Handles resolution of an argument to a value of type ArgumentContext.
 
List of hierarchical names
 
 
 
Inspects the AST and sends errors/warnings for invalid setups
 
A Supplier which caches the value it supplies.
A ConfigProvider which caches the config to avoid repeated file reads.
If an Annotation should also apply to inner / nested classes This is similar to Inherited but doesn't require a sub/superclass relation, which better suits the patterns often used in config DTO types.
Utility class for casting objects
Input about a click event in a SpigotGUI.
Utility for deserializing collections using the MittenLib config system.
A command Classes should extend this instead of BaseCommand.
A command is an object which performs some side effect and produces a message upon completion.
 
Marker for environments that a Command can run in, letting it access environment-specific data.
A provider for PaperCommandManager.
A Guice module for registering commands.
A ParameterizedType that can take a dynamic number of type arguments.
A message that is composed of multiple LangMessages This allows LangMessages to be easily "concatenated", allowing for more complex messages to be created
Marks a type as a DTO type that will be processed by the annotation processor, if present.
 
 
 
Responsible for setting up access to a config file
 
Used in generated code to help with the loading of config maps
Guice module for config handling
Marks an expected name for a field in a config file.
A cache for AbstractConfigStructure objects indexed by their class names.
Responsible for turning simple file names into Paths
General exception thrown when the config annotation processor fails
Annotation processor for generating configuration classes from DTO classes marked with Config.
Guice module for the configuration annotation processor.
A Provider for a config type ConfigProvider, optionally specifying a Path representing the config file.
Improves a ConfigProvider by wrapping it with (possible) extra functionality.
Responsible for both reading and mapping data, delegating to ObjectLoaders and ObjectMappers
Where a config came from (its declaring class/interface annotated with @Config)
 
 
Denotes a type as the root of a union
Represents a loadable configuration which will deserialize to an object of type Configuration
Responsible for generating proper class names for configuration classes.
 
 
 
Information about a custom deserializer.
 
Like JsonElement but without a strict dependency on json
 
 
 
 
 
 
 
 
Utility class for transforming between DataTree and POJO representations.
 
Factory for creating a TypeAdapter for DataTree objects.
Default implementation of AbstractMiniMessageFactory.
 
A ConfigProvider which delegates to another ConfigProvider, improving it with a ConfigProviderImprover
 
 
Generates deserialization code for configuration classes.
Context for deserializing a config, making it easier to pass around
A function that deserializes a config, taking a DeserializationContext and returning a Result of type DeserializationFunction
Thrown when a DTO class references an invalid type
Helper class for working with Elements
 
 
Utility class for enums
Generates equals and hashCode methods for configuration classes.
Utility class for dealing with Throwables
A thin wrapper over a TypeAdapter that also stores the type it is for.
Marks a custom deserializer as a fallback deserializer.
Responsible for generating serial keys based on DTO fields
A specific type of file such as JSON or YAML which can be loaded into a Map-like data structure.
Module handling registration of an ObjectMapper, FileTypes, and a Gson instance.
Stores all the known FileType classes, used for registration in the FileTypeModule
A watcher for a file.
Exception thrown when there is an error with file watching operations.
Sets up the FileWatcherService
Handles file watching operations.
A ConfigProvider that watches a file for changes, reloading the config when the file changes
A hook for formatting a String.
Utility class for dealing with Functions
Utility class for working with Futures and CompletableFutures
Marks a class as being generated from a config DTO.
 
This class should not be treated as a public API, and is subject to change at any time.
 
Instructs the annotation processor to generate a toString method for a generated config class.
 
An ObjectLoader that uses Gson to parse a JSON string
An ObjectMapper implementation using Gson.
An ObjectWriter implementation that writes DataTree instances to JSON using a provided Gson instance.
Standard provider for Gson instances.
Base interface for GUI applications, based on the Elm Architecture (Model-View-Update / TEA).
Manages GUI sessions and their lifecycles.
Guice module for the GUI framework.
Represents an active GUI session with state management and event handling.
 
This is a truly outrageous hack Essentially, when a papi expansion returns a hex color, it doesn't get parsed properly by MiniMessage and instead it just takes it to the nearest legacy color This class tries to parse the §x§a...
Guice module for registering common FormattingHooks
 
A button in a Spigot GUI Inventory.
 
Like SafeFunction but only for IOException
An ArgumentContext that is aware of the issuer of the command and the argument's value.
An ArgumentContext that is only aware of the issuer of the command, and not the argument's value.
 
 
 
 
 
Creates a TypeAdapter that can serialize elements with just a message to plain Strings (i.e not complex objects), and vice versa
 
A basic service for sending language messages to command senders.
A FormattingHook that replaces legacy color codes with their MiniMessage equivalent.
 
Creates a new empty Multibinder for Bukkit Listeners and binds ListenerRegistration as an eager singleton.
Implementations for immutable Maps used in Maps
Utility functions for creating immutable maps Unnecessary in Java 9+
 
 
Specifies how match methods should be generated for a union.
A MessageFormatter is responsible for formatting a String into a Component, applying some FormattingHooks to the String.
Manages method names for configuration classes to ensure they don't conflict with existing methods.
Factory interface for creating GUI components.
An AbstractMessageFormatter that uses MiniMessage to create a Component from a String
An extension of LangModule that adds support for MiniMessage.
 
 
Stores the name of the consumer of MittenLib (usually the plugin name).
Main Guice Module for MittenLib.
 
 
Exception representing multiple failures that occur simultaneously.
A command condition that is referenced by name on the full command rather than an argument.
Defines a naming pattern for a class or field.
Patterns for naming fields in a config.
Transforms strings into different formats based on a NamingPatterns
 
A ConfigProviderImprover that does nothing.
Utility class for working with nullable values without having to use Optional.
 
Responsible for parsing a tree-like file (JSON, YAML, etc) into a Map of String keys and Object values.
Interface for mapping objects It should hold that map(map(t), T.class).getOrThrow().equals(t), i.e both map functions are inverses
Inverse to ObjectLoader
A FormattingHook which applies PlaceholderAPI placeholders to the message.
Binds PAPI related classes
Utility class for working with Paths
A ConfigInitializationStrategy that copies a resource from a plugin's jar to its data folder if it does not exist
Thrown when a resource could not be found in a plugin
 
A ConfigPathResolver that resolves paths relative to a Plugin's data folder
 
A representation of a property in a configuration type.
 
 
 
 
A function isomorphic to Function, but with the expectation that it is pure.
A ConfigProvider that reads from a file, using a ConfigReader
A record with a single constructor
 
 
 
 
 
 
 
 
A Result encapsulates a computation that may fail, throwing an exception.
 
 
A BiConsumer that can throw a checked exception.
A Consumer that can throw a checked exception.
A Function that can throw a checked exception.
A BiFunction that can throw a checked exception.
A Runnable that can throw a checked exception.
A Supplier that can throw a checked exception.
 
 
 
Generates serialization code for configuration classes.
A function that serializes a config object to a DataTree
 
Implementations for immutable sets used in Sets
Utility functions for creating immutable sets.
 
 
 
A formatting hook that is always applied, and uses a lambda to format the string.
Default implementation of MessageFormatter that uses LegacyComponentSerializer to create Components.
Marks a Config class as being loaded from a file.
A command that can be executed in a Spigot GUI context.
The context for a Spigot command execution.
Handles Spigot inventory events and connects them to the GUI framework.
Base class for Spigot GUIs.
Spigot implementation of the GUIManager.
A view of a Spigot GUI - not a real inventory, but a description of one.
 
Spigot implementation of GUIFactory for creating GUI components.
Generic utilities for converting objects to strings.
A ConfigProvider that reads a String to load a config
A formatting hook that applies string replacements
 
A tab completer for a command argument.
 
 
 
Generates toString methods for configuration classes.
 
Helper class for working with TypeMirrors
 
 
 
Unit value
 
Marks a configuration property to use ObjectMapper for serialization.
Minecraft versions "enum"
 
 
Generic interface for a ConfigProvider that wraps another ConfigProvider.
 
 
Responsible for writing DataTree objects to YAML format.