From b3b010d6fa09af6152c0bcb1a436718c528da24a Mon Sep 17 00:00:00 2001 From: nea Date: Mon, 26 Jun 2023 22:02:04 -0500 Subject: Fixed Inventory Scaling --- src/main/kotlin/com/dulkirfabric/commands/TestCommand.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/kotlin/com/dulkirfabric/commands/TestCommand.kt (limited to 'src/main/kotlin/com/dulkirfabric/commands') 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, registryAccess: CommandRegistryAccess) { + dispatcher.register(LiteralArgumentBuilder.literal("linetest").executes { + val lines = ScoreBoardUtils.getLines() + return@executes 0 + }) + } +} \ No newline at end of file -- cgit