Joris Kleiber
daec2a3187
feat: respect TranslatableOption on enums
2025-04-26 01:10:57 +02:00
Martin Prokoph
6693580cfa
Merge pull request #99 from TeamMidnightDust/dev
...
MidnightLib 1.7.2 – Clickable URLs in Comments and added Checkbox buttons
2025-04-21 11:04:15 +02:00
Martin Prokoph
356064b052
chore: bump version
2025-04-21 10:46:02 +02:00
Martin Prokoph
06ef4fdcf7
clean: remove unused import
2025-04-21 10:45:02 +02:00
Martin Prokoph
82889b8c06
docs: improve JavaDocs
2025-04-21 10:43:40 +02:00
Martin Prokoph
e58c7fc0fd
feat: improve URL handling
...
- Uses the `open` method of `ConfirmLinkScreen` instead of manually instantiating it
- Also re-add the `requiredMod` field for `@Comment` to prevent mods that haven't adjusted yet from outright crashing
2025-04-18 12:37:46 +02:00
Martin Prokoph
4def02af12
Merge pull request #98 from Jaffe2718/dev
...
1.7.2-rc.2
2025-04-18 12:20:15 +02:00
Jaffe2718
5905eed58f
- feat: add clickable url for @Comment
...
- chore: bump version `1.7.2-rc.2`
2025-04-18 17:01:35 +08:00
Martin Prokoph
0297d91e70
feat: 'visibleButLocked' now applies for all buttons
2025-04-14 18:02:56 +02:00
Martin Prokoph
3e6a72cda4
feat: checkbox buttons next to boolean yes/no text buttons
2025-04-14 17:49:02 +02:00
Martin Prokoph
dcf0dbcaab
fix: improve identifier crash fix
...
Now uses Minecraft's built-in Identifier.validate function to check validity before applying changes
2025-04-14 17:47:11 +02:00
Martin Prokoph
dd128bd2d0
Merge pull request #97 from Jaffe2718/architectury-1.21.4
...
1.7.2-rc.1
2025-04-14 16:39:58 +02:00
Jaffe2718
517d3c8a0e
- adjust: optimize code & add comment
2025-04-14 20:05:21 +08:00
Jaffe2718
e046463f66
- rollback: boolean field (CheckboxWidget -> ButtonWidget)
2025-04-14 20:00:51 +08:00
Jaffe2718
a4ce16482c
- fix bug+: illegal Identifier cannot input character
2025-04-13 18:42:24 +08:00
Jaffe2718
1606646e87
- fix bug: avoid the crash due to Identifier syntax not legitimate.
...
- new feature: multiple expect values for `@Condition`
- change: use `net.minecraft.client.gui.widget.CheckboxWidget` for boolean `@Entry` instead of `net.minecraft.client.gui.widget.ButtonWidget`
- misc: cleanup for `en_us.json` and example code & bump version
2025-04-13 18:32:35 +08:00
Martin Prokoph
57d881db1e
Merge pull request #94 from TeamMidnightDust/dev
...
MidnightLib 1.7.1 – Multi-conditions & Performance improvements
2025-04-05 12:46:45 +02:00
Martin Prokoph
a3f4dfc9db
chore: bump version
2025-04-05 12:43:07 +02:00
Martin Prokoph
9b29b208eb
docs: improve multi-conditions example
2025-04-05 12:38:38 +02:00
Martin Prokoph
386a95aca8
feat: optimize AutoCommand's file-size
2025-04-05 12:10:11 +02:00
Martin Prokoph
64be14f136
clean: improve entry access further
2025-04-05 12:02:58 +02:00
Martin Prokoph
ee705b2cbd
feat: replace Hashtable with LinkedHashMap
...
- Keeps the entry order in tact without the need to store it separately
2025-04-05 11:47:04 +02:00
Martin Prokoph
1c3a81f3b8
Merge pull request #93 from Jaffe2718/architectury-1.21.4
...
Fix bugs & add Multi-Conditions Feature
2025-04-05 11:03:12 +02:00
Jaffe2718
ac5a035906
optimize: use hash tables to reduce complexity
2025-04-03 13:30:46 +08:00
Jaffe2718
f4d1183270
cleanup & suppress unused warnings
2025-04-03 11:19:03 +08:00
Jaffe2718
170363ef35
chore: bump version
2025-04-03 11:15:03 +08:00
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
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
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