diff options
author | nea <nea@nea.moe> | 2023-06-26 22:02:04 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-06-26 22:02:04 -0500 |
commit | b3b010d6fa09af6152c0bcb1a436718c528da24a (patch) | |
tree | f6665965a7cd0c91d108187ab099a3ad330b18b2 /src/main/kotlin/com/dulkirfabric/commands | |
parent | cacc7c10365c4ff9c20adde0f2bef7edd3c1cda0 (diff) | |
download | DulkirMod-Fabric-b3b010d6fa09af6152c0bcb1a436718c528da24a.tar.gz DulkirMod-Fabric-b3b010d6fa09af6152c0bcb1a436718c528da24a.tar.bz2 DulkirMod-Fabric-b3b010d6fa09af6152c0bcb1a436718c528da24a.zip |
Fixed Inventory Scaling
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/commands')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/commands/TestCommand.kt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/commands/TestCommand.kt b/src/main/kotlin/com/dulkirfabric/commands/TestCommand.kt new file mode 100644 index 0000000..e9c30c7 --- /dev/null +++ b/src/main/kotlin/com/dulkirfabric/commands/TestCommand.kt @@ -0,0 +1,16 @@ +package com.dulkirfabric.commands + +import com.dulkirfabric.util.ScoreBoardUtils +import com.mojang.brigadier.CommandDispatcher +import com.mojang.brigadier.builder.LiteralArgumentBuilder +import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource +import net.minecraft.command.CommandRegistryAccess + +object TestCommand { + fun register(dispatcher: CommandDispatcher<FabricClientCommandSource>, registryAccess: CommandRegistryAccess) { + dispatcher.register(LiteralArgumentBuilder.literal<FabricClientCommandSource>("linetest").executes { + val lines = ScoreBoardUtils.getLines() + return@executes 0 + }) + } +}
\ No newline at end of file |