A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCancellable - Class in dev.hypera.chameleon.event
-
An abstract implementation of
Cancellable. - AbstractCancellable(boolean) - Constructor for class dev.hypera.chameleon.event.AbstractCancellable
-
Abstract cancellable constructor.
- acceptCancelled() - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Accept cancelled events.
- acceptsCancelled() - Method in interface dev.hypera.chameleon.event.EventSubscriber
-
Whether this subscriber should be given cancelled events.
- acceptsCancelled(boolean) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Set whether this subscriber should accept cancelled events.
- addAliases(Collection<String>) - Method in class dev.hypera.chameleon.command.Command
-
Add command aliases.
- addNode(T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Adds
nodeto this graph, if it is not already present. - adjacentNodes(T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Returns the nodes which have an edge with
nodein this graph. - ADVENTURE - dev.hypera.chameleon.platform.server.GameMode
- AdventureMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure mapper.
- AdventureMapper(Chameleon) - Constructor for class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Adventure mapper constructor.
- all() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches all platforms.
- allowSelfLoops() - Method in interface dev.hypera.chameleon.util.graph.Graph.Builder
-
Allow self-loops.
- allowSelfLoops(boolean) - Method in interface dev.hypera.chameleon.util.graph.Graph.Builder
-
Sets whether this graph should allow self-loops.
- and(PlatformTarget) - Method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Returns a new platform target that matches this target, and the
othertarget. - async() - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Execute this task asynchronously.
- async(Runnable) - Static method in interface dev.hypera.chameleon.scheduler.Task
-
Create a new asynchronous task.
- audience() - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Gets the audience.
- AudienceReflection - Class in dev.hypera.chameleon.adventure
-
Helper class for
ReflectedAudience. - AudienceReflection(AdventureMapper) - Constructor for class dev.hypera.chameleon.adventure.AudienceReflection
-
Audience reflection constructor.
B
- BookMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Book mapper.
- bootstrap(ChameleonLogger, EventBus) - Method in interface dev.hypera.chameleon.ChameleonPluginBootstrap
-
Called before Chameleon is loaded, allowing you to load certain parts of the plugin beforehand.
- BossBarMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure BossBar mapper.
- BoundMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Bound mapper.
- build() - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Build event subscriber.
- build() - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Build task.
- build() - Method in interface dev.hypera.chameleon.util.graph.Graph.Builder
-
Build graph.
- builder(Class<T>) - Static method in interface dev.hypera.chameleon.event.EventSubscriber
-
Create a new event subscriber builder.
- builder(Runnable) - Static method in interface dev.hypera.chameleon.scheduler.Task
-
Create a new task builder.
- bukkit() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches Bukkit.
- BUKKIT - Static variable in interface dev.hypera.chameleon.platform.Platform
- bungeeCord() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches BungeeCord.
- BUNGEECORD - Static variable in interface dev.hypera.chameleon.platform.Platform
C
- cancel() - Method in interface dev.hypera.chameleon.event.Cancellable
-
Cancels the event.
- cancel() - Method in interface dev.hypera.chameleon.scheduler.ScheduledTask
-
Cancel this task.
- cancel(Component) - Method in class dev.hypera.chameleon.event.common.UserConnectEvent
-
Cancel the event, with a reason.
- cancelAfter(int) - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Cancel after
cancelAfterexecutions. - Cancellable - Interface in dev.hypera.chameleon.event
-
Represents an event that can be cancelled.
- cancelWhen(BooleanSupplier) - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Cancel this task when this the supplier returns
true. - chameleon() - Method in class dev.hypera.chameleon.event.common.ChameleonDisableEvent
-
Get the Chameleon instance that triggered this event.
- chameleon() - Method in class dev.hypera.chameleon.event.common.ChameleonEnableEvent
-
Get the Chameleon instance that triggered this event.
- chameleon() - Method in class dev.hypera.chameleon.event.common.ChameleonLoadEvent
-
Get the Chameleon instance that triggered this event.
- Chameleon - Class in dev.hypera.chameleon
-
Chameleon.
- Chameleon(ChameleonPluginBootstrap, EventBus, ChameleonLogger, ExtensionMap) - Constructor for class dev.hypera.chameleon.Chameleon
- ChameleonAudienceProvider - Interface in dev.hypera.chameleon.adventure
-
Chameleon audience provider.
- ChameleonBootstrap<T extends Chameleon> - Class in dev.hypera.chameleon
-
Chameleon bootstrap.
- ChameleonBootstrap(String, ChameleonPluginBootstrap, ChameleonLogger) - Constructor for class dev.hypera.chameleon.ChameleonBootstrap
- ChameleonCommandException - Exception in dev.hypera.chameleon.exception.command
-
Chameleon command exception.
- ChameleonCommandException() - Constructor for exception dev.hypera.chameleon.exception.command.ChameleonCommandException
-
Chameleon command exception constructor.
- ChameleonCommandException(String) - Constructor for exception dev.hypera.chameleon.exception.command.ChameleonCommandException
-
Chameleon command exception constructor.
- ChameleonCommandException(String, Throwable) - Constructor for exception dev.hypera.chameleon.exception.command.ChameleonCommandException
-
Chameleon command exception constructor.
- ChameleonCommandException(String, Throwable, boolean, boolean) - Constructor for exception dev.hypera.chameleon.exception.command.ChameleonCommandException
- ChameleonCommandException(Throwable) - Constructor for exception dev.hypera.chameleon.exception.command.ChameleonCommandException
-
Chameleon command exception constructor.
- ChameleonDisableEvent - Class in dev.hypera.chameleon.event.common
-
Chameleon disable event.
- ChameleonDisableEvent(Chameleon) - Constructor for class dev.hypera.chameleon.event.common.ChameleonDisableEvent
-
ChameleonDisableEvent constructor.
- ChameleonEnableEvent - Class in dev.hypera.chameleon.event.common
-
Chameleon enable event.
- ChameleonEnableEvent(Chameleon) - Constructor for class dev.hypera.chameleon.event.common.ChameleonEnableEvent
-
ChameleonEnableEvent constructor.
- ChameleonEvent - Interface in dev.hypera.chameleon.event
-
Chameleon event.
- ChameleonException - Exception in dev.hypera.chameleon.exception
-
Chameleon exception.
- ChameleonException() - Constructor for exception dev.hypera.chameleon.exception.ChameleonException
-
Chameleon exception constructor.
- ChameleonException(String, Throwable, boolean, boolean) - Constructor for exception dev.hypera.chameleon.exception.ChameleonException
- ChameleonException(String) - Constructor for exception dev.hypera.chameleon.exception.ChameleonException
-
Chameleon exception constructor.
- ChameleonException(String, Throwable) - Constructor for exception dev.hypera.chameleon.exception.ChameleonException
-
Chameleon exception constructor.
- ChameleonException(Throwable) - Constructor for exception dev.hypera.chameleon.exception.ChameleonException
-
Chameleon exception constructor.
- ChameleonExtension - Interface in dev.hypera.chameleon.extension
-
Extension.
- ChameleonExtensionDependency - Interface in dev.hypera.chameleon.extension
-
Chameleon extension dependency.
- ChameleonExtensionException - Exception in dev.hypera.chameleon.exception.extension
-
Chameleon extension exception.
- ChameleonExtensionException() - Constructor for exception dev.hypera.chameleon.exception.extension.ChameleonExtensionException
-
Chameleon extension exception constructor.
- ChameleonExtensionException(String) - Constructor for exception dev.hypera.chameleon.exception.extension.ChameleonExtensionException
-
Chameleon extension exception constructor.
- ChameleonExtensionException(String, Throwable) - Constructor for exception dev.hypera.chameleon.exception.extension.ChameleonExtensionException
-
Chameleon extension exception constructor.
- ChameleonExtensionException(String, Throwable, boolean, boolean) - Constructor for exception dev.hypera.chameleon.exception.extension.ChameleonExtensionException
- ChameleonExtensionException(Throwable) - Constructor for exception dev.hypera.chameleon.exception.extension.ChameleonExtensionException
-
Chameleon extension exception constructor.
- ChameleonExtensionFactory<T extends ChameleonExtension> - Interface in dev.hypera.chameleon.extension
-
Chameleon extension factory.
- ChameleonInternalLogger - Class in dev.hypera.chameleon.logger
-
Internal Chameleon logger wrapper.
- ChameleonInternalLogger(ChameleonLogger) - Constructor for class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Chameleon internal logger constructor.
- ChameleonJavaLogger - Class in dev.hypera.chameleon.logger
-
Java Chameleon logger implementation.
- ChameleonJavaLogger(Logger) - Constructor for class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Chameleon Java logger constructor.
- ChameleonLoadEvent - Class in dev.hypera.chameleon.event.common
-
Chameleon load event.
- ChameleonLoadEvent(Chameleon) - Constructor for class dev.hypera.chameleon.event.common.ChameleonLoadEvent
-
ChameleonLoadEvent constructor.
- ChameleonLog4jLogger - Class in dev.hypera.chameleon.logger
-
Log4J Chameleon logger implementation.
- ChameleonLog4jLogger(Logger) - Constructor for class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Chameleon Log4J logger constructor.
- ChameleonLogger - Interface in dev.hypera.chameleon.logger
-
Chameleon logger.
- ChameleonPlatformExtension - Interface in dev.hypera.chameleon.extension
-
Chameleon platform extension.
- ChameleonPlugin - Interface in dev.hypera.chameleon
-
Chameleon plugin.
- ChameleonPluginBootstrap - Interface in dev.hypera.chameleon
-
Chameleon plugin bootstrap.
- ChameleonReflectiveException - Exception in dev.hypera.chameleon.exception.reflection
-
Chameleon reflective exception.
- ChameleonReflectiveException() - Constructor for exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
-
Chameleon reflective exception constructor.
- ChameleonReflectiveException(String) - Constructor for exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
-
Chameleon reflective exception constructor.
- ChameleonReflectiveException(String, Throwable) - Constructor for exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
-
Chameleon reflective exception constructor.
- ChameleonReflectiveException(String, Throwable, boolean, boolean) - Constructor for exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
- ChameleonReflectiveException(Throwable) - Constructor for exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
-
Chameleon reflective exception constructor.
- ChameleonRuntimeException - Exception in dev.hypera.chameleon.exception
-
Chameleon runtime exception.
- ChameleonRuntimeException() - Constructor for exception dev.hypera.chameleon.exception.ChameleonRuntimeException
-
Chameleon runtime exception constructor.
- ChameleonRuntimeException(String) - Constructor for exception dev.hypera.chameleon.exception.ChameleonRuntimeException
-
Chameleon runtime exception constructor.
- ChameleonRuntimeException(String, Throwable) - Constructor for exception dev.hypera.chameleon.exception.ChameleonRuntimeException
-
Chameleon runtime exception constructor.
- ChameleonRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception dev.hypera.chameleon.exception.ChameleonRuntimeException
- ChameleonRuntimeException(Throwable) - Constructor for exception dev.hypera.chameleon.exception.ChameleonRuntimeException
-
Chameleon runtime exception constructor.
- ChameleonSlf4jLogger - Class in dev.hypera.chameleon.logger
-
SLF4J Chameleon logger implementation.
- ChameleonSlf4jLogger(Logger) - Constructor for class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Chameleon SLF4J logger constructor.
- ChameleonUtil - Class in dev.hypera.chameleon.util
-
Chameleon internal utilities.
- ChatTypeMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure ChatType mapper.
- ChatUser - Interface in dev.hypera.chameleon.user
-
Represents something that can receive messages.
- checkArgument(boolean) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures the expression is
trueto validate an argument. - checkArgument(boolean, String) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures the expression is
trueto validate an argument. - checkArgument(boolean, String, Object...) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures the expression is
trueto validate an argument. - checkNoneNull(String, Collection<T>) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures that the given
valuedoes not contain null. - checkNotNull(String, T) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures that the given
valueis not null. - checkNotNull(T) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures that the given
valueis not null. - checkNotNullState(String, T) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures that the given
valueis not null. - checkState(boolean) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures that expression is
trueto validate a state. - checkState(boolean, String) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures the expression is
trueto validate a state. - checkState(boolean, String, Object...) - Static method in class dev.hypera.chameleon.util.Preconditions
-
Ensures the expression is
trueto validate a state. - clearTitle() - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Clears the title, if one is being displayed.
- clearTitle(Object) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Clear the title for the given audience using reflection.
- Command - Class in dev.hypera.chameleon.command
-
Abstract command.
- Command(String...) - Constructor for class dev.hypera.chameleon.command.Command
-
Command constructor.
- CommandHandler - Annotation Type in dev.hypera.chameleon.command.annotations
-
Command handler annotation.
- CommandManager - Class in dev.hypera.chameleon.command
-
Chameleon command manager.
- CommandManager(Chameleon) - Constructor for class dev.hypera.chameleon.command.CommandManager
-
Command manager constructor.
- ComponentMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Component mapper.
- ComponentMapper() - Constructor for class dev.hypera.chameleon.adventure.mapper.ComponentMapper
- Condition - Interface in dev.hypera.chameleon.command.objects
-
Command condition.
- connect(Server) - Method in interface dev.hypera.chameleon.user.ProxyUser
-
Attempt to switch this user to the given server.
- connect(Server, BiConsumer<Boolean, Throwable>) - Method in interface dev.hypera.chameleon.user.ProxyUser
-
Attempt to switch this user to the given server and then run the given callback.
- ConsoleUser - Interface in dev.hypera.chameleon.user
-
Represents a console that can receive messages.
- Context - Interface in dev.hypera.chameleon.command.context
-
Command context.
- ContextImpl - Class in dev.hypera.chameleon.command.context
-
Context implementation.
- ContextImpl(ChatUser, Chameleon, String[]) - Constructor for class dev.hypera.chameleon.command.context.ContextImpl
-
Context implementation constructor.
- create(String) - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionFactory
-
Create an extension instance for the given platform.
- create(String, Object...) - Static method in exception dev.hypera.chameleon.exception.extension.ChameleonExtensionException
-
Returns a new Chameleon extension exception with the formatted message.
- create(String, Throwable, Object...) - Static method in exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
-
Create a new Chameleon reflective exception with a template and exception.
- createAndLoad(Class<E>, Class<?>) - Static method in class dev.hypera.chameleon.adventure.mapper.EnumMapper
-
Create a new Enum mapper for the given enum class and platform class.
- createMethodInvocationFailure(Method, Object, Throwable) - Static method in exception dev.hypera.chameleon.exception.reflection.ChameleonReflectiveException
-
Create a failed to call method exception.
- createPlugin(Chameleon) - Method in interface dev.hypera.chameleon.ChameleonPluginBootstrap
-
Returns an instantiated plugin main class.
- createReflectedAudience(Object) - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Create a new reflected audience wrapping the given platform audience.
- CREATIVE - dev.hypera.chameleon.platform.server.GameMode
D
- debug(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Log a debug message.
- debug(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Log a debug message.
- debug(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Log a debug message.
- debug(String, Object...) - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Log a debug message.
- debug(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Log a debug message.
- delay(Schedule) - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Execute this task after a delay.
- deleteMessage(Object, SignedMessage.Signature) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Delete a message for the given audience using reflection.
- deleteMessage(SignedMessage.Signature) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Requests deletion of a message with the provided signature.
- dev.hypera.chameleon - package dev.hypera.chameleon
- dev.hypera.chameleon.adventure - package dev.hypera.chameleon.adventure
- dev.hypera.chameleon.adventure.mapper - package dev.hypera.chameleon.adventure.mapper
- dev.hypera.chameleon.command - package dev.hypera.chameleon.command
- dev.hypera.chameleon.command.annotations - package dev.hypera.chameleon.command.annotations
- dev.hypera.chameleon.command.context - package dev.hypera.chameleon.command.context
- dev.hypera.chameleon.command.objects - package dev.hypera.chameleon.command.objects
- dev.hypera.chameleon.event - package dev.hypera.chameleon.event
- dev.hypera.chameleon.event.common - package dev.hypera.chameleon.event.common
- dev.hypera.chameleon.event.proxy - package dev.hypera.chameleon.event.proxy
- dev.hypera.chameleon.event.server - package dev.hypera.chameleon.event.server
- dev.hypera.chameleon.exception - package dev.hypera.chameleon.exception
- dev.hypera.chameleon.exception.command - package dev.hypera.chameleon.exception.command
- dev.hypera.chameleon.exception.extension - package dev.hypera.chameleon.exception.extension
- dev.hypera.chameleon.exception.reflection - package dev.hypera.chameleon.exception.reflection
- dev.hypera.chameleon.extension - package dev.hypera.chameleon.extension
-
The extensions package provides a way to create custom libraries that expand Chameleon's core functionality.
- dev.hypera.chameleon.logger - package dev.hypera.chameleon.logger
- dev.hypera.chameleon.platform - package dev.hypera.chameleon.platform
- dev.hypera.chameleon.platform.proxy - package dev.hypera.chameleon.platform.proxy
- dev.hypera.chameleon.platform.server - package dev.hypera.chameleon.platform.server
- dev.hypera.chameleon.scheduler - package dev.hypera.chameleon.scheduler
- dev.hypera.chameleon.user - package dev.hypera.chameleon.user
- dev.hypera.chameleon.util - package dev.hypera.chameleon.util
- dev.hypera.chameleon.util.graph - package dev.hypera.chameleon.util.graph
- directed() - Static method in interface dev.hypera.chameleon.util.graph.Graph
-
Create a new directed graph builder.
- disable() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Attempt to disable this plugin.
- disableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Disable debug logs.
- disableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Disable debug logs.
- disableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Disable debug logs.
- disableDebug() - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Disable debug logs.
- disableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Disable debug logs.
- disconnect(Component) - Method in interface dev.hypera.chameleon.user.User
-
Disconnect this user from the platform.
- dispatch(ChameleonEvent) - Method in interface dev.hypera.chameleon.event.EventBus
-
Dispatch an event to subscribers.
- dispatch(ChameleonEvent) - Method in class dev.hypera.chameleon.event.EventBusImpl
-
Dispatch an event to subscribers.
- duration(Duration) - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that is executed according to the provided Duration.
E
- Edge<T> - Interface in dev.hypera.chameleon.util.graph
-
An edge between two nodes.
- edges() - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Returns all edges in this graph.
- enable() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Attempt to enable this plugin.
- enableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Enable debug logs.
- enableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Enable debug logs.
- enableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Enable debug logs.
- enableDebug() - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Enable debug logs.
- enableDebug() - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Enable debug logs.
- EnumMapper<E extends Enum<E>> - Class in dev.hypera.chameleon.adventure.mapper
-
Enum mapper.
- EnumMapper(Class<E>, Class<?>) - Constructor for class dev.hypera.chameleon.adventure.mapper.EnumMapper
-
Enum mapper constructor.
- error(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Log an error message.
- error(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Log an error message.
- error(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Log an error message.
- error(String, Object...) - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Log an error message.
- error(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Log an error message.
- error(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Log an error message with an exception.
- error(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Log an error message with an exception.
- error(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Log an error message with an exception.
- error(String, Throwable, Object...) - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Log an error message with an exception.
- error(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Log an error message with an exception.
- eventBus - Variable in class dev.hypera.chameleon.ChameleonBootstrap
- EventBus - Interface in dev.hypera.chameleon.event
-
Event bus.
- EventBusImpl - Class in dev.hypera.chameleon.event
-
Event bus implementation.
- EventBusImpl(ChameleonLogger) - Constructor for class dev.hypera.chameleon.event.EventBusImpl
-
Event bus implementation constructor.
- EventSubscriber<T extends ChameleonEvent> - Interface in dev.hypera.chameleon.event
-
An event subscriber, used to listen for events.
- EventSubscriber.Builder<T extends ChameleonEvent> - Interface in dev.hypera.chameleon.event
-
Event subscriber builder.
- EventSubscription - Interface in dev.hypera.chameleon.event
-
An event subscription.
- EventSubscriptionPriority - Enum in dev.hypera.chameleon.event
-
Event subscription priority.
- execute(Context) - Method in class dev.hypera.chameleon.command.Command
-
Execute the command.
- execute(Context, Command) - Method in class dev.hypera.chameleon.command.SubCommand
-
Execute the command.
- executeCommand(Context) - Method in class dev.hypera.chameleon.command.Command
-
Execute the command.
- executeSubCommand(Context, String) - Method in class dev.hypera.chameleon.command.Command
-
Execute sub command.
- expireAfter(int) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Expire after
expiresAfterexecutions. - expireWhen(Predicate<T>) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Expire when this predicate returns
true. - extension() - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Returns the extension class this dependency is for.
- ExtensionManager - Interface in dev.hypera.chameleon.extension
-
Extension manager.
- ExtensionManagerImpl - Class in dev.hypera.chameleon.extension
-
Extension manager implementation.
- ExtensionManagerImpl(Chameleon, ExtensionMap) - Constructor for class dev.hypera.chameleon.extension.ExtensionManagerImpl
-
Extension manager constructor.
- ExtensionMap - Class in dev.hypera.chameleon.extension
-
Extension map.
- ExtensionMap() - Constructor for class dev.hypera.chameleon.extension.ExtensionMap
- extensions - Variable in class dev.hypera.chameleon.ChameleonBootstrap
F
- filter(Predicate<ChatUser>) - Method in interface dev.hypera.chameleon.adventure.ChameleonAudienceProvider
-
Creates an audience based on a filter.
- filters(Collection<Predicate<T>>) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Add filters for this subscriber.
- filters(Predicate<T>) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Add a filter for this subscriber.
- first() - Method in interface dev.hypera.chameleon.util.Pair
-
Returns the first value.
- FIRST - dev.hypera.chameleon.event.EventSubscriptionPriority
-
First, indicates that the subscriber should be called before all other subscribers.
- flip() - Method in interface dev.hypera.chameleon.util.graph.Edge
-
Returns a new edge with the sources and targets of this edge, but reversed.
- folia() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches Folia.
- FOLIA - Static variable in interface dev.hypera.chameleon.platform.Platform
G
- GameMode - Enum in dev.hypera.chameleon.platform.server
-
Server user game mode.
- get(Pointer<T>) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Gets the value of
pointer. - getAddress() - Method in interface dev.hypera.chameleon.user.User
-
Get the address of this user.
- getAdventure() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the audience provider.
- getAliases() - Method in class dev.hypera.chameleon.command.Command
-
Get command aliases.
- getAliases() - Method in class dev.hypera.chameleon.command.SubCommand
-
Get command aliases.
- getArgs() - Method in interface dev.hypera.chameleon.command.context.Context
-
Get command arguments.
- getArgs() - Method in class dev.hypera.chameleon.command.context.ContextImpl
-
Get command arguments.
- getAuthors() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the authors of this plugin.
- getBookMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the book mapper.
- getBossBarMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the boss bar mapper.
- getBoundMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the bound mapper.
- getBranch() - Static method in class dev.hypera.chameleon.Chameleon
-
Returns the Git branch Chameleon was built from.
- getBuildTime() - Static method in class dev.hypera.chameleon.Chameleon
-
Returns the time Chameleon was built.
- getCancelReason() - Method in class dev.hypera.chameleon.event.common.UserConnectEvent
-
Get the reason used when kicking the player if this event is cancelled.
- getChameleon() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the stored Chameleon implementation.
- getChameleon() - Method in interface dev.hypera.chameleon.command.context.Context
-
Get Chameleon implementation.
- getChameleon() - Method in class dev.hypera.chameleon.command.context.ContextImpl
-
Get Chameleon implementation.
- getChatTypeMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the chat type mapper.
- getCommandManager() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the command manager.
- getCommitHash() - Static method in class dev.hypera.chameleon.Chameleon
-
Returns the SHA-1 hash of the Git commit Chameleon was built from.
- getComponentMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the component mapper.
- getConditions() - Method in class dev.hypera.chameleon.command.Command
-
Get command conditions.
- getConnectedServer() - Method in interface dev.hypera.chameleon.user.ProxyUser
-
Get the server this user is currently connected to.
- getConsole() - Method in interface dev.hypera.chameleon.user.UserManager
-
Get a user representing the platform console.
- getDataDirectory() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the plugin data directory.
- getDataFolder() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the data folder of this plugin.
- getDependencies() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the required dependencies of this plugin.
- getDependencies(String) - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionFactory
-
Returns the dependencies this extension requires on the given platform.
- getDescription() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the description of this plugin.
- getErrorMessage() - Method in interface dev.hypera.chameleon.command.objects.Condition
-
Get error message.
- getEventBus() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the event bus.
- getExtension(Class<T>) - Method in interface dev.hypera.chameleon.extension.ExtensionManager
-
Get a loaded Chameleon extension.
- getExtension(Class<T>) - Method in class dev.hypera.chameleon.extension.ExtensionManagerImpl
-
Get a loaded Chameleon extension.
- getExtension(Class<T>) - Method in class dev.hypera.chameleon.extension.ExtensionMap
-
Get the extension with the given class.
- getExtensionManager() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the extension manager.
- getExtensions() - Method in interface dev.hypera.chameleon.extension.ExtensionManager
-
Get all loaded Chameleon extensions.
- getExtensions() - Method in class dev.hypera.chameleon.extension.ExtensionManagerImpl
-
Get all loaded Chameleon extensions.
- getFrom() - Method in class dev.hypera.chameleon.event.proxy.ProxyUserSwitchEvent
-
The server the user switched from, if available.
- getGameMode() - Method in interface dev.hypera.chameleon.user.ServerUser
-
Get the current game mode of this user.
- getId() - Method in interface dev.hypera.chameleon.platform.Platform
-
Get a unique identifier for this Platform.
- getId() - Method in interface dev.hypera.chameleon.user.User
-
Get the unique id representing this user.
- getIdentityMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the identity mapper.
- getInternalLogger() - Method in class dev.hypera.chameleon.Chameleon
-
Returns an internal logger instance for use by Chameleon.
- getKeyMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the key mapper.
- getLatency() - Method in interface dev.hypera.chameleon.user.User
-
Get the latency in milliseconds between this user and the platform.
- getLogger() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the plugin logger.
- getMainClass() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the main class of this plugin.
- getMessage() - Method in class dev.hypera.chameleon.event.common.UserChatEvent
-
Returns the message that was sent.
- getName() - Method in class dev.hypera.chameleon.command.Command
-
Get command name.
- getName() - Method in class dev.hypera.chameleon.command.SubCommand
-
Get command name.
- getName() - Method in interface dev.hypera.chameleon.platform.Platform
-
Get the friendly name of this Platform.
- getName() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the name of this plugin.
- getName() - Method in interface dev.hypera.chameleon.platform.proxy.Server
-
Get the name of this server.
- getName() - Method in interface dev.hypera.chameleon.user.ChatUser
-
Get the name of this user.
- getName() - Method in interface dev.hypera.chameleon.user.ConsoleUser
-
Get the name of this user.
- getNames() - Method in class dev.hypera.chameleon.command.SubCommand
-
Get command names.
- getOrDefault(Pointer<T>, T) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Gets the value of
pointer. - getOrDefault(T, T) - Static method in class dev.hypera.chameleon.util.ChameleonUtil
-
Check if first argument is null, return it if it isn't, otherwise return the default value.
- getOrDefaultFrom(Pointer<T>, Supplier<? extends T>) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Gets the value of
pointer. - getPermission() - Method in class dev.hypera.chameleon.command.Command
-
Get permission.
- getPermissionErrorMessage() - Method in class dev.hypera.chameleon.command.Command
-
Get command permission error message.
- getPlatform() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the platform.
- getPlatform() - Method in class dev.hypera.chameleon.command.Command
-
Get the platform target of this command.
- getPlatformPlugin() - Method in class dev.hypera.chameleon.platform.PlatformChameleon
-
Returns the underlying platform plugin.
- getPlayers() - Method in interface dev.hypera.chameleon.platform.proxy.Server
-
Get all proxy users currently connected to this server.
- getPlugin() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the plugin.
- getPlugin(String) - Method in interface dev.hypera.chameleon.platform.PluginManager
-
Attempt to find a platform plugin by name.
- getPluginManager() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the plugin manager.
- getPlugins() - Method in interface dev.hypera.chameleon.platform.PluginManager
-
Get platform plugins.
- getPointer(Object, Pointer<T>) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Get a pointer from the given pointered.
- getPointerMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the pointer mapper.
- getPriority() - Method in interface dev.hypera.chameleon.event.EventSubscriber
-
Get the priority of this subscriber.
- getReason() - Method in class dev.hypera.chameleon.event.server.ServerUserKickEvent
-
Get the reason for this disconnection.
- getScheduler() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the scheduler.
- getSender() - Method in interface dev.hypera.chameleon.command.context.Context
-
Get command sender.
- getSender() - Method in class dev.hypera.chameleon.command.context.ContextImpl
-
Get command sender.
- getServer(String) - Method in interface dev.hypera.chameleon.platform.proxy.ProxyPlatform
-
Attempt to find a "sub-server" by the name or identifier it has.
- getServers() - Method in interface dev.hypera.chameleon.platform.proxy.ProxyPlatform
-
Get the "sub-servers" configured in this Proxy.
- getShortCommitHash() - Static method in class dev.hypera.chameleon.Chameleon
-
Returns the shortened SHA-1 hash of the Git commit Chameleon was built from.
- getSignatureMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the signature mapper.
- getSocketAddress() - Method in interface dev.hypera.chameleon.platform.proxy.Server
-
Get the socket address of this server.
- getSoftDependencies() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the optional dependencies of this plugin.
- getSoundMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the sound mapper.
- getSoundStopMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the sound stop mapper.
- getSubCommands() - Method in class dev.hypera.chameleon.command.Command
-
Get sub-commands.
- getTimesMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the times mapper.
- getTitlePartMapper() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get the title part mapper.
- getTo() - Method in class dev.hypera.chameleon.event.proxy.ProxyUserSwitchEvent
-
The server the user switched to.
- getType() - Method in interface dev.hypera.chameleon.event.EventSubscriber
-
Get the type of event this subscriber.
- getType() - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionFactory
-
Returns the class of the Chameleon extension implementation that this factory supports.
- getUser() - Method in class dev.hypera.chameleon.event.common.UserChatEvent
-
Returns the user who sent this message.
- getUser() - Method in class dev.hypera.chameleon.event.common.UserConnectEvent
-
Get the user who connected.
- getUser() - Method in class dev.hypera.chameleon.event.common.UserDisconnectEvent
-
Get the user who disconnected.
- getUser() - Method in interface dev.hypera.chameleon.event.common.UserEvent
-
Get the user who triggered this event.
- getUser() - Method in interface dev.hypera.chameleon.event.proxy.ProxyUserEvent
-
Get the proxy user who triggered this event.
- getUser() - Method in class dev.hypera.chameleon.event.proxy.ProxyUserSwitchEvent
-
Get the user who switched server.
- getUser() - Method in interface dev.hypera.chameleon.event.server.ServerUserEvent
-
Get the server user who triggered this event.
- getUser() - Method in class dev.hypera.chameleon.event.server.ServerUserKickEvent
-
Get the server user who was kicked.
- getUserById(UUID) - Method in interface dev.hypera.chameleon.user.UserManager
-
Attempt to get a user with the given id.
- getUserManager() - Method in class dev.hypera.chameleon.Chameleon
-
Returns the user manager.
- getUsers() - Method in interface dev.hypera.chameleon.user.UserManager
-
Get all online users.
- getVersion() - Static method in class dev.hypera.chameleon.Chameleon
-
Returns the current version of Chameleon.
- getVersion() - Method in interface dev.hypera.chameleon.platform.Platform
-
Get the version of this Platform.
- getVersion() - Method in interface dev.hypera.chameleon.platform.PlatformPlugin
-
Get the version of this plugin.
- Graph<T> - Interface in dev.hypera.chameleon.util.graph
-
Graph.
- Graph.Builder<T> - Interface in dev.hypera.chameleon.util.graph
-
Graph builder.
H
- handler(Consumer<T>) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Set the event handler.
- hasInteractiveChat() - Method in interface dev.hypera.chameleon.user.ChatUser
-
Get whether this user can interact with chat messages.
- hasInteractiveChat() - Method in interface dev.hypera.chameleon.user.ConsoleUser
-
Get whether this user can interact with chat messages.
- hasPermission(String) - Method in interface dev.hypera.chameleon.user.PermissionHolder
-
Checks whether this permission holder has the given permission.
- hideBossBar(Object, BossBar) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Hide a boss bar for the given audience using reflection.
- hideBossBar(BossBar) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Hides a boss bar.
- HIGH - dev.hypera.chameleon.event.EventSubscriptionPriority
-
High priority, indicates that the subscriber should be before
EventSubscriptionPriority.MEDIUMpriority subscribers. - hours(long) - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that runs every
hourshours.
I
- id(String) - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches platforms with the given
id. - id(String, boolean) - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches platforms with the given
id. - identity() - Method in interface dev.hypera.chameleon.user.User
-
Gets the identity.
- IdentityMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Identity mapper.
- IdentityMapper() - Constructor for class dev.hypera.chameleon.adventure.mapper.IdentityMapper
- info(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Log an informational message.
- info(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Log an informational message.
- info(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Log an informational message.
- info(String, Object...) - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Log an informational message.
- info(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Log an informational message.
- init(ChameleonLogger, EventBus) - Method in interface dev.hypera.chameleon.extension.ChameleonPlatformExtension
-
Extension init.
- isAsync() - Method in interface dev.hypera.chameleon.scheduler.Task
-
Get whether this task should be executed asynchronously.
- isCancellable() - Method in class dev.hypera.chameleon.event.common.UserChatEvent
-
Returns whether this event can be cancelled.
- isCancelled() - Method in class dev.hypera.chameleon.event.AbstractCancellable
-
Returns whether the event has been cancelled.
- isCancelled() - Method in interface dev.hypera.chameleon.event.Cancellable
-
Returns whether the event has been cancelled.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Get whether
AudienceReflection.load()has been called. - isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.BookMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.BossBarMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.BoundMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.ChatTypeMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.ComponentMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.EnumMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.IdentityMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.KeyMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in interface dev.hypera.chameleon.adventure.mapper.Mapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.PointerMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.SignatureMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.SoundMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.SoundStopMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.TimesMapper
-
Get whether this mapper has been loaded.
- isLoaded() - Method in class dev.hypera.chameleon.adventure.mapper.TitlePartMapper
-
Get whether this mapper has been loaded.
- isModifiable() - Method in class dev.hypera.chameleon.event.common.UserChatEvent
-
Returns whether this event can be modified.
- isPluginEnabled(String) - Method in interface dev.hypera.chameleon.platform.PluginManager
-
Check if a platform plugin is enabled, by name.
K
- KeyMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Key mapper.
- KeyMapper() - Constructor for class dev.hypera.chameleon.adventure.mapper.KeyMapper
L
- LAST - dev.hypera.chameleon.event.EventSubscriptionPriority
-
Last, indicates that the subscriber should be called after all other subscribers.
- load() - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Load all classes and methods.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
-
Load all mappers.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.BookMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.BossBarMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.BoundMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.ChatTypeMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.ComponentMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.EnumMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.IdentityMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.KeyMapper
-
Load this mapper and any dependencies.
- load() - Method in interface dev.hypera.chameleon.adventure.mapper.Mapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.PointerMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.SignatureMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.SoundMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.SoundStopMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.TimesMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.adventure.mapper.TitlePartMapper
-
Load this mapper and any dependencies.
- load() - Method in class dev.hypera.chameleon.ChameleonBootstrap
-
Load Chameleon implementation.
- load(Chameleon) - Method in interface dev.hypera.chameleon.extension.ChameleonPlatformExtension
-
Extension load.
- loadExtension(ChameleonExtensionFactory<T>) - Method in interface dev.hypera.chameleon.extension.ExtensionManager
-
Load a Chameleon extension.
- loadExtension(ChameleonExtensionFactory<T>) - Method in class dev.hypera.chameleon.extension.ExtensionManagerImpl
-
Load a Chameleon extension.
- loadPlatform() - Method in class dev.hypera.chameleon.ChameleonBootstrap
- loadSort() - Method in class dev.hypera.chameleon.extension.ExtensionMap
-
Attempt to sort all extensions to be loaded by Chameleon in dependency order, using a depth-first search.
- logChatCancellationFailure(ChameleonLogger) - Static method in class dev.hypera.chameleon.util.PlatformEventUtil
-
Logs a failure to cancel a UserChatEvent message.
- logChatModificationFailure(ChameleonLogger) - Static method in class dev.hypera.chameleon.util.PlatformEventUtil
-
Logs a failure to modify a UserChatEvent message.
- logger - Variable in class dev.hypera.chameleon.ChameleonBootstrap
- LOW - dev.hypera.chameleon.event.EventSubscriptionPriority
-
Low priority, indicates that the subscriber should be called after
EventSubscriptionPriority.NORMALpriority subscribers.
M
- map(BossBar) - Method in class dev.hypera.chameleon.adventure.mapper.BossBarMapper
-
Map the object.
- map(ChatType) - Method in class dev.hypera.chameleon.adventure.mapper.ChatTypeMapper
-
Map the object.
- map(Identity) - Method in class dev.hypera.chameleon.adventure.mapper.IdentityMapper
-
Map the object.
- map(Book) - Method in class dev.hypera.chameleon.adventure.mapper.BookMapper
-
Map the object.
- map(Key) - Method in class dev.hypera.chameleon.adventure.mapper.KeyMapper
-
Map the object.
- map(Pointer<?>) - Method in class dev.hypera.chameleon.adventure.mapper.PointerMapper
-
Map the object.
- map(Sound) - Method in class dev.hypera.chameleon.adventure.mapper.SoundMapper
-
Map the object.
- map(SoundStop) - Method in class dev.hypera.chameleon.adventure.mapper.SoundStopMapper
-
Map the object.
- map(Component) - Method in class dev.hypera.chameleon.adventure.mapper.ComponentMapper
-
Map the object.
- map(TitlePart<?>) - Method in class dev.hypera.chameleon.adventure.mapper.TitlePartMapper
-
Map the object.
- map(E) - Method in class dev.hypera.chameleon.adventure.mapper.EnumMapper
-
Map the object.
- map(ChatType.Bound) - Method in class dev.hypera.chameleon.adventure.mapper.BoundMapper
-
Map the object.
- map(SignedMessage.Signature) - Method in class dev.hypera.chameleon.adventure.mapper.SignatureMapper
-
Map the object.
- map(Title.Times) - Method in class dev.hypera.chameleon.adventure.mapper.TimesMapper
-
Map the object.
- map(T) - Method in interface dev.hypera.chameleon.adventure.mapper.Mapper
-
Map the object.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.BookMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.BossBarMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.BoundMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.ChatTypeMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.ComponentMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.EnumMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.IdentityMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.KeyMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in interface dev.hypera.chameleon.adventure.mapper.Mapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.PointerMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.SignatureMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.SoundMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.SoundStopMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.TimesMapper
-
Map the object backwards.
- mapBackwards(Object) - Method in class dev.hypera.chameleon.adventure.mapper.TitlePartMapper
-
Map the object backwards.
- Mapper<T> - Interface in dev.hypera.chameleon.adventure.mapper
-
Adventure object mapper, used for converting relocated Adventure objects to non-relocated ones.
- MEDIUM - dev.hypera.chameleon.event.EventSubscriptionPriority
-
Medium priority, indicates that the subscriber should be called before
EventSubscriptionPriority.NORMALpriority subscribers. - millis(long) - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that runs every
millismilliseconds. - minutes(long) - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that runs every
minutesminutes.
N
- name() - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Returns the name of the extension this dependency is for.
- NAME - Static variable in interface dev.hypera.chameleon.user.ConsoleUser
- negate() - Method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Returns a new platform target that negates the result of this target.
- nodes() - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Returns all nodes in this graph.
- none() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches nothing.
- none() - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that is never executed.
- NORMAL - dev.hypera.chameleon.event.EventSubscriptionPriority
-
Normal priority.
- nukkit() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches Nukkit.
- NUKKIT - Static variable in interface dev.hypera.chameleon.platform.Platform
O
- of(Predicate<Context>) - Static method in interface dev.hypera.chameleon.command.objects.Condition
-
Create new condition.
- of(Predicate<Context>, Component) - Static method in interface dev.hypera.chameleon.command.objects.Condition
-
Create new condition with an error message.
- of(A, B) - Static method in interface dev.hypera.chameleon.util.Pair
-
Returns a new pair with the given values.
- of(T, T) - Static method in interface dev.hypera.chameleon.util.graph.Edge
-
Create a new edge between
sourceandtarget. - on(T) - Method in interface dev.hypera.chameleon.event.EventSubscriber
-
Executed when this event is dispatched.
- onDisable() - Method in class dev.hypera.chameleon.Chameleon
-
Called when the platform plugin is disabled.
- onDisable() - Method in interface dev.hypera.chameleon.ChameleonPlugin
-
Called when the platform plugin is disabled.
- onEnable() - Method in class dev.hypera.chameleon.Chameleon
-
Called when the platform plugin is enabled.
- onEnable() - Method in interface dev.hypera.chameleon.ChameleonPlugin
-
Called when the platform plugin is enabled.
- onLoad() - Method in class dev.hypera.chameleon.Chameleon
-
Called after Chameleon has been loaded.
- onLoad() - Method in interface dev.hypera.chameleon.ChameleonPlugin
-
Called after Chameleon has been loaded.
- openBook(Object, Book) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Open a book for the given audience using reflection.
- openBook(Book) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Opens a book.
- optional() - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Returns whether this dependency is optional for loading the extension.
- optional(Class<? extends ChameleonExtension>) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new optional extension dependency.
- optional(String) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new optional extension dependency.
- optional(String, Class<? extends ChameleonExtension>) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new optional extension dependency with the extension name.
- optional(String, String) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new optional extension dependency with the extension name.
- or(PlatformTarget) - Method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Returns a new platform target that matches this target, or the
othertarget. - ORIGINAL_AUDIENCE_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_BOOK_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_BOSSBAR_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_CHAT_TYPE_BOUND_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_CHAT_TYPE_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_COMPONENT_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_COMPONENT_LIKE_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_GSON_COMPONENT_SERIALIZER_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_IDENTITY_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_KEY_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_KEYED_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_PACKAGE - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_POINTER_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_POINTERED_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_SIGNED_MESSAGE_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_SIGNED_MESSAGE_SIGNATURE_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_SOUND_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_SOUND_EMITTER_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_SOUND_STOP_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_TITLE_PART_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
- ORIGINAL_TITLE_TIMES_CLASS_NAME - Static variable in class dev.hypera.chameleon.adventure.mapper.AdventureMapper
P
- Pair<A,B> - Interface in dev.hypera.chameleon.util
-
Pair, stores two values together.
- Permission - Annotation Type in dev.hypera.chameleon.command.annotations
-
Permission.
- PermissionHolder - Interface in dev.hypera.chameleon.user
-
Represents something that can hold permissions.
- Platform - Interface in dev.hypera.chameleon.platform
-
Represents a proxy or server platform.
- PlatformChameleon<P> - Class in dev.hypera.chameleon.platform
-
Platform Chameleon provides access to the platform plugin.
- PlatformChameleon(ChameleonPluginBootstrap, P, EventBus, ChameleonLogger, ExtensionMap) - Constructor for class dev.hypera.chameleon.platform.PlatformChameleon
- PlatformEventUtil - Class in dev.hypera.chameleon.util
-
Platform event utilities.
- PlatformPlugin - Interface in dev.hypera.chameleon.platform
-
Represents a plugin running on the platform.
- PlatformTarget - Interface in dev.hypera.chameleon.platform
-
Platform target.
- playSound(Object, Sound) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Play a sound to the given audience using reflection.
- playSound(Object, Sound, double, double, double) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Play a sound at a position to the given audience using reflection.
- playSound(Object, Sound, Sound.Emitter) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Play a sound from an emitter to the given audience using reflection.
- playSound(Sound) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Plays a sound at the location of the recipient of the sound.
- playSound(Sound, double, double, double) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Plays a sound at a location.
- playSound(Sound, Sound.Emitter) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Plays a sound from an emitter, usually an entity.
- plugin - Variable in class dev.hypera.chameleon.platform.PlatformChameleon
- pluginBootstrap - Variable in class dev.hypera.chameleon.ChameleonBootstrap
- PluginManager - Interface in dev.hypera.chameleon.platform
-
Platform plugin manager.
- PointerMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Pointer mapper.
- pointers() - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Gets the pointers for this object.
- Preconditions - Class in dev.hypera.chameleon.util
-
Preconditions, a set of convenience methods to aid in validating method or constructor invocation.
- predecessors(T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Returns the nodes in this graph that have an edge with
nodeas a target. - priority(EventSubscriptionPriority) - Method in interface dev.hypera.chameleon.event.EventSubscriber.Builder
-
Set the subscriber priority.
- proxy() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches all proxy platforms.
- ProxyEvent - Interface in dev.hypera.chameleon.event.proxy
-
Proxy-only event.
- ProxyPlatform - Interface in dev.hypera.chameleon.platform.proxy
-
Represents a proxy platform.
- ProxyUser - Interface in dev.hypera.chameleon.user
-
Represents a connected Minecraft player on a proxy.
- ProxyUserEvent - Interface in dev.hypera.chameleon.event.proxy
-
Proxy-only user event.
- ProxyUserSwitchEvent - Class in dev.hypera.chameleon.event.proxy
-
Proxy user switch sever event, dispatched whenever a player switches server.
- ProxyUserSwitchEvent(ProxyUser, Server, Server) - Constructor for class dev.hypera.chameleon.event.proxy.ProxyUserSwitchEvent
-
Proxy user switch event constructor.
- putEdge(Edge<T>) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Adds an edge connecting
Edge.source()andEdge.target(), if not already present. - putEdge(T, T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Adds an edge connecting
sourceandtarget, if not already present.
R
- ReflectedAudience - Class in dev.hypera.chameleon.adventure
-
Reflected audience wrapper.
- ReflectedAudience(Object, AudienceReflection) - Constructor for class dev.hypera.chameleon.adventure.ReflectedAudience
-
Reflected audience constructor.
- register(Command) - Method in class dev.hypera.chameleon.command.CommandManager
-
Register the given command.
- registerCommand(Command) - Method in class dev.hypera.chameleon.command.CommandManager
- removeEdge(Edge<T>) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Removes the edge connecting
Edge.source()andEdge.target(), if present. - removeEdge(T, T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Removes the edge connecting
sourceandtarget, if present. - removeNode(T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Removes
nodefrom this graph, if it is present. - repeat(Schedule) - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Execute this task repeatedly.
- required() - Method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Returns whether this dependency is a required for loading the extension.
- required(Class<? extends ChameleonExtension>) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new required extension dependency.
- required(String) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new required extension dependency.
- required(String, Class<? extends ChameleonExtension>) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new required extension dependency with the extension name.
- required(String, String) - Static method in interface dev.hypera.chameleon.extension.ChameleonExtensionDependency
-
Create a new required extension dependency with the extension name.
- resetTitle() - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Resets the title and timings back to their default.
- resetTitle(Object) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Reset the title for the given audience using reflection.
- run() - Method in interface dev.hypera.chameleon.scheduler.Task
-
Execute this task.
S
- schedule(Task) - Method in class dev.hypera.chameleon.scheduler.Scheduler
-
Submit a task to be scheduled.
- Schedule - Interface in dev.hypera.chameleon.scheduler
-
Schedule.
- scheduleAsyncTask(Runnable, Schedule, Schedule) - Method in class dev.hypera.chameleon.scheduler.Scheduler
- ScheduledTask - Interface in dev.hypera.chameleon.scheduler
-
A scheduled task.
- Scheduler - Class in dev.hypera.chameleon.scheduler
-
Scheduler.
- Scheduler() - Constructor for class dev.hypera.chameleon.scheduler.Scheduler
- scheduleSyncTask(Runnable, Schedule, Schedule) - Method in class dev.hypera.chameleon.scheduler.Scheduler
- second() - Method in interface dev.hypera.chameleon.util.Pair
-
Returns the second value.
- seconds(long) - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that runs every
secondsseconds. - sendActionBar(Object, Component) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send an action bar message to the given audience using reflection.
- sendActionBar(Component) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Sends a message on the action bar.
- sendData(String, byte[]) - Method in interface dev.hypera.chameleon.platform.proxy.Server
-
Send a plugin message to this server.
- sendData(String, byte[]) - Method in interface dev.hypera.chameleon.user.User
-
Send a plugin message to this user.
- sendMessage(Object, Identity, Component, MessageType) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Deprecated.Deprecated by Adventure.
- sendMessage(Object, Component) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send a message to the given audience using reflection.
- sendMessage(Object, Component, ChatType.Bound) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send a message with a chat type bound to the given audience using reflection.
- sendMessage(Identified, Component, MessageType) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Deprecated.for removal since Adventure 4.12.0.
- sendMessage(Identity, Component, MessageType) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Deprecated.for removal since Adventure 4.12.0.
- sendMessage(Component) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Sends a system chat message to this Audience.
- sendMessage(Component, ChatType.Bound) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Sends a message to this Audience with the provided bound chat type.
- sendPlayerListFooter(Object, Component) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send a player list footer to the given audience using reflection.
- sendPlayerListFooter(Component) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Sends the player list footer.
- sendPlayerListHeader(Object, Component) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send a player list header to the given audience using reflection.
- sendPlayerListHeader(Component) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Sends the player list header.
- sendPlayerListHeaderAndFooter(Object, Component, Component) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send a player list header and footer to the given audience using reflection.
- sendPlayerListHeaderAndFooter(Component, Component) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Sends the player list header and footer.
- sendTitlePart(Object, TitlePart<T>, T) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Send a title part and value to the given audience using reflection.
- sendTitlePart(TitlePart<T>, T) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Shows a part of a title.
- server() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches all server platforms.
- Server - Interface in dev.hypera.chameleon.platform.proxy
-
Represents a "sub-server" behind a proxy platform.
- ServerEvent - Interface in dev.hypera.chameleon.event.server
-
Server-only event.
- ServerPlatform - Interface in dev.hypera.chameleon.platform.server
-
Represents a server platform.
- ServerUser - Interface in dev.hypera.chameleon.user
-
Represents a connected Minecraft player on a server.
- ServerUserEvent - Interface in dev.hypera.chameleon.event.server
-
Server-only user event.
- ServerUserKickEvent - Class in dev.hypera.chameleon.event.server
-
Server user kick event, dispatched when a user is kicked from the server.
- ServerUserKickEvent(ServerUser, Component) - Constructor for class dev.hypera.chameleon.event.server.ServerUserKickEvent
-
Server user kick event constructor.
- setCancelled(boolean) - Method in class dev.hypera.chameleon.event.AbstractCancellable
-
Sets the event cancelled state.
- setCancelled(boolean) - Method in interface dev.hypera.chameleon.event.Cancellable
-
Sets the event cancelled state.
- setCancelled(boolean, Component) - Method in class dev.hypera.chameleon.event.common.UserConnectEvent
-
Cancel the event, with a reason.
- setConditions(Condition...) - Method in class dev.hypera.chameleon.command.Command
-
Set command conditions.
- setGameMode(GameMode) - Method in interface dev.hypera.chameleon.user.ServerUser
-
Change the game mode of this user.
- setMessage(String) - Method in class dev.hypera.chameleon.event.common.UserChatEvent
-
Changes the chat message.
- setPermissionErrorMessage(Component) - Method in class dev.hypera.chameleon.command.Command
-
Set command permission error message.
- setPlatform(PlatformTarget) - Method in class dev.hypera.chameleon.command.Command
-
Set the platform target of this command.
- showBossBar(Object, BossBar) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Show a boss bar to the given audience using reflection.
- showBossBar(BossBar) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Shows a boss bar.
- SignatureMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Signature mapper.
- SignatureMapper() - Constructor for class dev.hypera.chameleon.adventure.mapper.SignatureMapper
- SoundMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Sound mapper.
- SoundStopMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure SoundStop mapper.
- source() - Method in interface dev.hypera.chameleon.util.graph.Edge
-
Returns the source of this edge.
- SPECTATOR - dev.hypera.chameleon.platform.server.GameMode
- sponge() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches Sponge.
- SPONGE - Static variable in interface dev.hypera.chameleon.platform.Platform
- stopSound(Object, SoundStop) - Method in class dev.hypera.chameleon.adventure.AudienceReflection
-
Stop playing a sound to the given audience using reflection.
- stopSound(SoundStop) - Method in class dev.hypera.chameleon.adventure.ReflectedAudience
-
Stops a sound, or many sounds.
- SubCommand - Class in dev.hypera.chameleon.command
-
Sub-command.
- SubCommandHandler - Annotation Type in dev.hypera.chameleon.command.annotations
-
Sub-command handler annotation.
- subscribe(EventSubscriber<T>) - Method in interface dev.hypera.chameleon.event.EventBus
-
Register the given subscriber.
- subscribe(EventSubscriber<T>) - Method in class dev.hypera.chameleon.event.EventBusImpl
-
Register the given subscriber.
- subscribe(Class<T>, EventSubscriber<T>) - Method in interface dev.hypera.chameleon.event.EventBus
-
Register the given subscriber.
- subscribe(Class<T>, EventSubscriber<T>) - Method in class dev.hypera.chameleon.event.EventBusImpl
-
Register the given subscriber.
- subscribed(Class<? extends ChameleonEvent>) - Method in interface dev.hypera.chameleon.event.EventBus
-
Determines whether the given event has been subscribed to.
- subscribed(Class<? extends ChameleonEvent>) - Method in class dev.hypera.chameleon.event.EventBusImpl
-
Determines whether the given event has been subscribed to.
- successors(T) - Method in interface dev.hypera.chameleon.util.graph.Graph
-
Returns the nodes in this graph that have an edge with
nodeas a source. - SURVIVAL - dev.hypera.chameleon.platform.server.GameMode
- sync() - Method in interface dev.hypera.chameleon.scheduler.Task.Builder
-
Execute this task synchronously.
- sync(Runnable) - Static method in interface dev.hypera.chameleon.scheduler.Task
-
Create a new synchronous task.
T
- tabComplete(Context) - Method in class dev.hypera.chameleon.command.Command
-
Tab complete.
- target() - Method in interface dev.hypera.chameleon.util.graph.Edge
-
Returns the target of this edge.
- Task - Interface in dev.hypera.chameleon.scheduler
-
Task.
- Task.Builder - Interface in dev.hypera.chameleon.scheduler
-
Task builder.
- test(Context) - Method in interface dev.hypera.chameleon.command.objects.Condition
-
Condition test.
- test(Platform) - Method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Check if the given platform matches this target.
- ticks(long) - Static method in interface dev.hypera.chameleon.scheduler.Schedule
-
Create a new schedule that is executed every
ticksticks. - TimesMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure Times mapper.
- TimesMapper() - Constructor for class dev.hypera.chameleon.adventure.mapper.TimesMapper
- TitlePartMapper - Class in dev.hypera.chameleon.adventure.mapper
-
Adventure TitlePart mapper.
- TitlePartMapper() - Constructor for class dev.hypera.chameleon.adventure.mapper.TitlePartMapper
- toDuration() - Method in interface dev.hypera.chameleon.scheduler.Schedule
-
Convert this schedule to a Duration.
- toMillis() - Method in interface dev.hypera.chameleon.scheduler.Schedule
-
Convert this schedule to milliseconds.
- toTicks() - Method in interface dev.hypera.chameleon.scheduler.Schedule
-
Convert this schedule to ticks.
U
- uncancel() - Method in interface dev.hypera.chameleon.event.Cancellable
-
Uncancels the event.
- unregister(Command) - Method in class dev.hypera.chameleon.command.CommandManager
-
Unregister the given command.
- unregisterCommand(Command) - Method in class dev.hypera.chameleon.command.CommandManager
- unsubscribe() - Method in interface dev.hypera.chameleon.event.EventSubscription
-
Unregister this subscription.
- unsubscribeIf(Predicate<EventSubscriber<? super ChameleonEvent>>) - Method in interface dev.hypera.chameleon.event.EventBus
-
Unregister subscribers matching the given predicate.
- unsubscribeIf(Predicate<EventSubscriber<? super ChameleonEvent>>) - Method in class dev.hypera.chameleon.event.EventBusImpl
-
Unregister subscribers matching the given predicate.
- User - Interface in dev.hypera.chameleon.user
-
Represents a connected Minecraft player.
- UserChatEvent - Class in dev.hypera.chameleon.event.common
-
User chat event, dispatched when a player sends a chat message.
- UserChatEvent(User, String, boolean, boolean, boolean) - Constructor for class dev.hypera.chameleon.event.common.UserChatEvent
-
User chat event constructor.
- UserConnectEvent - Class in dev.hypera.chameleon.event.common
-
User connect event, dispatched when a user joins the proxy/server.
- UserConnectEvent(User, boolean) - Constructor for class dev.hypera.chameleon.event.common.UserConnectEvent
-
User connect event constructor.
- UserDisconnectEvent - Class in dev.hypera.chameleon.event.common
-
User disconnect event, dispatched when a user leaves the proxy/server.
- UserDisconnectEvent(User) - Constructor for class dev.hypera.chameleon.event.common.UserDisconnectEvent
-
User disconnect constructor.
- UserEvent - Interface in dev.hypera.chameleon.event.common
-
User event.
- UserManager - Interface in dev.hypera.chameleon.user
-
User manager.
V
- value() - Method in annotation type dev.hypera.chameleon.command.annotations.CommandHandler
-
Get command names, separated by '|'.
- value() - Method in annotation type dev.hypera.chameleon.command.annotations.Permission
-
Get permission string.
- value() - Method in annotation type dev.hypera.chameleon.command.annotations.SubCommandHandler
-
Get sub-command names, separated by '|'.
- valueOf(String) - Static method in enum dev.hypera.chameleon.event.EventSubscriptionPriority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.hypera.chameleon.platform.server.GameMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dev.hypera.chameleon.event.EventSubscriptionPriority
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.hypera.chameleon.platform.server.GameMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- velocity() - Static method in interface dev.hypera.chameleon.platform.PlatformTarget
-
Create a new platform target that matches Sponge.
- VELOCITY - Static variable in interface dev.hypera.chameleon.platform.Platform
- VERY_LOW - dev.hypera.chameleon.event.EventSubscriptionPriority
-
Very low priority, indicates that the subscriber should be called after
EventSubscriptionPriority.LOWpriority subscribers.
W
- warn(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Log a warning message.
- warn(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Log a warning message.
- warn(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Log a warning message.
- warn(String, Object...) - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Log a warning message.
- warn(String, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Log a warning message.
- warn(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonInternalLogger
-
Log a warning message with an exception.
- warn(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonJavaLogger
-
Log a warning message with an exception.
- warn(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonLog4jLogger
-
Log a warning message with an exception.
- warn(String, Throwable, Object...) - Method in interface dev.hypera.chameleon.logger.ChameleonLogger
-
Log a warning message with an exception.
- warn(String, Throwable, Object...) - Method in class dev.hypera.chameleon.logger.ChameleonSlf4jLogger
-
Log a warning message with an exception.
- withExtension(ChameleonExtensionFactory<E>) - Method in class dev.hypera.chameleon.ChameleonBootstrap
-
Load with a Chameleon extension.
All Classes All Packages