Class FabricClientPlatform
java.lang.Object
dev.rollczi.litecommands.platform.AbstractPlatform<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,dev.rollczi.litecommands.platform.PlatformSettings>
dev.rollczi.litecommands.fabric.FabricAbstractPlatform<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource>
dev.rollczi.litecommands.fabric.client.FabricClientPlatform
- All Implemented Interfaces:
dev.rollczi.litecommands.platform.Platform<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,dev.rollczi.litecommands.platform.PlatformSettings>
@Environment(CLIENT)
public class FabricClientPlatform
extends FabricAbstractPlatform<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource>
-
Field Summary
Fields inherited from class dev.rollczi.litecommands.fabric.FabricAbstractPlatform
COMMAND_API_V2, fabricCommandsFields inherited from class dev.rollczi.litecommands.platform.AbstractPlatform
commandRoutes, settings -
Constructor Summary
ConstructorsConstructorDescriptionFabricClientPlatform(dev.rollczi.litecommands.platform.PlatformSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionprotected FabricAbstractCommand<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> createCommand(dev.rollczi.litecommands.command.CommandRoute<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> suggestionHook) protected voidMethods inherited from class dev.rollczi.litecommands.fabric.FabricAbstractPlatform
hook, unhookMethods 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
getConfiguration, register, register, setConfiguration, start, stop, unregister, unregisterAll
-
Constructor Details
-
FabricClientPlatform
public FabricClientPlatform(dev.rollczi.litecommands.platform.PlatformSettings settings)
-
-
Method Details
-
registerEvents
protected void registerEvents()- Specified by:
registerEventsin classFabricAbstractPlatform<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource>
-
createCommand
protected FabricAbstractCommand<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> createCommand(dev.rollczi.litecommands.command.CommandRoute<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> suggestionHook) - Specified by:
createCommandin classFabricAbstractPlatform<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource>
-