Commands spelling sync
Synchronizes the spelling of the outputs from commands. Updates descriptions as well.
This commit is contained in:
parent
14bbd9f0d3
commit
8832fbaa28
|
@ -35,7 +35,7 @@ public final class CalcStrongholdCommand extends Command {
|
||||||
private final String[] resetAlias = new String[]{"Reset", "Res", "R"};
|
private final String[] resetAlias = new String[]{"Reset", "Res", "R"};
|
||||||
|
|
||||||
public CalcStrongholdCommand() {
|
public CalcStrongholdCommand() {
|
||||||
super("CalcStronghold", new String[]{"CS", "FindStronghold", "cstrong"}, "Calculates where the nearest stronghold is.", "CalcStronghold\n" +
|
super("CalcStronghold", new String[]{"CS", "FindStronghold", "cstrong"}, "Calculates where the nearest stronghold is", "CalcStronghold\n" +
|
||||||
"CalcStronghold Reset");
|
"CalcStronghold Reset");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import net.minecraft.network.play.client.CPacketUseEntity;
|
||||||
public final class DupeCommand extends Command {
|
public final class DupeCommand extends Command {
|
||||||
|
|
||||||
public DupeCommand() {
|
public DupeCommand() {
|
||||||
super("Dupe", new String[]{"Dup", "Doop"}, "Allows you to dupe your inventory", "Dupe");
|
super("Dupe", new String[]{"Dup", "Doop"}, "Attempts to dupe your inventory using an outdated method", "Dupe");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -15,7 +15,7 @@ import net.minecraft.network.play.client.CPacketCreativeInventoryAction;
|
||||||
public final class EnchantCommand extends Command {
|
public final class EnchantCommand extends Command {
|
||||||
|
|
||||||
public EnchantCommand() {
|
public EnchantCommand() {
|
||||||
super("Enchant", new String[]{"Ench"}, "Add enchants to your held item while in creative mode.", "Enchant <Enchantment / All> <Level / Max> ([true/false] Disable Curses)");
|
super("Enchant", new String[]{"Ench"}, "Add enchants to your held item while in creative mode", "Enchant <Enchantment / All> <Level / Max> ([true/false] Disable Curses)");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -13,7 +13,7 @@ import team.stiff.pomelo.impl.annotated.handler.annotation.Listener;
|
||||||
public final class LastInvCommand extends Command {
|
public final class LastInvCommand extends Command {
|
||||||
|
|
||||||
public LastInvCommand() {
|
public LastInvCommand() {
|
||||||
super("LastInv", new String[]{"EnderChest", "Echest", "Portable"}, "Opens your previous inventory if \"MoreInv\" is enabled.", "LastInv");
|
super("LastInv", new String[]{"EnderChest", "Echest", "Portable"}, "Opens your previous inventory if \"MoreInv\" is enabled", "LastInv");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -9,7 +9,7 @@ import me.rigamortis.seppuku.api.command.Command;
|
||||||
public final class MainMenuCommand extends Command {
|
public final class MainMenuCommand extends Command {
|
||||||
|
|
||||||
public MainMenuCommand() {
|
public MainMenuCommand() {
|
||||||
super("MainMenu", new String[]{"ToggleMainMenu", "ToggleMM", "CustomMainMenu", "CustomMM"}, "Enables or disables the Seppuku main menu.", "MainMenu");
|
super("MainMenu", new String[]{"ToggleMainMenu", "ToggleMM", "CustomMainMenu", "CustomMM"}, "Enables or disables the Seppuku main menu", "MainMenu");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -20,6 +20,6 @@ public final class MainMenuCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
Seppuku.INSTANCE.getConfigManager().setCustomMainMenuHidden(!Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden());
|
Seppuku.INSTANCE.getConfigManager().setCustomMainMenuHidden(!Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden());
|
||||||
Seppuku.INSTANCE.logChat("Custom main menu " + (Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden() ? "hidden." : "restored."));
|
Seppuku.INSTANCE.logChat("Custom main menu " + (Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden() ? "hidden!" : "restored!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ import net.minecraft.util.Session;
|
||||||
public final class NameCommand extends Command {
|
public final class NameCommand extends Command {
|
||||||
|
|
||||||
public NameCommand() {
|
public NameCommand() {
|
||||||
super("Name", new String[]{"Nam"}, "Allows you to change the case of your name", "Name <Username>");
|
super("Name", new String[]{"Nam"}, "Allows you to change the capitalizaton of your name", "Name <Username>");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -14,7 +14,7 @@ import net.minecraft.network.play.client.CPacketCreativeInventoryAction;
|
||||||
public final class RenameCommand extends Command {
|
public final class RenameCommand extends Command {
|
||||||
|
|
||||||
public RenameCommand() {
|
public RenameCommand() {
|
||||||
super("Rename", new String[]{"Ren"}, "Allows you to rename your held item while in creative mode(Supports color codes)", "Rename <Name>");
|
super("Rename", new String[]{"Ren"}, "Allows you to rename your held item while in creative mode (supports color codes)", "Rename <Name>");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -27,14 +27,14 @@ public final class RenameCommand extends Command {
|
||||||
final Minecraft mc = Minecraft.getMinecraft();
|
final Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
|
||||||
if (!mc.player.isCreative()) {
|
if (!mc.player.isCreative()) {
|
||||||
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
|
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final ItemStack itemStack = mc.player.getHeldItemMainhand();
|
final ItemStack itemStack = mc.player.getHeldItemMainhand();
|
||||||
|
|
||||||
if (itemStack.isEmpty()) {
|
if (itemStack.isEmpty()) {
|
||||||
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant.");
|
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import me.rigamortis.seppuku.impl.config.ModuleConfig;
|
||||||
public final class RenameModuleCommand extends Command {
|
public final class RenameModuleCommand extends Command {
|
||||||
|
|
||||||
public RenameModuleCommand() {
|
public RenameModuleCommand() {
|
||||||
super("RenameModule", new String[]{"rm", "renamemod", "renamemodule"}, "Rename modules.", "renamemodule <module> <name>");
|
super("RenameModule", new String[]{"rm", "renamemod", "renamemodule"}, "Rename modules", "renamemodule <module> <name>");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -29,7 +29,7 @@ public final class SignBookCommand extends Command {
|
||||||
final Minecraft mc = Minecraft.getMinecraft();
|
final Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
|
||||||
if (!mc.player.isCreative()) {
|
if (!mc.player.isCreative()) {
|
||||||
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
|
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ public final class SkullCommand extends Command {
|
||||||
final Minecraft mc = Minecraft.getMinecraft();
|
final Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
|
||||||
if (!mc.player.isCreative()) {
|
if (!mc.player.isCreative()) {
|
||||||
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
|
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ public final class SpawnEggCommand extends Command {
|
||||||
final Minecraft mc = Minecraft.getMinecraft();
|
final Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
|
||||||
if (!mc.player.isCreative()) {
|
if (!mc.player.isCreative()) {
|
||||||
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
|
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,14 +26,14 @@ public final class StackSizeCommand extends Command {
|
||||||
final Minecraft mc = Minecraft.getMinecraft();
|
final Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
|
||||||
if (!mc.player.isCreative()) {
|
if (!mc.player.isCreative()) {
|
||||||
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
|
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final ItemStack itemStack = mc.player.getHeldItemMainhand();
|
final ItemStack itemStack = mc.player.getHeldItemMainhand();
|
||||||
|
|
||||||
if (itemStack.isEmpty()) {
|
if (itemStack.isEmpty()) {
|
||||||
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant.");
|
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue