mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-15 17:05:09 +01:00
stonecutter: fix crash w/o ModMenu, optimize assets
This commit is contained in:
@@ -7,7 +7,7 @@ org.gradle.parallel=false
|
||||
#org.gradle.configureondemand=true
|
||||
|
||||
# Mod properties
|
||||
mod.version=1.9.0-beta.2
|
||||
mod.version=1.9.0-beta.3
|
||||
mod.group=eu.midnightdust
|
||||
mod.id=midnightlib
|
||||
mod.name=MidnightLib
|
||||
|
||||
@@ -21,7 +21,7 @@ import com.terraformersmc.modmenu.api.ModMenuApi;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class MidnightLib implements ClientModInitializer, ModMenuApi {
|
||||
public class MidnightLib implements ClientModInitializer {
|
||||
//?} else if neoforge {
|
||||
/*import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
||||
import eu.midnightdust.lib.config.AutoCommand;
|
||||
@@ -76,9 +76,10 @@ public class MidnightLib {
|
||||
}
|
||||
|
||||
//? if fabric {
|
||||
public static class ModMenuInit implements ModMenuApi {
|
||||
@Override
|
||||
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||
return parent -> MidnightLibConfig.getScreen(parent,MOD_ID);
|
||||
return parent -> MidnightLibConfig.getScreen(parent, MOD_ID);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -90,6 +91,7 @@ public class MidnightLib {
|
||||
});
|
||||
return map;
|
||||
}
|
||||
}
|
||||
//?}
|
||||
|
||||
/*? if neoforge {*/
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric==1.20.1
|
||||
mod.mc_dep_fabric=>=1.20 <=1.20.1
|
||||
mod.mc_dep_forgelike=[1.20, 1.20.1]
|
||||
mod.mc_title=1.20.1
|
||||
mod.mc_targets=1.20.1
|
||||
mod.mc_targets=1.20 1.20.1
|
||||
|
||||
deps.forge_loader=47.3.0
|
||||
deps.neoforge_loader=[UNSUPPORTED]
|
||||
|
||||
@@ -29,12 +29,12 @@
|
||||
"eu.midnightdust.core.MidnightLib"
|
||||
],
|
||||
"modmenu": [
|
||||
"eu.midnightdust.core.MidnightLib"
|
||||
"eu.midnightdust.core.MidnightLib\$ModMenuInit"
|
||||
]
|
||||
},
|
||||
"depends": {
|
||||
"fabric-resource-loader-v0": "*",
|
||||
"minecraft": "*"
|
||||
"minecraft": "${minecraft}"
|
||||
},
|
||||
|
||||
"mixins": [
|
||||
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric==1.20.1
|
||||
mod.mc_dep_fabric=>=1.20 <=1.20.1
|
||||
mod.mc_dep_forgelike=[1.20, 1.20.1]
|
||||
mod.mc_title=1.20.1
|
||||
mod.mc_targets=1.20.1
|
||||
mod.mc_targets=1.20 1.20.1
|
||||
|
||||
deps.forge_loader=47.3.0
|
||||
deps.neoforge_loader=[UNSUPPORTED]
|
||||
|
||||
@@ -26,6 +26,6 @@ side = "BOTH"
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.20,)"
|
||||
versionRange = "${minecraft}"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
BIN
versions/1.20.1-forge/src/main/resources/midnightlib.png
Normal file
BIN
versions/1.20.1-forge/src/main/resources/midnightlib.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
54
versions/1.21.1-fabric/src/main/resources/fabric.mod.json
Normal file
54
versions/1.21.1-fabric/src/main/resources/fabric.mod.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "${id}",
|
||||
"version": "${version}",
|
||||
"name": "${name}",
|
||||
"description": "Lightweight config library with config screens and commands.",
|
||||
"authors": [
|
||||
"Motschen"
|
||||
],
|
||||
"contributors": [
|
||||
"maloryware",
|
||||
"Jaffe2718"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://www.midnightdust.eu/",
|
||||
"sources": "https://github.com/TeamMidnightDust/MidnightLib",
|
||||
"issues": "https://github.com/TeamMidnightDust/MidnightLib/issues"
|
||||
},
|
||||
|
||||
"license": "MIT",
|
||||
"icon": "assets/midnightlib/icon.png",
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"server": [
|
||||
"eu.midnightdust.lib.config.AutoCommand"
|
||||
],
|
||||
"client": [
|
||||
"eu.midnightdust.core.MidnightLib"
|
||||
],
|
||||
"modmenu": [
|
||||
"eu.midnightdust.core.MidnightLib\$ModMenuInit"
|
||||
]
|
||||
},
|
||||
"depends": {
|
||||
"fabric-resource-loader-v0": "*",
|
||||
"minecraft": "${minecraft}"
|
||||
},
|
||||
|
||||
"mixins": [
|
||||
"midnightlib.mixins.json"
|
||||
],
|
||||
|
||||
"custom": {
|
||||
"modmenu": {
|
||||
"links": {
|
||||
"modmenu.discord": "http://discord.midnightdust.eu/",
|
||||
"modmenu.website": "https://midnightdust.eu/midnightlib",
|
||||
"midnightlib.wiki": "https://midnightdust.eu/wiki/midnightlib"
|
||||
},
|
||||
"badges": [ "library" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,6 @@ side = "BOTH"
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.20.5,)"
|
||||
versionRange = "${minecraft}"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
BIN
versions/1.21.1-neoforge/src/main/resources/midnightlib.png
Normal file
BIN
versions/1.21.1-neoforge/src/main/resources/midnightlib.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric=>=1.21.9
|
||||
mod.mc_dep_forgelike=[1.21.10,)
|
||||
mod.mc_dep_forgelike=[1.21.9,)
|
||||
mod.mc_title=1.21.10
|
||||
mod.mc_targets=1.21.9, 1.21.10
|
||||
mod.mc_targets=1.21.9 1.21.10
|
||||
|
||||
deps.forge_loader=0
|
||||
deps.neoforge_loader=21.10.47-beta
|
||||
|
||||
54
versions/1.21.10-fabric/src/main/resources/fabric.mod.json
Normal file
54
versions/1.21.10-fabric/src/main/resources/fabric.mod.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "${id}",
|
||||
"version": "${version}",
|
||||
"name": "${name}",
|
||||
"description": "Lightweight config library with config screens and commands.",
|
||||
"authors": [
|
||||
"Motschen"
|
||||
],
|
||||
"contributors": [
|
||||
"maloryware",
|
||||
"Jaffe2718"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://www.midnightdust.eu/",
|
||||
"sources": "https://github.com/TeamMidnightDust/MidnightLib",
|
||||
"issues": "https://github.com/TeamMidnightDust/MidnightLib/issues"
|
||||
},
|
||||
|
||||
"license": "MIT",
|
||||
"icon": "assets/midnightlib/icon.png",
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"server": [
|
||||
"eu.midnightdust.lib.config.AutoCommand"
|
||||
],
|
||||
"client": [
|
||||
"eu.midnightdust.core.MidnightLib"
|
||||
],
|
||||
"modmenu": [
|
||||
"eu.midnightdust.core.MidnightLib\$ModMenuInit"
|
||||
]
|
||||
},
|
||||
"depends": {
|
||||
"fabric-resource-loader-v0": "*",
|
||||
"minecraft": "${minecraft}"
|
||||
},
|
||||
|
||||
"mixins": [
|
||||
"midnightlib.mixins.json"
|
||||
],
|
||||
|
||||
"custom": {
|
||||
"modmenu": {
|
||||
"links": {
|
||||
"modmenu.discord": "http://discord.midnightdust.eu/",
|
||||
"modmenu.website": "https://midnightdust.eu/midnightlib",
|
||||
"midnightlib.wiki": "https://midnightdust.eu/wiki/midnightlib"
|
||||
},
|
||||
"badges": [ "library" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric=>=1.21.9
|
||||
mod.mc_dep_forgelike=[1.21.10,)
|
||||
mod.mc_dep_forgelike=[1.21.9,)
|
||||
mod.mc_title=1.21.10
|
||||
mod.mc_targets=1.21.9, 1.21.10
|
||||
mod.mc_targets=1.21.9 1.21.10
|
||||
|
||||
deps.forge_loader=0
|
||||
deps.neoforge_loader=21.10.47-beta
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[2,)"
|
||||
#issueTrackerURL = ""
|
||||
license = "MIT License"
|
||||
|
||||
[[mods]]
|
||||
modId = "midnightlib"
|
||||
version = "${version}"
|
||||
displayName = "${name}"
|
||||
logoFile = "midnightlib.png"
|
||||
authors = "TeamMidnightDust, Motschen"
|
||||
description = '''
|
||||
Lightweight config library with config screens and commands.
|
||||
'''
|
||||
|
||||
[[mixins]]
|
||||
config = "midnightlib.mixins.json"
|
||||
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "neoforge"
|
||||
mandatory = true
|
||||
versionRange = "[20.5,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "${minecraft}"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
BIN
versions/1.21.10-neoforge/src/main/resources/midnightlib.png
Normal file
BIN
versions/1.21.10-neoforge/src/main/resources/midnightlib.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric==1.21.5
|
||||
mod.mc_dep_forgelike=[1.21.5]
|
||||
mod.mc_dep_fabric=>=1.21.4 <=1.21.5
|
||||
mod.mc_dep_forgelike=[1.21.4, 1.21.5]
|
||||
mod.mc_title=1.21.5
|
||||
mod.mc_targets=1.21.5
|
||||
mod.mc_targets=1.21.4 1.21.5
|
||||
|
||||
deps.forge_loader=54.0.13
|
||||
deps.neoforge_loader=21.4.47-beta
|
||||
|
||||
54
versions/1.21.5-fabric/src/main/resources/fabric.mod.json
Normal file
54
versions/1.21.5-fabric/src/main/resources/fabric.mod.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "${id}",
|
||||
"version": "${version}",
|
||||
"name": "${name}",
|
||||
"description": "Lightweight config library with config screens and commands.",
|
||||
"authors": [
|
||||
"Motschen"
|
||||
],
|
||||
"contributors": [
|
||||
"maloryware",
|
||||
"Jaffe2718"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://www.midnightdust.eu/",
|
||||
"sources": "https://github.com/TeamMidnightDust/MidnightLib",
|
||||
"issues": "https://github.com/TeamMidnightDust/MidnightLib/issues"
|
||||
},
|
||||
|
||||
"license": "MIT",
|
||||
"icon": "assets/midnightlib/icon.png",
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"server": [
|
||||
"eu.midnightdust.lib.config.AutoCommand"
|
||||
],
|
||||
"client": [
|
||||
"eu.midnightdust.core.MidnightLib"
|
||||
],
|
||||
"modmenu": [
|
||||
"eu.midnightdust.core.MidnightLib\$ModMenuInit"
|
||||
]
|
||||
},
|
||||
"depends": {
|
||||
"fabric-resource-loader-v0": "*",
|
||||
"minecraft": "${minecraft}"
|
||||
},
|
||||
|
||||
"mixins": [
|
||||
"midnightlib.mixins.json"
|
||||
],
|
||||
|
||||
"custom": {
|
||||
"modmenu": {
|
||||
"links": {
|
||||
"modmenu.discord": "http://discord.midnightdust.eu/",
|
||||
"modmenu.website": "https://midnightdust.eu/midnightlib",
|
||||
"midnightlib.wiki": "https://midnightdust.eu/wiki/midnightlib"
|
||||
},
|
||||
"badges": [ "library" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric==1.21.5
|
||||
mod.mc_dep_forgelike=[1.21.5]
|
||||
mod.mc_dep_fabric=>=1.21.4 <=1.21.5
|
||||
mod.mc_dep_forgelike=[1.21.4, 1.21.5]
|
||||
mod.mc_title=1.21.5
|
||||
mod.mc_targets=1.21.5
|
||||
mod.mc_targets=1.21.4 1.21.5
|
||||
|
||||
deps.forge_loader=0
|
||||
deps.neoforge_loader=21.5.54-beta
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[2,)"
|
||||
#issueTrackerURL = ""
|
||||
license = "MIT License"
|
||||
|
||||
[[mods]]
|
||||
modId = "midnightlib"
|
||||
version = "${version}"
|
||||
displayName = "${name}"
|
||||
logoFile = "midnightlib.png"
|
||||
authors = "TeamMidnightDust, Motschen"
|
||||
description = '''
|
||||
Lightweight config library with config screens and commands.
|
||||
'''
|
||||
|
||||
[[mixins]]
|
||||
config = "midnightlib.mixins.json"
|
||||
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "neoforge"
|
||||
mandatory = true
|
||||
versionRange = "[20.5,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "${minecraft}"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
BIN
versions/1.21.5-neoforge/src/main/resources/midnightlib.png
Normal file
BIN
versions/1.21.5-neoforge/src/main/resources/midnightlib.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric==1.21.8
|
||||
mod.mc_dep_forgelike=[1.21.8]
|
||||
mod.mc_dep_fabric=>=1.21.6 <=1.21.8
|
||||
mod.mc_dep_forgelike=[1.21.6, 1.21.8]
|
||||
mod.mc_title=1.21.8
|
||||
mod.mc_targets=1.21.8
|
||||
mod.mc_targets=1.21.6 1.21.7 1.21.8
|
||||
|
||||
deps.forge_loader=0
|
||||
deps.neoforge_loader=21.8.50
|
||||
|
||||
54
versions/1.21.8-fabric/src/main/resources/fabric.mod.json
Normal file
54
versions/1.21.8-fabric/src/main/resources/fabric.mod.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "${id}",
|
||||
"version": "${version}",
|
||||
"name": "${name}",
|
||||
"description": "Lightweight config library with config screens and commands.",
|
||||
"authors": [
|
||||
"Motschen"
|
||||
],
|
||||
"contributors": [
|
||||
"maloryware",
|
||||
"Jaffe2718"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://www.midnightdust.eu/",
|
||||
"sources": "https://github.com/TeamMidnightDust/MidnightLib",
|
||||
"issues": "https://github.com/TeamMidnightDust/MidnightLib/issues"
|
||||
},
|
||||
|
||||
"license": "MIT",
|
||||
"icon": "assets/midnightlib/icon.png",
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"server": [
|
||||
"eu.midnightdust.lib.config.AutoCommand"
|
||||
],
|
||||
"client": [
|
||||
"eu.midnightdust.core.MidnightLib"
|
||||
],
|
||||
"modmenu": [
|
||||
"eu.midnightdust.core.MidnightLib\$ModMenuInit"
|
||||
]
|
||||
},
|
||||
"depends": {
|
||||
"fabric-resource-loader-v0": "*",
|
||||
"minecraft": "${minecraft}"
|
||||
},
|
||||
|
||||
"mixins": [
|
||||
"midnightlib.mixins.json"
|
||||
],
|
||||
|
||||
"custom": {
|
||||
"modmenu": {
|
||||
"links": {
|
||||
"modmenu.discord": "http://discord.midnightdust.eu/",
|
||||
"modmenu.website": "https://midnightdust.eu/midnightlib",
|
||||
"midnightlib.wiki": "https://midnightdust.eu/wiki/midnightlib"
|
||||
},
|
||||
"badges": [ "library" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
mod.mc_dep_fabric==1.21.5
|
||||
mod.mc_dep_forgelike=[1.21.5]
|
||||
mod.mc_title=1.21.5
|
||||
mod.mc_targets=1.21.5
|
||||
mod.mc_dep_fabric=>=1.21.6 <=1.21.8
|
||||
mod.mc_dep_forgelike=[1.21.6, 1.21.8]
|
||||
mod.mc_title=1.21.8
|
||||
mod.mc_targets=1.21.6 1.21.7 1.21.8
|
||||
|
||||
deps.forge_loader=0
|
||||
deps.neoforge_loader=21.8.50
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[2,)"
|
||||
#issueTrackerURL = ""
|
||||
license = "MIT License"
|
||||
|
||||
[[mods]]
|
||||
modId = "midnightlib"
|
||||
version = "${version}"
|
||||
displayName = "${name}"
|
||||
logoFile = "midnightlib.png"
|
||||
authors = "TeamMidnightDust, Motschen"
|
||||
description = '''
|
||||
Lightweight config library with config screens and commands.
|
||||
'''
|
||||
|
||||
[[mixins]]
|
||||
config = "midnightlib.mixins.json"
|
||||
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "neoforge"
|
||||
mandatory = true
|
||||
versionRange = "[20.5,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.midnightlib]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "${minecraft}"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
BIN
versions/1.21.8-neoforge/src/main/resources/midnightlib.png
Normal file
BIN
versions/1.21.8-neoforge/src/main/resources/midnightlib.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
Reference in New Issue
Block a user