Package dev.rollczi.litecommands.sponge
Class SpongePlatform
java.lang.Object
dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
dev.rollczi.litecommands.sponge.SpongePlatform
- All Implemented Interfaces:
dev.rollczi.litecommands.platform.Platform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
public class SpongePlatform
extends dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
-
Field Summary
Fields inherited from class dev.rollczi.litecommands.platform.AbstractPlatform
commandRoutes, settings -
Constructor Summary
ConstructorsConstructorDescriptionSpongePlatform(org.spongepowered.plugin.PluginContainer plugin, LiteSpongeSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<org.spongepowered.api.command.CommandCause> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<org.spongepowered.api.command.CommandCause> suggestionHook) voidonRegisterRawCommands(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event) protected voidunhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute) Methods inherited from class dev.rollczi.litecommands.platform.AbstractPlatform
getConfiguration, register, setConfiguration, unregister, unregisterAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.platform.Platform
register, start, stop
-
Constructor Details
-
SpongePlatform
-
-
Method Details
-
hook
protected void hook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<org.spongepowered.api.command.CommandCause> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<org.spongepowered.api.command.CommandCause> suggestionHook) - Specified by:
hookin classdev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
-
unhook
protected void unhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute) - Specified by:
unhookin classdev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
-
onRegisterRawCommands
public void onRegisterRawCommands(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event)
-