mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 23:25:10 +01:00
Update ObsidianUI & Fix resourcepack warning
This commit is contained in:
@@ -36,9 +36,6 @@ repositories {
|
|||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
maven { url "https://api.modrinth.com/maven" }
|
maven { url "https://api.modrinth.com/maven" }
|
||||||
maven { url 'https://maven.quiltmc.org/repository/release'}
|
maven { url 'https://maven.quiltmc.org/repository/release'}
|
||||||
flatDir {
|
|
||||||
dirs("localMaven")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
|||||||
@@ -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
|
# 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
|
fabric_version=0.100.1+1.21
|
||||||
sodium_version=mc1.19.2-0.4.4
|
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
|
midnightlib_version=1.5.7-fabric
|
||||||
modmenu_version=10.0.0-beta.1
|
modmenu_version=10.0.0-beta.1
|
||||||
emotecraft_version=2.1.3-SNAPSHOT-build.29-MC1.19-fabric
|
emotecraft_version=2.1.3-SNAPSHOT-build.29-MC1.19-fabric
|
||||||
|
|||||||
Binary file not shown.
@@ -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)
|
@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();
|
.dimension(20,20).texture(Identifier.of("midnightcontrols", "icon/controller"), 20, 20).build();
|
||||||
|
|
||||||
@Inject(at = @At("TAIL"), method = "addOptions")
|
@Override
|
||||||
public void midnightcontrols$onInit(CallbackInfo ci) {
|
public void init() {
|
||||||
|
super.init();
|
||||||
this.midnightcontrols$setupButton();
|
this.midnightcontrols$setupButton();
|
||||||
this.addDrawableChild(button);
|
this.addDrawableChild(button);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 13,
|
"pack_format": 15,
|
||||||
|
"supported_formats": [15, 999],
|
||||||
"description": "Makes controller tooltips use similar icons to Bedrock Edition"
|
"description": "Makes controller tooltips use similar icons to Bedrock Edition"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 13,
|
"pack_format": 15,
|
||||||
|
"supported_formats": [15, 999],
|
||||||
"description": "Makes controller icons look similar to Legacy Console Edit."
|
"description": "Makes controller icons look similar to Legacy Console Edit."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user