Commit Graph

119 Commits

Author SHA1 Message Date
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
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