public class DumpZsCommand extends CraftTweakerCommand
subCommandName| Constructor and Description |
|---|
DumpZsCommand(DumpZsTarget... targets) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeCommand(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args)
Has to be overwritten by the commands
|
java.util.List<java.lang.String> |
getSubSubCommand(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args,
net.minecraft.util.math.BlockPos targetPos)
Has to be overwritten by the Commands when they need subcommands below the first one
|
protected void |
init()
Has to be overwritten
Used to set the description and all other values
Better for viability, as the constructor is not that full then
|
getDescription, getSubCommandName, setDescriptionpublic DumpZsCommand(DumpZsTarget... targets)
protected void init()
CraftTweakerCommandinit in class CraftTweakerCommandpublic void executeCommand(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args)
CraftTweakerCommandexecuteCommand in class CraftTweakerCommandargs - Has only the args after this original eventpublic java.util.List<java.lang.String> getSubSubCommand(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args,
@Nullable
net.minecraft.util.math.BlockPos targetPos)
CraftTweakerCommandgetSubSubCommand in class CraftTweakerCommandargs - Args are only from past the initial command