Commit Graph

198 Commits

Author SHA1 Message Date
Jaffe2718
c1299c2195 add examples 2025-04-03 11:14:02 +08:00
Jaffe2718
6eceaded3a fix bugs: The condition update algorithm is chaotic and does not work properly when the condition values conflict
new features: multi-conditions config is supported
2025-04-03 11:13:19 +08:00
Jaffe2718
faf8c199b4 fix bug: the @Condition does not trigger in real-time to update the menu UI 2025-04-02 22:00:54 +08:00
Martin Prokoph
ebcafa6b09 chore: bump version
1.7.0, baby!
2025-03-27 23:36:48 +01:00
Martin Prokoph
2abf9040a7 feat: conditions! + large cleanup 2025-03-27 23:30:03 +01:00
Martin Prokoph
465af9507e clean: optimize translation files & metadata 2025-03-26 19:08:10 +01:00
Martin Prokoph
8bf4cfa9f7 Merge pull request #88 from mpustovoi/patch-1
Create `ru_ru.json`
2025-03-26 18:15:52 +01:00
Martin Prokoph
060ca3389a clean: various code improvements 2025-03-26 17:44:35 +01:00
Martin Prokoph
5da96ac84e chore: bump version 2025-03-20 22:56:52 +01:00
Martin Prokoph
7902042a44 refactor: identifier item display
- Now in the list entry render method
- Also fixes z-overlap
2025-03-20 21:12:28 +01:00
Martin Prokoph
32822e60ed clean: remove blend functions
- No longer needed since 1.21.3 and not available in 1.21.5
2025-03-20 20:46:43 +01:00
Martin Prokoph
30fb35f807 feat: minimal custom type adapter for Identifiers
- Needed for MC 1.21.5+ (The official Serializer was removed)
2025-03-20 20:40:36 +01:00
Korben
422cb5f368 Create ru_ru.json
Parity with `en_us.json`.
2025-02-23 12:48:02 +03:00
Martin Prokoph
a4d801ddf7 Merge pull request #87 from TeamMidnightDust/architectury-1.21.4
feat: maintain tab order (1.21.1)
2025-02-22 22:17:25 +01:00
Martin Prokoph
d2f5b26c1f feat: maintain tab order
- The ordering of tabs will now be defined by the order entries are sorted in config classes
2025-02-22 22:12:25 +01:00
Martin Prokoph
fd858bd468 Reapply "Merge branch 'architectury-1.21.1' into architectury-1.21.4"
This reverts commit 7c0e4d5b48.
2025-02-15 12:48:27 +01:00
Martin Prokoph
02374253fd Merge pull request #85 from TeamMidnightDust/architectury-1.21.4
backport: 1.6.8 for 1.21.1
2025-02-15 12:47:51 +01:00
Martin Prokoph
7c0e4d5b48 Revert "Merge branch 'architectury-1.21.1' into architectury-1.21.4"
This reverts commit a0fde5da5c, reversing
changes made to 596f68f4d9.
2025-02-15 12:45:16 +01:00
Martin Prokoph
a0fde5da5c Merge branch 'architectury-1.21.1' into architectury-1.21.4 2025-02-15 12:43:33 +01:00
Martin Prokoph
596f68f4d9 chore: adjust version naming for better integration 2025-02-15 12:39:47 +01:00
Martin Prokoph
28166aaa3d fix(neoforge): move command registration to post init
- Closes #82 and #68
2025-02-15 12:28:02 +01:00
Martin Prokoph
fdb4a1a528 feat: use enum variant name when missing translation
- Closes #79
2025-02-15 12:14:56 +01:00
Martin Prokoph
d73b9683f9 feat: support non-primitive fields
- Closes #69 (nice)
2025-02-15 12:01:44 +01:00
Martin Prokoph
e29466401b chore: improve version formatting & bump version 2025-02-15 11:21:01 +01:00
Martin Prokoph
fe6669e750 fix: crash on pure Wayland sessions
- Closes #84
2025-02-15 11:19:41 +01:00
Martin Prokoph
c067d135ed Merge pull request #83 from maloryware/architectury-1.21.x
Backport of recent changes to MC 1.21.1
2025-01-27 18:16:36 +01:00
Martin Prokoph
26d7948590 Merge branch 'architectury-1.21.1' into architectury-1.21.x 2025-01-27 18:14:43 +01:00
maloryware
81d2a66451 i should really stop pressing "commit and push" unconditionally but it's such an attractive button... 2025-01-27 09:15:21 +00:00
maloryware
6aa053665f Backported to 1.21(.1) 2025-01-27 09:11:43 +00:00
Martin Prokoph
e938682e51 MidnightLib 1.6.7 2025-01-19 18:27:27 +01:00
Martin Prokoph
2c92bf30a0 Merge pull request #81 from TeamMidnightDust/wip-tooltip-refactor
feat: refactor text labels to use widgets & allow for label tooltips
2025-01-14 10:56:02 +01:00
Martin Prokoph
37fff5a9c5 clean: compactify tooltip code 2025-01-14 10:48:48 +01:00
Martin Prokoph
6f35fb5658 docs: improve javadocs 2025-01-14 10:35:14 +01:00
Martin Prokoph
a32593ede0 feat: improve label tooltip code
- Users can now define labels for text via this translation key pattern: "modid.midnightconfig.optionName.label.tooltip"
2025-01-14 10:27:35 +01:00
Martin Prokoph
d8952a6ad8 Merge pull request #80 from maloryware/architectury-1.21
Made Entry Titles Tooltip-able
2025-01-09 15:41:40 +01:00
Martin Prokoph
0b10a223c1 Merge pull request #73 from NumberSir/patch-1
Update zh_cn.json
2025-01-09 15:38:11 +01:00
Martin Prokoph
674f5fc058 Merge pull request #76 from NuruddinPlays/architectury-1.21
Add Malay and Malay (Jawi) translations
2025-01-09 15:37:21 +01:00
maloryware
803607259e added javadocs for Server and Hidden annotations. 2024-12-31 20:11:04 +00:00
maloryware
00e080e715 bunp. 2024-12-31 18:57:42 +00:00
maloryware
7cdd7cdc73 Entry Title rendered as MultilineTextWidget
Added tooltip functionality for Entry Title
2024-12-31 18:56:47 +00:00
NuruTheDoomer
a90cb02b2f Add Malay and Malay (Jawi) translations 2024-12-05 15:26:52 +08:00
Martin Prokoph
56bbb8bac6 Update to final 1.21.4 release 2024-12-04 20:46:12 +01:00
Martin Prokoph
a2c0a8afb0 Update to 1.21.4
Neoforge will follow as soon as it's released
2024-12-03 11:44:06 +01:00
Number_Sir
b4c4454ba8 Update zh_cn.json 2024-11-14 19:34:43 +08:00
Martin Prokoph
18209609cb MidnightLib 1.6.4 (Port to 1.21.2/3)
- Forgot to push this earlier, oops
2024-10-29 22:14:54 +01:00
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