mirror of
https://github.com/Shiewk/Widgets.git
synced 2026-04-28 11:34:17 +02:00
1.21.11
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '1.11-SNAPSHOT'
|
||||
id 'fabric-loom' version '1.14-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
@@ -82,6 +82,6 @@ java {
|
||||
|
||||
jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${project.archivesBaseName}" }
|
||||
rename { "${it}_${archives_base_name}" }
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -2,14 +2,14 @@
|
||||
org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.21.9
|
||||
yarn_mappings=1.21.9+build.1
|
||||
loader_version=0.17.2
|
||||
minecraft_version=1.21.11
|
||||
yarn_mappings=1.21.11+build.4
|
||||
loader_version=0.17.3
|
||||
# Mod Properties
|
||||
mod_version=2.3.0
|
||||
maven_group=de.shiewk
|
||||
archives_base_name=Widgets
|
||||
# Dependencies
|
||||
# check this on https://modmuss50.me/fabric.html
|
||||
fabric_version=0.134.0+1.21.9
|
||||
modmenu_version=16.0.0-rc.1
|
||||
fabric_version=0.139.4+1.21.11
|
||||
modmenu_version=17.0.0-beta.1
|
||||
|
||||
@@ -111,7 +111,7 @@ public class WidgetListWidget extends ScrollableWidget {
|
||||
Click newClick = new Click(mouseX, mouseY, click.buttonInfo());
|
||||
for (Element element : elements) {
|
||||
if (element.mouseClicked(newClick, doubled)){
|
||||
client.getSoundManager().play(PositionedSoundInstance.master(SoundEvents.UI_BUTTON_CLICK, 1.0F));
|
||||
client.getSoundManager().play(PositionedSoundInstance.ui(SoundEvents.UI_BUTTON_CLICK, 1.0F));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public class WidgetUtils {
|
||||
}
|
||||
|
||||
public static void playSound(SoundEvent ev){
|
||||
MinecraftClient.getInstance().getSoundManager().play(PositionedSoundInstance.master(ev, 1f, 1f));
|
||||
MinecraftClient.getInstance().getSoundManager().play(PositionedSoundInstance.ui(ev, 1f, 1f));
|
||||
}
|
||||
|
||||
public static int fadeColor(int color1, int color2, double delta) {
|
||||
|
||||
Reference in New Issue
Block a user