Commit Graph

44 Commits

Author SHA1 Message Date
Martin Prokoph
86a665c41a Fix crash with multiple visible tabs 2024-06-13 20:23:53 +02:00
Martin Prokoph
03d70cf9a0 Update to rc1 2024-06-12 08:05:23 +02:00
Martin Prokoph
f0c8895d74 Port to 1.21-pre4 2024-06-08 20:42:16 +02:00
12emin34
d1df2e4d9b fix NeoForge for 1.20.5/6 2024-05-15 12:06:07 +02:00
Martin Prokoph
d75d34d675 MidnightLib 1.5.5
- Fixed button always being visible
- Various visual improvements
2024-05-04 17:59:06 +02:00
Martin Prokoph
a43820c904 Update to 1.20.5-rc2 2024-04-21 14:46:09 +02:00
Martin Prokoph
0241f81235 Fix button positioning
- Overview button is now positioned correctly again
- Updated to 24w13a (also works on 24w14a)
2024-04-04 17:03:41 +02:00
Martin Prokoph
2f1bfbf44e Experimental 24w09a port
- Only the overview button position in the Options Screen is not quite right
2024-03-05 12:58:59 +01:00
Martin Prokoph
2ff92526ba Fix ModMenu integration 2023-12-19 14:59:47 +01:00
Martin Prokoph
fb1c4c1158 MidnightLib 1.5.2 - NeoForge & more cleanness
- Native support for NeoForge (& dropped support for regular Forge)
- Cleanup of some code -> Overview button is now added via callbacks instead of a mixin
- Unify client & server classes
  - Minor breaking change only affecting mods using the hiding functionality
