Commit Graph

10 Commits

Author SHA1 Message Date
BONNe1704
97174930d5 Create constructor that allows to input any String Collection. 2019-01-18 17:22:44 +02:00
BONNe1704
fb06dae7ab Add constructors that allows to set minimal and maximal return value. 2019-01-18 17:03:08 +02:00
BONNe1704
25371fc6aa Replace setValue method with BiConsumer.
This will provide ability to use setters directly in caller GUIs.
2019-01-18 16:50:34 +02:00
BONNe1704
09f69bd46a Implement Consumer in ConfirmationGUI instead of depending on setValue method. 2019-01-18 16:49:39 +02:00
BONNe
dab5f2b331 Remove commands from UtilGuis, instead use CommonGUI.valueObject to store new value.
Proper ItemSwitchGUI implementation.
2019-01-17 22:44:48 +02:00
BONNe1704
2ae8a5d634 Create ItemGUI class that will be used to change all required and reward item stacks. 2019-01-17 17:49:51 +02:00
BONNe1704
1508492a69 Create StringListGUI class that allows to edit list of strings. 2019-01-17 16:55:32 +02:00
BONNe1704
c79173b411 Remove command existing check from ConfirmationGUI.
Add CompositeCommand as class variable.
2019-01-17 16:27:16 +02:00
BONNe1704
6903fa5d40 Create NumberGUI that allows to change integer value and run command that will apply this integer. 2019-01-17 16:23:03 +02:00
BONNe1704
e1f6cc8b47 Create ConfirmationGUI class that creates GUI with 2 buttons.
On Cancel it should return to previous GUI.
On Accept it should process given command. If command does not exist, it should throw error message in chat. At the end it should return to previous GUI.
2019-01-17 13:16:42 +02:00