Class CustomStructureCommand

java.lang.Object
me.emafire003.dev.ohmymeteors.commands.CustomStructureCommand
All Implemented Interfaces:
OMMCommand

public class CustomStructureCommand extends Object implements OMMCommand
  • Field Details

    • PACK_DIR_STRUCTURE

      public static Path PACK_DIR_STRUCTURE
  • Constructor Details

    • CustomStructureCommand

      public CustomStructureCommand()
  • Method Details

    • generateDatapack

      public static void generateDatapack(Path datapackDir) throws IOException
      Generates the datapack folders and mcmeta file in the datapack folder given in its argument
      Throws:
      IOException
    • getNode

      public com.mojang.brigadier.tree.LiteralCommandNode<net.minecraft.commands.CommandSourceStack> getNode(net.minecraft.commands.CommandBuildContext registryAccess)
      Specified by:
      getNode in interface OMMCommand