diff options
| author | Moulberry <jjenour@student.unimelb.edu.au> | 2021-02-10 20:36:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-10 20:36:30 +0800 |
| commit | 6024bdf69193ad216e95fca53d7d28746f4269e0 (patch) | |
| tree | 676a845e5e92128955c35e149414897fb10b53f9 /src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java | |
| parent | 52c6dabe58005aa5a7fc5809512bd8cf4ad4f97f (diff) | |
| parent | c58414eabf2ba4c69e8135a09724f36fac835f10 (diff) | |
| download | notenoughupdates-6024bdf69193ad216e95fca53d7d28746f4269e0.tar.gz notenoughupdates-6024bdf69193ad216e95fca53d7d28746f4269e0.tar.bz2 notenoughupdates-6024bdf69193ad216e95fca53d7d28746f4269e0.zip | |
Merge pull request #147 from ThatGravyboat/master
Pet Info / improvements to features using pet info
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java | 68 |
1 files changed, 66 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java index c8625088..45d6705a 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java @@ -62,6 +62,15 @@ public class NEUConfig extends Config { case 3: editOverlay(activeConfigCategory, OverlayManager.farmingOverlay, skillOverlays.farmingPosition); return; + case 4: + Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor( + NotEnoughUpdates.INSTANCE.config.overlay.petInfoPosition, + 150, 22, () -> { + }, () -> { + }, () -> NotEnoughUpdates.INSTANCE.openGui = new GuiScreenElementWrapper( + new NEUConfigEditor(NotEnoughUpdates.INSTANCE.config, activeConfigCategoryF)) + )); + return; } } @@ -184,7 +193,14 @@ public class NEUConfig extends Config { name = "Treecap Overlay", desc = "Treecap Overlay" ) - public TreecapOverlay treecapOverlay = new TreecapOverlay(); + public Treecap treecap = new Treecap(); + + @Expose + @Category( + name = "Overlays", + desc = "Overlays" + ) + public Overlay overlay = new Overlay(); @Expose @Category( @@ -307,6 +323,14 @@ public class NEUConfig extends Config { ) @ConfigEditorBoolean public boolean showUpdateMsg = true; + + @Expose + @ConfigOption( + name = "Wrong Pet", + desc = "Gives a notification in chat whenever you're using a pet that doesnt match the same xp you're gathering." + ) + @ConfigEditorBoolean + public boolean showWrongPetMsg = false; } public static class Itemlist { @@ -1088,7 +1112,7 @@ public class NEUConfig extends Config { public boolean customTradePriceStyle = true; } - public static class TreecapOverlay { + public static class Treecap { @Expose @ConfigOption( name = "Enable Treecap Overlay", @@ -1104,6 +1128,46 @@ public class NEUConfig extends Config { ) @ConfigEditorColour public String treecapOverlayColour = "00:50:64:224:208"; + + @Expose + @ConfigOption( + name = "Enable Monkey Pet Check", + desc = "Will check use the API to check what pet you're using\nto determine the cooldown based off of if you have monkey pet." + ) + @ConfigEditorBoolean + + public boolean enableMonkeyCheck = false; + } + + public static class Overlay { + @Expose + @ConfigOption( + name = "Enable Pet Info Overlay", + desc = "Shows current active pet and pet exp on screen." + ) + @ConfigEditorBoolean + public boolean enablePetInfo = false; + + @Expose + @ConfigOption( + name = "Pet Info Position", + desc = "The position of the pet info." + ) + @ConfigEditorButton( + runnableId = 4, + buttonText = "Edit" + ) + public Position petInfoPosition = new Position(0, 15); + + @Expose + @ConfigOption( + name = "Pet Info Overlay Style", + desc = "Change the style of the Pet Info overlay" + ) + @ConfigEditorDropdown( + values = {"Background", "No Shadow", "Shadow Only", "Full Shadow", "With Shadow"} + ) + public int petInfoOverlayStyle = 0; } public static class BuilderWand { |
