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,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."
}
}