Commit Graph

103 Commits

Author SHA1 Message Date
Martin Prokoph
07e6049fa0 Allow Entries to be conditionally shown
- Define a required mod using `requiredMod = "modid"` in entries & comments
2024-10-11 00:08:45 +02:00
Martin Prokoph
765ad60d0b Fix crash on MacOS since v1.6.0
- Closes #67
- Temporarily disabled function popups on MacOS until a solution without non-headless java mode is found
- Also exposed a couple of fields for an upcoming Puzzle update
2024-09-06 12:00:06 +02:00
Martin Prokoph
b8a54e339a Run command registration after main method
- Fixes commands being missing for certain mods
- Possibly fix #67
2024-09-02 23:47:58 +02:00
Martin Prokoph
48390abf8f Open path from last location
- Also some gradle treats :)
2024-08-29 13:43:34 +02:00
Martin Prokoph
db32a41e2b Enable commands in all environments
- Many command-related fixes and improvements
- Added test environment for easier development
2024-08-29 13:38:38 +02:00
Martin Prokoph
545a845add Improved button injection 2024-08-28 12:28:51 +02:00
Martin Prokoph
8039bf3fec Improved automatic command registration 2024-08-28 11:38:35 +02:00
Martin Prokoph
64d26e38b5 Minify json files and images 2024-08-25 12:52:37 +02:00
Martin Prokoph
8aab796530 More compact code & finishing touches 2024-08-25 12:17:04 +02:00
Martin Prokoph
5fa635911f Show errors again and correctly handle closing 2024-08-23 21:35:29 +02:00
Martin Prokoph
3e20b904b7 Improved layout and lists
- Moved reset buttons right
- Added support for Identifiers
- Added isItem property to visually show items associated with Identifiers
- Lists can now also contain Identifiers and numbers
- Added method to get default values
- Added color chooser for color options
2024-08-23 21:08:16 +02:00
Martin Prokoph
145188a0e4 Merge pull request #63 from Jaffe2718/architectury-1.21
Add file chooser for String field in 1.6.0
2024-08-23 11:36:49 +02:00
Jaffe2718
7deccf4199 - use fileChooser.showDialog(null, null) instead of fileChooser.showOpenDialog(null) 2024-08-22 18:09:43 +08:00
Jaffe2718
fbde598420 - add file chooser for String field in 1.6.0 2024-08-22 15:44:22 +08:00
Martin Prokoph
9cce0ff10a Bump version 2024-08-10 09:53:11 +02:00
Martin Prokoph
91e264cbb5 Update Neoforge to fix #60 2024-08-10 09:48:39 +02:00
Martin Prokoph
4c91779267 Merge pull request #61 from TeamMidnightDust/architectury
Update translations for 1.21
2024-08-10 09:45:30 +02:00
Martin Prokoph
b0a7e5161b Merge pull request #59 from Mccandycube6623/patch-1
Create zh_cn.json
2024-08-10 09:39:40 +02:00
Mc_candycube6623
c16b9be9b2 Create zh_cn.json 2024-06-22 00:10:52 +08:00
Martin Prokoph
dfb53f391d NeoForge 1.21
- Added new method to get Modloader/Platform name in common classes
2024-06-17 15:17:07 +02:00
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
Martin Prokoph
aeeed9922a Add unified publishing for NeoForge 2024-06-08 20:35:30 +02:00
Martin Prokoph
5cae2a071d Merge pull request #55 from 12emin34/neo-1.20.6
fix NeoForge for 1.20.5/6
2024-06-08 20:17:22 +02:00
12emin34
9c02d399b7 oops, forgot to remove unneeded pack.mcmeta file 2024-05-15 13:06:23 +02:00
12emin34
d1df2e4d9b fix NeoForge for 1.20.5/6 2024-05-15 12:06:07 +02:00
Martin Prokoph
e7a0b72bfb Merge pull request #54 from TeamMidnightDust/1.20.5
1.20.6
2024-05-04 18:02:32 +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
64ccaf6195 Merge branch '24w09a' of https://github.com/TeamMidnightDust/MidnightLib into 24w09a 2024-04-21 14:46:16 +02:00
Martin Prokoph
a43820c904 Update to 1.20.5-rc2 2024-04-21 14:46:09 +02:00
Martin Prokoph
ce23e811b5 Merge pull request #52 from TeamMidnightDust/architectury
Fixed #48
2024-04-21 14:34:49 +02:00
Martin Prokoph
afc3c09148 Fixed #48
Also reduced code complexity, nice :)
2024-04-04 17:25:53 +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
Martin Prokoph
59989308f6 Merge pull request #37 from Suel-ki/architectury
Fix forge initialization
2023-09-09 11:33:15 +02:00
Suel_ki
29706d3e39 Add static keyword to registerCommands method 2023-07-18 10:27:18 +08:00
Suel_ki
afdd6549d3 Fix registerCommands registration 2023-07-17 16:47:52 +08:00
Suel_ki
8466b3f21a Fix ConfigScreen registration 2023-07-17 16:44:14 +08:00
Martin Prokoph
f71e8dbdc3 Update README.md 2023-06-11 12:52:21 +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
Martin Prokoph
e9e1bec91f Merge pull request #26 from notlin4/patch-1
Create zh_tw.json
2023-05-18 18:41:08 +02:00
notlin4
b723253686 Create zh_tw.json 2023-04-04 23:16:14 +08:00