2023-12-11 19:28:04 +01:00
Martin Prokoph
29c8a9ccfe MidnightLib 1.5.1 for 1.20.4
- Port to 1.20.4
- Add back fancy list background
- File size optimizations
- Update tooling
2023-12-07 18:07:09 +01:00
Motschen
38e2e55a07 Re-enable Forge support
- QSL is still not released for whatever reason, so Quilt support will come later
2023-09-30 10:55:25 +02:00
Motschen
cbfaeb3c6f MidnightLib 1.5.0 - 1.20.2, slight redesign & cleanup
- Port to 1.20.2
- "Reset" button now uses a custom icon (closes #25)
- Config instances can now specify custom config change behavior (implement "writeChanges" method in your class; closes #33)
- Remove TexturedOverlayButtonWidget (replaced by vanilla's TextIconButtonWidget)
- Removed radialRainbow (used very rarely)
- Updated AutoCommand to support editing list and float config values via commands on serverside installs
- Reworded description
- Forge & Quilt temporarily disabled until they release, as always
2023-09-16 21:52:14 +02:00
Motschen
dbbf546551 MidnightLib 1.4.1 - Fix tabs & Re-enable Quilt and Forge
- Fix tabs not being visible
- Re-enable Forge and Quilt support
- Fix #28
2023-06-09 18:46:53 +02:00
Motschen
9074abc331 Previous commit had a typo, it's 1.20 ;)
This commit fixes unsaved options resetting when resizing the game window
2023-05-22 12:20:35 +02:00
Motschen
8109eeb74e Update to 1.19.4 & Fix invalid value tooltips 2023-05-18 21:33:17 +02:00
Motschen
8ab3b9fa7d MidnightLib 1.3.0 - No more hats
- Re-enable Quilt and Forge support
- Completely remove unnecessary bloat (Hat cosmetics)
- File size is now just around 55KB for the Fabric & Quilt version, 60KB for Forge
2023-04-02 14:58:04 +02:00
Motschen
2db6b33d30 Bump version 2023-03-09 21:11:02 +01:00
Motschen
cacd3516c1 Port to 1.19.4, Add tab support & Large code cleanup 2023-03-08 21:27:41 +01:00
Motschen
1009dd9e84 Fix #23 2023-02-15 12:12:18 +01:00
Motschen
1ef835a015 Re-enable Quilt and Forge support 2022-12-14 18:22:32 +01:00
Motschen
eaa2b1543e MidnightLib 1.1.0 - Port to 1.19.3
- Port to 1.19.3 (temporarily disabled forge and quilt until they're available)
- Removed custom button tooltip system in favor of the new vanilla one
2022-12-03 16:33:34 +01:00
Motschen
0c23fa4f53 Port to Architectury
Yes, that also means Forge!
And yes, this was pain.
And no, the file size has not increased much!
2022-10-30 23:49:58 +01:00
Motschen
c63cf9c515 Add support for sliders (int, float and double) 2022-10-30 17:10:22 +01:00
Motschen
ac1516293c MidnightLib 0.6.1 - Fix reset button for color fields
- Fix reset button never being inactive for color config options
- Always make color button non-interactive
2022-09-21 20:52:56 +02:00
Motschen
383de29f93 MidnightLib 0.6.0 - Centered Comments, Inactive Reset Buttons, Hidden Entries
- Comments can now be centered via a property in the Annotation
- Entries can now be completely hidden using the respective annotation (allows for things like config versions being saved)
- Reset buttons now get deactivated when the value matches the default
- The MidnightConfigOverview list is now sorted alphabetically
- Make more fields publicly accessible
- Ukrainian translation by @Altegar
2022-08-22 18:42:48 +02:00
Motschen
191120393c MidnightLib 0.5.2 - Fix AutoModMenu opt-out... again
Closes #10
2022-06-07 21:03:45 +02:00
Motschen
1be14dc3ac MidnightLib 1.5.1 - Fix AutoModMenu opt-out 2022-06-06 18:48:32 +02:00
Motschen
7e1de67a5e MidnightLib 0.5.0 - Same as 0.4.2 but 1.19 2022-06-06 18:13:39 +02:00
Motschen
da4e59ef3a MidnightLib 0.4.1 - Update to 1.19 2022-05-18 20:21:31 +02:00
Motschen
a9190f2a0d MidnightLib 0.4.0 - Color support, Client and Server-only config options, cleanup 2022-02-22 12:30:55 +01:00
Motschen
794586362d MidnightLib 0.3.1 - Remove debug info 2021-11-20 11:21:40 +01:00
Motschen
5dc707a6d8 MidnightLib 0.3.0 - String-List ingame support
- String Lists can now be edited in MidnightLib config screens
- Remove some pointless clutter
2021-10-31 15:46:34 +01:00
Motschen
78dcb1e988 MidnightLib 0.2.9 - Make /midnightconfig command only able to be executed by operators 2021-10-29 11:16:21 +02:00
Motschen
afa8cf9a5d MidnightLib 0.2.8 - Command-based server configuration, Remove garbage, Better MidnightHats, Update MC
- Added a command-based way to configure server mods without having to edit the config file (only on dedicated servers)
- Update codebase to 1.17.1
- MidnightHats:
~ Remove Event Hats (irritating and unneeded)
~ Better Hats for Supporters (Cleanup, Glow, Lightweightness)
~ Hats of invisible players are now hidden
- MidnightConfig:
~ Better support for external value changing
~ Only tooltip-based titles now
- MidnightColorUtil:
~ add radialRainbow util for fancy rgb effects
- Better German translations
2021-10-28 23:20:40 +02:00
Motschen
7c55e3bfae MidnightLib 0.2.7 - Fixes and Textured overlay buttons
- Fix #1
- The MidnightConfig overview screen button background is now based on the default button texture (Powered by new util class 'TexturedOverlayButtonWidget')
2021-10-19 21:39:32 +02:00
Motschen
454b8ec01d MidnightLib 0.2.6 - Code cleanup & compression
- MidnightHats is now more performant and has new types of special hats
- Compress assets
- Reduce filesize heavily
2021-10-01 19:56:53 +02:00
Motschen
60497771fc MidnightLib 0.2.5 - Better Translations & Backgrounds
- Custom lang key support
 - Transparent list background when in game
- Configurable background texture in MidnightConfig screens (defaults to Deepslate)
2021-09-19 13:18:16 +02:00
Motschen
472ce59ae0 MidnightLib 0.2.4 - 1.17
MidnightConfig v1.0.4:
- Number field length is now configurable
- Fixed number fields being empty
2021-06-21 19:41:14 +02:00
Motschen
2a6b0bae12 MidnightLib 0.2.3 - Automatic mod menu integration
Added automatic mod menu integration for mods using MidnightLib

MidnightConfig 1.0.3:
 - Text field length is now configurable
 - Better separation of client and server
2021-06-09 12:23:01 +02:00
Motschen
4c965487b1 MidnightLib v0.2.2 - Update to 1.17-pre1
- Not much changed.
- Rough ModMenu port for 1.17-pre1 can be found here: https://github.com/Motschen/ModMenu/releases/tag/v2.0.0-mnd
2021-05-28 19:23:40 +02:00
Motschen
0d20721213 MidnightLib v0.2.1 - Fix some bugs
- Fixed MidnightConfig buttons not working in full screen
- Make MidnightConfig title style configurable
2021-05-15 12:46:19 +02:00
Motschen
235042f30e MidnightLib v0.2.0 for 21w19a
- MidnightConfig screens can be viewed from a new screen in the minecraft options
- Code cleanup
- Examples & Documentation
- New Methods
- Upgrade to 21w19a and Java 16

MidnightConfig v1.0.0:
 - The config screen no longer shows the entries of all instances of MidnightConfig
 - Compatible with servers!
 - Scrollable!
 - Comment support!
 - Fresh new design
2021-05-14 22:20:20 +02:00
Motschen
a4be637128 MidnightLib v0.1.0 for 21w08b 2021-02-28 12:36:43 +01:00