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, setDescription
public DumpZsCommand(DumpZsTarget... targets)
protected void init()
CraftTweakerCommand
init
in class CraftTweakerCommand
public void executeCommand(net.minecraft.server.MinecraftServer server, net.minecraft.command.ICommandSender sender, java.lang.String[] args)
CraftTweakerCommand
executeCommand
in class CraftTweakerCommand
public 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)
CraftTweakerCommand
getSubSubCommand
in class CraftTweakerCommand