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
This commit is contained in:
Motschen
2021-05-14 22:20:20 +02:00
parent a4be637128
commit 235042f30e
48 changed files with 563 additions and 313 deletions

0
src/main/resources/assets/midnightlib/icon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

10
src/main/resources/assets/midnightlib/lang/en_us.json Normal file → Executable file
View File

@@ -1,7 +1,13 @@
{
"midnightlib.overview.title":"MidnightConfig Overview",
"midnightlib.midnightconfig.title":"MidnightLib Config",
"midnightlib.midnightconfig.midnightlib_description":"MidnightLib",
"midnightlib.midnightconfig.config_screen_list":"Enable Config Screen List",
"midnightlib.midnightconfig.midnighthats_description":"MidnightHats",
"midnightlib.midnightconfig.event_hats":"Enable Event Hats",
"midnightlib.midnightconfig.event_hats.tooltip":"Enable or disable event hats",
"midnightlib.midnightconfig.special_hats":"Enable Special Hats",
"midnightlib.midnightconfig.special_hats.tooltip":"Enable or disable hats for contributors, friends and donors."
"midnightlib.modrinth":"Modrinth",
"midnightlib.curseforge":"CurseForge",
"modmenu.descriptionTranslation.midnightlib": "Common Library for Team MidnightDust's mods.\nProvides a config api, common utils, and cosmetics.",
"modmenu.summaryTranslation.midnightlib": "Common Library for Team MidnightDust's mods."
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 649 B

View File

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

View File

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 139 B

View File

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 621 B

View File

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

View File

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

15
src/main/resources/fabric.mod.json Normal file → Executable file
View File

@@ -4,7 +4,7 @@
"version": "${version}",
"name": "MidnightLib",
"description": "Common Library for Team MidnightDust's mods.\nProvides a config api, common utils, and cosmetics.",
"description": "Common Library for Team MidnightDust's mods.",
"authors": [
"Motschen",
"TeamMidnightDust"
@@ -21,7 +21,7 @@
"environment": "*",
"entrypoints": {
"client": [
"eu.midnightdust.hats.HatsClient"
"eu.midnightdust.core.MidnightLibClient"
],
"modmenu": [
"eu.midnightdust.hats.config.ModMenuIntegration"
@@ -29,7 +29,8 @@
},
"mixins": [
"midnight-hats.mixins.json"
"midnighthats.mixins.json",
"midnightcore.mixins.json"
],
"depends": {
@@ -37,6 +38,12 @@
},
"custom": {
"modmenu:api": true
"modmenu": {
"links": {
"modmenu.discord": "https://discord.gg/jAGnWYHm3r",
"modmenu.website": "https://www.midnightdust.eu/"
},
"badges": [ "library" ]
}
}
}

View File

@@ -0,0 +1,11 @@
{
"required": true,
"package": "eu.midnightdust.core.mixin",
"compatibilityLevel": "JAVA_8",
"client": [
"MixinOptionsScreen"
],
"injectors": {
"defaultRequire": 1
}
}