mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-15 09:05:08 +01:00
MidnightLib 1.4.1 - Fix tabs & Re-enable Quilt and Forge
- Fix tabs not being visible - Re-enable Forge and Quilt support - Fix #28
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -16,4 +16,5 @@ classes/
|
|||||||
.metadata
|
.metadata
|
||||||
.vscode
|
.vscode
|
||||||
.settings
|
.settings
|
||||||
*.launch
|
*.launch
|
||||||
|
.architectury-transformer/debug.log
|
||||||
|
|||||||
@@ -214,7 +214,6 @@ public abstract class MidnightConfig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
tabNavigation = TabNavigationWidget.builder(tabManager, this.width).tabs(tabs.values().toArray(new Tab[0])).build();
|
tabNavigation = TabNavigationWidget.builder(tabManager, this.width).tabs(tabs.values().toArray(new Tab[0])).build();
|
||||||
if (tabs.size() > 1) this.addDrawableChild(tabNavigation);
|
|
||||||
tabNavigation.selectTab(0, false);
|
tabNavigation.selectTab(0, false);
|
||||||
tabNavigation.init();
|
tabNavigation.init();
|
||||||
prevTab = tabManager.getCurrentTab();
|
prevTab = tabManager.getCurrentTab();
|
||||||
@@ -276,6 +275,9 @@ public abstract class MidnightConfig {
|
|||||||
@Override
|
@Override
|
||||||
public void init() {
|
public void init() {
|
||||||
super.init();
|
super.init();
|
||||||
|
tabNavigation.setWidth(this.width);
|
||||||
|
tabNavigation.init();
|
||||||
|
if (tabs.size() > 1) this.addDrawableChild(tabNavigation);
|
||||||
|
|
||||||
this.addDrawableChild(ButtonWidget.builder(ScreenTexts.CANCEL, button -> {
|
this.addDrawableChild(ButtonWidget.builder(ScreenTexts.CANCEL, button -> {
|
||||||
loadValues();
|
loadValues();
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
org.gradle.jvmargs=-Xmx4096M
|
org.gradle.jvmargs=-Xmx4096M
|
||||||
|
|
||||||
minecraft_version=1.20-pre4
|
minecraft_version=1.20
|
||||||
yarn_mappings=1.20-pre4+build.4
|
yarn_mappings=1.20+build.1
|
||||||
enabled_platforms=fabric
|
enabled_platforms=quilt,fabric,forge
|
||||||
|
|
||||||
archives_base_name=midnightlib
|
archives_base_name=midnightlib
|
||||||
mod_version=1.4.0
|
mod_version=1.4.1
|
||||||
maven_group=eu.midnightdust
|
maven_group=eu.midnightdust
|
||||||
|
|
||||||
fabric_loader_version=0.14.19
|
fabric_loader_version=0.14.21
|
||||||
fabric_api_version=0.81.2+1.20
|
fabric_api_version=0.83.0+1.20
|
||||||
|
|
||||||
forge_version=1.19.4-45.0.40
|
forge_version=1.20-46.0.2
|
||||||
|
|
||||||
quilt_loader_version=0.19.0-beta.13
|
quilt_loader_version=0.19.0-beta.18
|
||||||
quilt_fabric_api_version=6.0.0-beta.2+0.76.0-1.19.4
|
quilt_fabric_api_version=7.0.1+0.83.0-1.20
|
||||||
mod_menu_version = 5.0.2
|
mod_menu_version = 7.0.1
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": "MidnightLib (Quilt)",
|
"name": "MidnightLib (Quilt)",
|
||||||
"description": "Common Library for Team MidnightDust's mods.\nProvides a config api, automatic integration with other mods, common utils, and cosmetics.",
|
"description": "Common Library for Team MidnightDust's mods. Provides a config api, automatic integration with other mods, common utils, and cosmetics.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"contributors": {
|
"contributors": {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ pluginManagement {
|
|||||||
include("common")
|
include("common")
|
||||||
include("fabric-like")
|
include("fabric-like")
|
||||||
include("fabric")
|
include("fabric")
|
||||||
//include("quilt")
|
include("quilt")
|
||||||
//include("forge")
|
include("forge")
|
||||||
|
|
||||||
rootProject.name = "midnightlib"
|
rootProject.name = "midnightlib"
|
||||||
|
|||||||
Reference in New Issue
Block a user