Class CommandGenerateNetwork
java.lang.Object
org.cyclops.integrateddynamics.command.CommandGenerateNetwork
- All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
public class CommandGenerateNetwork
extends Object
implements com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
Command for generating networks with different presets.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classExecutor for the generatenetwork command.static classHelper class for network generation logic, shared between command and game tests.static enum -
Field Summary
Fields inherited from interface com.mojang.brigadier.Command
SINGLE_SUCCESS -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandGenerateNetwork
public CommandGenerateNetwork()
-
-
Method Details
-
make
public static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> make() -
run
public int run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
runin interfacecom.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-