Class CommandCrash
java.lang.Object
org.cyclops.integrateddynamics.command.CommandCrash
- All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
public class CommandCrash
extends Object
implements com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
A command to let the server crash.
-
Field Summary
Fields inherited from interface com.mojang.brigadier.Command
SINGLE_SUCCESS
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CommandCrash
public CommandCrash()
-
-
Method Details
-
run
public int run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
run
in interfacecom.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
make
public static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> make()
-