Class VelocityCommandBridge
java.lang.Object
dev.shamoo.runtime.platform.velocity.VelocityCommandBridge
Registers Velocity Brigadier, simple, and raw commands with owned unregister handles.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionVelocityCommandBridge(com.velocitypowered.api.proxy.ProxyServer server, dev.shamoo.runtime.core.ResourceRegistry resources) -
Method Summary
Modifier and TypeMethodDescriptionregisterBrigadier(dev.shamoo.runtime.core.PluginId owner, com.velocitypowered.api.command.BrigadierCommand command) registerRaw(dev.shamoo.runtime.core.PluginId owner, com.velocitypowered.api.command.CommandMeta metadata, VelocityCommandBridge.RawDispatcher dispatcher) registerSimple(dev.shamoo.runtime.core.PluginId owner, com.velocitypowered.api.command.CommandMeta metadata, VelocityCommandBridge.SimpleDispatcher dispatcher)
-
Constructor Details
-
VelocityCommandBridge
public VelocityCommandBridge(com.velocitypowered.api.proxy.ProxyServer server, dev.shamoo.runtime.core.ResourceRegistry resources)
-
-
Method Details
-
registerSimple
public VelocityCommandBridge.Registration<VelocityCommandBridge.SimpleDispatcher> registerSimple(dev.shamoo.runtime.core.PluginId owner, com.velocitypowered.api.command.CommandMeta metadata, VelocityCommandBridge.SimpleDispatcher dispatcher) -
registerRaw
public VelocityCommandBridge.Registration<VelocityCommandBridge.RawDispatcher> registerRaw(dev.shamoo.runtime.core.PluginId owner, com.velocitypowered.api.command.CommandMeta metadata, VelocityCommandBridge.RawDispatcher dispatcher) -
registerBrigadier
public VelocityCommandBridge.Registration<Void> registerBrigadier(dev.shamoo.runtime.core.PluginId owner, com.velocitypowered.api.command.BrigadierCommand command)
-