more config stuff

This commit is contained in:
sebseb7
2023-06-29 05:41:27 +02:00
parent 118d696098
commit 96f265ee42
2 changed files with 57 additions and 10 deletions

View File

@@ -42,23 +42,60 @@ public class Configs implements IConfigHandler {
35,
"stacks to take from input container (or emerald container in buy-only mode)");
public static final ConfigInteger INPUT_CONTAINER_X =
new ConfigInteger("inputContainerX", 0, -30000000, 30000000, "Input container X");
new ConfigInteger(
"inputContainerX",
0,
-30000000,
30000000,
"Input container X (not used when sell disabled)");
public static final ConfigInteger INPUT_CONTAINER_Y =
new ConfigInteger("inputContainerY", 0, -64, 320, "Input container Y");
new ConfigInteger(
"inputContainerY", 0, -64, 320, "Input container Y (not used when sell disabled)");
public static final ConfigInteger INPUT_CONTAINER_Z =
new ConfigInteger("outputContainerZ", 0, -30000000, 30000000, "Input container Z");
new ConfigInteger(
"outputContainerZ",
0,
-30000000,
30000000,
"Input container Z (not used when sell disabled)");
public static final ConfigInteger OUTPUT_CONTAINER_X =
new ConfigInteger("outputContainerX", 0, -30000000, 30000000, "Output container X");
new ConfigInteger(
"outputContainerX",
0,
-30000000,
30000000,
"Input container X (not used when buy disabled)");
public static final ConfigInteger OUTPUT_CONTAINER_Y =
new ConfigInteger("outputContainerY", 0, -64, 320, "Output container Y");
new ConfigInteger(
"outputContainerY", 0, -64, 320, "Output container Y (not used when buy disabled)");
public static final ConfigInteger OUTPUT_CONTAINER_Z =
new ConfigInteger("outputContainerZ", 0, -30000000, 30000000, "Output container Z");
new ConfigInteger(
"outputContainerZ",
0,
-30000000,
30000000,
"Output container Z (not used when buy disabled)");
public static final ConfigInteger EMERALD_CONTAINER_X =
new ConfigInteger("emeraldContainerX", 0, -30000000, 30000000, "Emerald container X");
new ConfigInteger(
"emeraldContainerX",
0,
-30000000,
30000000,
"Emerald container X (not used when buy&sell enabled)");
public static final ConfigInteger EMERALD_CONTAINER_Y =
new ConfigInteger("emeraldContainerY", 0, -64, 320, "Emerald container Y");
new ConfigInteger(
"emeraldContainerY",
0,
-64,
320,
"Emerald container Y (not used when buy&sell enabled)");
public static final ConfigInteger EMERALD_CONTAINER_Z =
new ConfigInteger("emeraldContainerZ", 0, -30000000, 30000000, "Emerald container Z");
new ConfigInteger(
"emeraldContainerZ",
0,
-30000000,
30000000,
"Emerald container Z (not used when buy&sell enabled)");
public static final ImmutableList<IConfigValue> OPTIONS =
ImmutableList.of(

View File

@@ -7,6 +7,10 @@ import java.util.List;
public class Hotkeys {
public static final ConfigHotkey TOGGLE_KEY =
new ConfigHotkey("toggleTrading", "", "Enables / disables auto trading");
public static final ConfigHotkey SET_BUY_KEY =
new ConfigHotkey("setSellItem", "", "Sets the item to sell from hotbar");
public static final ConfigHotkey SET_SELL_KEY =
new ConfigHotkey("setBuyItem", "", "Sets the item to buy from hotbar");
public static final ConfigHotkey SET_INPUT_KEY =
new ConfigHotkey("setInputContainer", "", "Sets the input (item to sell) container");
public static final ConfigHotkey SET_OUTPUT_KEY =
@@ -18,5 +22,11 @@ public class Hotkeys {
public static final List<ConfigHotkey> HOTKEY_LIST =
ImmutableList.of(
TOGGLE_KEY, SET_INPUT_KEY, SET_OUTPUT_KEY, SET_EMERALD_KEY, OPEN_GUI_SETTINGS);
TOGGLE_KEY,
SET_BUY_KEY,
SET_SELL_KEY,
SET_INPUT_KEY,
SET_OUTPUT_KEY,
SET_EMERALD_KEY,
OPEN_GUI_SETTINGS);
}