A - The actor type.public final class VelocityLampConfig<A extends VelocityCommandActor>
extends java.lang.Object
implements revxrsal.commands.LampBuilderVisitor<A>
| Modifier and Type | Class and Description |
|---|---|
static class |
VelocityLampConfig.Builder<A extends VelocityCommandActor>
Represents a builder for
VelocityLampConfig |
| Modifier and Type | Method and Description |
|---|---|
ActorFactory<A> |
actorFactory() |
revxrsal.commands.brigadier.types.ArgumentTypes<A> |
argumentTypes() |
static <A extends VelocityCommandActor> |
builder(@NotNull java.lang.Object plugin,
@NotNull com.velocitypowered.api.proxy.ProxyServer server)
Returns a new
VelocityLampConfig.Builder with the given plugin and ProxyServer. |
static @NotNull VelocityLampConfig<VelocityCommandActor> |
createDefault(@NotNull java.lang.Object plugin,
@NotNull com.velocitypowered.api.proxy.ProxyServer server)
Returns a new
VelocityLampConfig with the given plugin and ProxyServer,
containing the default settings. |
java.lang.Object |
plugin() |
com.velocitypowered.api.proxy.ProxyServer |
server() |
void |
visit(revxrsal.commands.Lamp.Builder<A> builder) |
@Contract(value="_, _ -> new") @NotNull public static <A extends VelocityCommandActor> @NotNull VelocityLampConfig.Builder<A> builder(@NotNull @NotNull java.lang.Object plugin, @NotNull @NotNull com.velocitypowered.api.proxy.ProxyServer server)
VelocityLampConfig.Builder with the given plugin and ProxyServer.A - The actor typeplugin - Plugin to create forserver - Server to create forVelocityLampConfig.Builder@Contract(value="_, _ -> new") @NotNull public static @NotNull VelocityLampConfig<VelocityCommandActor> createDefault(@NotNull @NotNull java.lang.Object plugin, @NotNull @NotNull com.velocitypowered.api.proxy.ProxyServer server)
VelocityLampConfig with the given plugin and ProxyServer,
containing the default settings.plugin - Plugin to create forserver - Server to create forVelocityLampConfig.Builderpublic void visit(revxrsal.commands.Lamp.Builder<A> builder)
visit in interface revxrsal.commands.LampBuilderVisitor<A extends VelocityCommandActor>public ActorFactory<A> actorFactory()
public revxrsal.commands.brigadier.types.ArgumentTypes<A> argumentTypes()
public java.lang.Object plugin()
public com.velocitypowered.api.proxy.ProxyServer server()