Update ObsidianUI & Fix resourcepack warning

This commit is contained in:
Martin Prokoph
2024-06-18 19:33:57 +02:00
parent 2cbe02ebb2
commit 838fab2c63
6 changed files with 8 additions and 8 deletions

View File

@@ -36,9 +36,6 @@ repositories {
maven { url 'https://jitpack.io' }
maven { url "https://api.modrinth.com/maven" }
maven { url 'https://maven.quiltmc.org/repository/release'}
flatDir {
dirs("localMaven")
}
}
configurations {

View File

@@ -19,7 +19,7 @@ curseforge_id = 621768
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.100.1+1.21
sodium_version=mc1.19.2-0.4.4
obsidianui_version=0.2.5+1.21
obsidianui_version=0.2.6+mc1.21-fabric
midnightlib_version=1.5.7-fabric
modmenu_version=10.0.0-beta.1
emotecraft_version=2.1.3-SNAPSHOT-build.29-MC1.19-fabric

Binary file not shown.

View File

@@ -36,8 +36,9 @@ public abstract class ControlsOptionsScreenMixin extends GameOptionsScreen {
@Unique TextIconButtonWidget button = TextIconButtonWidget.builder(Text.translatable("midnightcontrols.menu.title.controller"), (button -> this.client.setScreen(new MidnightControlsSettingsScreen(this, false))), true)
.dimension(20,20).texture(Identifier.of("midnightcontrols", "icon/controller"), 20, 20).build();
@Inject(at = @At("TAIL"), method = "addOptions")
public void midnightcontrols$onInit(CallbackInfo ci) {
@Override
public void init() {
super.init();
this.midnightcontrols$setupButton();
this.addDrawableChild(button);
}

View File

@@ -1,6 +1,7 @@
{
"pack": {
"pack_format": 13,
"pack_format": 15,
"supported_formats": [15, 999],
"description": "Makes controller tooltips use similar icons to Bedrock Edition"
}
}

View File

@@ -1,6 +1,7 @@
{
"pack": {
"pack_format": 13,
"pack_format": 15,
"supported_formats": [15, 999],
"description": "Makes controller icons look similar to Legacy Console Edit."
}
}