aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-15 23:59:52 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-16 00:06:00 +0200
commit245e1303b1d29ca373509d8190ae20366d5cf2ff (patch)
tree9d98d2ac688d3a8dec52a20e2833e78bcfc8550b /src/main/java/at/hannibal2/skyhanni/config
parent3539dbe69a0782c519aa7d0fd38b7b58df154fd8 (diff)
downloadskyhanni-245e1303b1d29ca373509d8190ae20366d5cf2ff.tar.gz
skyhanni-245e1303b1d29ca373509d8190ae20366d5cf2ff.tar.bz2
skyhanni-245e1303b1d29ca373509d8190ae20366d5cf2ff.zip
added /ii item info command
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java44
1 files changed, 28 insertions, 16 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java
index c2b60515f..4de83ad8a 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java
@@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.config.commands;
import at.hannibal2.skyhanni.SkyHanniMod;
import at.hannibal2.skyhanni.config.config.ConfigEditor;
import at.hannibal2.skyhanni.config.core.GuiScreenElementWrapper;
+import at.hannibal2.skyhanni.test.LorenzTest;
import net.minecraft.command.ICommandSender;
import net.minecraftforge.client.ClientCommandHandler;
import org.apache.commons.lang3.StringUtils;
@@ -24,25 +25,36 @@ public class Commands {
ClientCommandHandler.instance.registerCommand(new SimpleCommand("skyhanni", mainMenu));
ClientCommandHandler.instance.registerCommand(
- new SimpleCommand(
- "shreloadlocalrepo",
- new SimpleCommand.ProcessCommandRunnable() {
- public void processCommand(ICommandSender sender, String[] args) {
- SkyHanniMod.repo.reloadLocalRepo();
- }
- }
- )
+ new SimpleCommand(
+ "shreloadlocalrepo",
+ new SimpleCommand.ProcessCommandRunnable() {
+ public void processCommand(ICommandSender sender, String[] args) {
+ SkyHanniMod.repo.reloadLocalRepo();
+ }
+ }
+ )
);
ClientCommandHandler.instance.registerCommand(
- new SimpleCommand(
- "shupdaterepo",
- new SimpleCommand.ProcessCommandRunnable() {
- public void processCommand(ICommandSender sender, String[] args) {
- SkyHanniMod.repo.updateRepo();
- }
- }
- )
+ new SimpleCommand(
+ "shupdaterepo",
+ new SimpleCommand.ProcessCommandRunnable() {
+ public void processCommand(ICommandSender sender, String[] args) {
+ SkyHanniMod.repo.updateRepo();
+ }
+ }
+ )
+ );
+
+ ClientCommandHandler.instance.registerCommand(
+ new SimpleCommand(
+ "ii",
+ new SimpleCommand.ProcessCommandRunnable() {
+ public void processCommand(ICommandSender sender, String[] args) {
+ LorenzTest.Companion.printLore();
+ }
+ }
+ )
);
}
}