Class CustomStructureCommand
java.lang.Object
me.emafire003.dev.ohmymeteors.commands.CustomStructureCommand
- All Implemented Interfaces:
OMMCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgenerateDatapack(Path datapackDir) Generates the datapack folders and mcmeta file in the datapack folder given in its argumentcom.mojang.brigadier.tree.LiteralCommandNode<net.minecraft.commands.CommandSourceStack> getNode(net.minecraft.commands.CommandBuildContext registryAccess)
-
Field Details
-
PACK_DIR_STRUCTURE
-
-
Constructor Details
-
CustomStructureCommand
public CustomStructureCommand()
-
-
Method Details
-
generateDatapack
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:
getNodein interfaceOMMCommand
-