aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/WardrobeKeybinds.java
blob: 8b23e57a9d2a454b959644504a066e8308dca209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/*
 * Copyright (C) 2022 NotEnoughUpdates contributors
 *
 * This file is part of NotEnoughUpdates.
 *
 * NotEnoughUpdates is free software: you can redistribute it
 * and/or modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
 *
 * NotEnoughUpdates is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with NotEnoughUpdates. If not, see <https://www.gnu.org/licenses/>.
 */

package io.github.moulberry.notenoughupdates.options.separatesections;

import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigAccordionId;
import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;

public class WardrobeKeybinds {

	@Expose
	@ConfigOption(
		name = "Enable Wardrobe Keybinds",
		desc = "Lets you use your number keys to quickly change your wardrobe"
	)
	@ConfigEditorBoolean
	public boolean enableWardrobeKeybinds = false;

	@ConfigOption(
		name = "Wardrobe Keybinds",
		desc = ""
	)
	@ConfigEditorAccordion(id = 2)
	public boolean wardrobeKeybindAccordion = false;
	@Expose
	@ConfigOption(
		name = "Slot 1",
		desc = "Keybind to toggle the first set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_1)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot1 = Keyboard.KEY_1;

	@Expose
	@ConfigOption(
		name = "Slot 2",
		desc = "Keybind to toggle the second set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_2)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot2 = Keyboard.KEY_2;

	@Expose
	@ConfigOption(
		name = "Slot 3",
		desc = "Keybind to toggle the third set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_3)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot3 = Keyboard.KEY_3;

	@Expose
	@ConfigOption(
		name = "Slot 4",
		desc = "Keybind to toggle the fourth set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_4)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot4 = Keyboard.KEY_4;

	@Expose
	@ConfigOption(
		name = "Slot 5",
		desc = "Keybind to toggle the fifth set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_5)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot5 = Keyboard.KEY_5;

	@Expose
	@ConfigOption(
		name = "Slot 6",
		desc = "Keybind to toggle the sixth set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_6)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot6 = Keyboard.KEY_6;

	@Expose
	@ConfigOption(
		name = "Slot 7",
		desc = "Keybind to toggle the seventh set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_7)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot7 = Keyboard.KEY_7;

	@Expose
	@ConfigOption(
		name = "Slot 8",
		desc = "Keybind to toggle the eighth set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_8)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot8 = Keyboard.KEY_8;

	@Expose
	@ConfigOption(
		name = "Slot 9",
		desc = "Keybind to toggle the ninth set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_9)
	@ConfigAccordionId(id = 2)
	public int wardrobeSlot9 = Keyboard.KEY_9;

	@Expose
	@ConfigOption(
		name = "Unequip Wardrobe Slot",
		desc = "Keybind to unequip the currently active set in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_0)
	@ConfigAccordionId(id = 2)
	public int wardrobePageUnequip = Keyboard.KEY_0;

	@Expose
	@ConfigOption(
		name = "Previous Page",
		desc = "Keybind to open the previous page in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_MINUS)
	@ConfigAccordionId(id = 2)
	public int wardrobePagePrevious = Keyboard.KEY_MINUS;

	@Expose
	@ConfigOption(
		name = "Next Page",
		desc = "Keybind to open the next page in your wardrobe"
	)
	@ConfigEditorKeybind(defaultKey = Keyboard.KEY_EQUALS)
	@ConfigAccordionId(id = 2)
	public int wardrobePageNext = Keyboard.KEY_EQUALS;
}