mirror of
https://github.com/Shiewk/Widgets.git
synced 2026-04-28 11:34:17 +02:00
1.21.4 backport
This commit is contained in:
+4
-4
@@ -2,8 +2,8 @@
|
|||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://modmuss50.me/fabric.html
|
# check these on https://modmuss50.me/fabric.html
|
||||||
minecraft_version=1.21.5
|
minecraft_version=1.21.4
|
||||||
yarn_mappings=1.21.5+build.1
|
yarn_mappings=1.21.4+build.8
|
||||||
loader_version=0.17.2
|
loader_version=0.17.2
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=2.0.0
|
mod_version=2.0.0
|
||||||
@@ -11,5 +11,5 @@ maven_group=de.shiewk
|
|||||||
archives_base_name=Widgets
|
archives_base_name=Widgets
|
||||||
# Dependencies
|
# Dependencies
|
||||||
# check this on https://modmuss50.me/fabric.html
|
# check this on https://modmuss50.me/fabric.html
|
||||||
fabric_version=0.127.0+1.21.5
|
fabric_version=0.118.0+1.21.4
|
||||||
modmenu_version=14.0.0
|
modmenu_version=13.0.3
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ public class RGBAColorWidgetSetting extends WidgetSettingOption {
|
|||||||
MinecraftClient client = MinecraftClient.getInstance();
|
MinecraftClient client = MinecraftClient.getInstance();
|
||||||
WidgetUtils.playSound(SoundEvents.BLOCK_COPPER_BULB_TURN_ON);
|
WidgetUtils.playSound(SoundEvents.BLOCK_COPPER_BULB_TURN_ON);
|
||||||
client.setScreen(
|
client.setScreen(
|
||||||
new ChangeScreen(client.currentScreen, (int) client.mouse.getScaledX(client.getWindow()), (int) client.mouse.getScaledY(client.getWindow()))
|
new ChangeScreen(client.currentScreen, (int) (client.mouse.getX() / client.getWindow().getScaleFactor()), (int) (client.mouse.getY() / client.getWindow().getScaleFactor()))
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user