mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 07:15: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://api.modrinth.com/maven" }
|
||||
maven { url 'https://maven.quiltmc.org/repository/release'}
|
||||
flatDir {
|
||||
dirs("localMaven")
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
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.
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user