A - The actor typepublic final class VelocityBrigadier<A extends VelocityCommandActor>
extends java.lang.Object
implements revxrsal.commands.LampVisitor<A>, revxrsal.commands.brigadier.BrigadierConverter<A,com.velocitypowered.api.command.CommandSource>
| Constructor and Description |
|---|
VelocityBrigadier(@NotNull com.velocitypowered.api.proxy.ProxyServer server,
@NotNull ActorFactory<A> actorFactory,
@NotNull revxrsal.commands.brigadier.types.ArgumentTypes<A> argumentTypes) |
VelocityBrigadier(@NotNull VelocityLampConfig<A> config) |
| Modifier and Type | Method and Description |
|---|---|
A |
createActor(@NotNull com.velocitypowered.api.command.CommandSource sender,
@NotNull revxrsal.commands.Lamp<A> lamp) |
@NotNull com.mojang.brigadier.arguments.ArgumentType<?> |
getArgumentType(@NotNull revxrsal.commands.node.ParameterNode<A,?> parameter) |
void |
visit(@NotNull revxrsal.commands.Lamp<A> lamp) |
public VelocityBrigadier(@NotNull
@NotNull VelocityLampConfig<A> config)
public VelocityBrigadier(@NotNull
@NotNull com.velocitypowered.api.proxy.ProxyServer server,
@NotNull
@NotNull ActorFactory<A> actorFactory,
@NotNull
@NotNull revxrsal.commands.brigadier.types.ArgumentTypes<A> argumentTypes)
@NotNull
public @NotNull com.mojang.brigadier.arguments.ArgumentType<?> getArgumentType(@NotNull
@NotNull revxrsal.commands.node.ParameterNode<A,?> parameter)
getArgumentType in interface revxrsal.commands.brigadier.BrigadierConverter<A extends VelocityCommandActor,com.velocitypowered.api.command.CommandSource>@NotNull public A createActor(@NotNull @NotNull com.velocitypowered.api.command.CommandSource sender, @NotNull @NotNull revxrsal.commands.Lamp<A> lamp)
createActor in interface revxrsal.commands.brigadier.BrigadierConverter<A extends VelocityCommandActor,com.velocitypowered.api.command.CommandSource>public void visit(@NotNull
@NotNull revxrsal.commands.Lamp<A> lamp)
visit in interface revxrsal.commands.LampVisitor<A extends VelocityCommandActor>