diff options
author | Linnea Gräf <nea@nea.moe> | 2023-12-10 03:06:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 03:06:15 +0100 |
commit | b01af78657ee336c3ebacacb4d6b11699ec0b957 (patch) | |
tree | 749de38ea72472d7198b7f2ddf61989bdd9e477d /src/main/java/at/hannibal2/skyhanni/config | |
parent | 61368c57bd36f3d6be3d072cfd9bbb24ca8fa090 (diff) | |
download | skyhanni-b01af78657ee336c3ebacacb4d6b11699ec0b957.tar.gz skyhanni-b01af78657ee336c3ebacacb4d6b11699ec0b957.tar.bz2 skyhanni-b01af78657ee336c3ebacacb4d6b11699ec0b957.zip |
Add region selector (#732)
Added WorldEdit region selection preview support. #732
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index cc8754d49..77b189589 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -46,6 +46,7 @@ import at.hannibal2.skyhanni.test.PacketTest import at.hannibal2.skyhanni.test.SkyHanniConfigSearchResetCommand import at.hannibal2.skyhanni.test.SkyHanniDebugsAndTests import at.hannibal2.skyhanni.test.TestBingo +import at.hannibal2.skyhanni.test.WorldEdit import at.hannibal2.skyhanni.test.command.CopyItemCommand import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand import at.hannibal2.skyhanni.test.command.CopyNearbyParticlesCommand @@ -174,9 +175,18 @@ object Commands { "shresetendernodetracker", "Resets the Ender Node Tracker" ) { EnderNodeTracker.resetCommand(it) } - registerCommand("shresetarmordroptracker", "Resets the Armor Drop Tracker") { ArmorDropTracker.resetCommand(it) } - registerCommand("shresetfrozentreasuretracker", "Resets the Frozen Treasure Tracker") { FrozenTreasureTracker.resetCommand(it) } - registerCommand("shresetfishingtracker", "Resets the Frozen Treasure Tracker") { FishingProfitTracker.resetCommand(it) } + registerCommand( + "shresetarmordroptracker", + "Resets the Armor Drop Tracker" + ) { ArmorDropTracker.resetCommand(it) } + registerCommand( + "shresetfrozentreasuretracker", + "Resets the Frozen Treasure Tracker" + ) { FrozenTreasureTracker.resetCommand(it) } + registerCommand( + "shresetfishingtracker", + "Resets the Frozen Treasure Tracker" + ) { FishingProfitTracker.resetCommand(it) } registerCommand("shbingotoggle", "Toggle the bingo card display mode") { BingoCardDisplay.toggleCommand() } registerCommand( "shfarmingprofile", @@ -264,6 +274,11 @@ object Commands { registerCommand("shtestinquisitor", "dev command") { InquisitorWaypointShare.test() } registerCommand("shshowcropmoneycalculation", "dev command") { CropMoneyDisplay.toggleShowCalculation() } registerCommand("shcropspeedmeter", "Debugs how many crops you collect over time") { CropSpeedMeter.toggle() } + registerCommand0( + "shworldedit", + "Select regions in the world", + { WorldEdit.command(it) }, + { listOf("copy", "reset", "help") }) registerCommand( "shconfigsave", "Manually saving the config" |