Update to 1.21.4

This commit is contained in:
YoungSoulluoS authored and MrMelon54 committed 2025-03-09 23:42:49 +00:00
1 parent edfb2dae9f
commit fe7bf34fa4
5 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "1.7-SNAPSHOT" apply false
id "dev.architectury.loom" version "1.9-SNAPSHOT" apply false
id "io.github.pacifistmc.forgix" version "1.2.9"
id "org.ajoberstar.grgit" version "5.3.0"
}
@@ -19,7 +19,7 @@ import org.spongepowered.asm.mixin.Unique;
@Environment(EnvType.CLIENT)
public abstract class TransferableSelectionListMixin extends ObjectSelectionList<TransferableSelectionList.PackEntry> implements DragList<PackSelectionModel.Entry, TransferableSelectionList.PackEntry> {
@Shadow
protected abstract int getScrollbarPosition();
protected abstract int scrollBarX();
@Unique
private final DragManager<PackSelectionModel.Entry, TransferableSelectionList.PackEntry> draggable_lists$dragManager = new DragManager<>(this);
@@ -35,7 +35,7 @@ public abstract class TransferableSelectionListMixin extends ObjectSelectionList
@Unique
private boolean draggable_lists$isMouseOverScrollbar(double mouseX) {
return scrollbarVisible() && mouseX >= getScrollbarPosition();
return scrollbarVisible() && mouseX >= scrollBarX();
}
@Override
@@ -126,7 +126,7 @@ public abstract class TransferableSelectionListMixin extends ObjectSelectionList
@Override
public double draggable_lists$getScrollAmount() {
return getScrollAmount();
return scrollAmount();
}
@Override
@@ -127,7 +127,7 @@ public abstract class ServerSelectionListMixin extends ObjectSelectionList<Serve
}
public double draggable_lists$getScrollAmount() {
return getScrollAmount();
return scrollAmount();
}
public void draggable_lists$setScrollAmount(double v) {
+8 -8
View File
@@ -1,25 +1,25 @@
org.gradle.jvmargs=-Xmx4096M
minecraft_version=1.21.3
minecraft_version=1.21.4
enabled_platforms=quilt,fabric,neoforge
archives_base_name=draggable_lists
mod_id=draggable_lists
mod_name=Draggable Lists
mod_version=1.0.9
mod_version=1.0.10
mod_description=Draggable resource packs, datapacks, servers and worlds
maven_group=com.mrmelon54.DraggableLists
architectury_version=14.0.4
architectury_version=15.0.1
fabric_loader_version=0.16.9
fabric_api_version=0.107.3+1.21.3
fabric_loader_version=0.16.10
fabric_api_version=0.118.0+1.21.4
neoforge_version=21.3.65
neoforge_version=21.4.109-beta
quilt_loader_version=0.28.0-beta.7
quilt_qsl_version=9.0.0-alpha.1+1.20.6
quilt_fabric_api_version=10.0.0-alpha.3+0.100.4-1.20.6
cloth_config_version=16.0.141
modmenu_version=12.0.0
cloth_config_version=17.0.142
modmenu_version=13.0.0
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME