Class ScanCommand

java.lang.Object
com.ldtteam.structurize.commands.AbstractCommand
com.ldtteam.structurize.commands.ScanCommand

public class ScanCommand extends AbstractCommand
Command for opening WindowScanTool or scanning a structure into a file
  • Field Details

  • Constructor Details

    • ScanCommand

      public ScanCommand()
  • Method Details

    • build

      protected static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> build()
    • format

      @NotNull public static @NotNull String format(@NotNull ScanToolData.Slot slot)
      Generates a command string for the given parameters.
      Parameters:
      slot - The scan slot data.
      Returns:
      The command string.