Compare commits
4 Commits
v0.1.2_1.2
...
v0.1.2_1.2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a2c9a3a000 | ||
![]() |
116b98edf0 | ||
![]() |
f7d3b293e7 | ||
![]() |
e402bd0749 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -13,3 +13,6 @@ run/
|
|||||||
|
|
||||||
# Gradle wrapper binaries
|
# Gradle wrapper binaries
|
||||||
gradle/wrapper/
|
gradle/wrapper/
|
||||||
|
|
||||||
|
# Remapped source file directory
|
||||||
|
remappedSrc/
|
||||||
|
@@ -6,9 +6,9 @@ org.gradle.parallel=true
|
|||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/develop
|
# check these on https://fabricmc.net/develop
|
||||||
minecraft_version=1.20
|
minecraft_version=1.20.2
|
||||||
yarn_mappings=1.20+build.1
|
yarn_mappings=1.20.2+build.4
|
||||||
loader_version=0.14.21
|
loader_version=0.14.24
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 0.1.2
|
mod_version = 0.1.2
|
||||||
@@ -16,4 +16,4 @@ maven_group = io.github.twokilohertz.hotbarreplace
|
|||||||
archives_base_name = HotbarReplace
|
archives_base_name = HotbarReplace
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.83.0+1.20
|
fabric_version=0.90.4+1.20.2
|
||||||
|
5
gradlew
vendored
5
gradlew
vendored
@@ -130,10 +130,13 @@ location of your Java installation."
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
JAVACMD=java
|
JAVACMD=java
|
||||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
if ! command -v java >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
Please set the JAVA_HOME variable in your environment to match the
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
location of your Java installation."
|
location of your Java installation."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Increase the maximum file descriptors if we can.
|
# Increase the maximum file descriptors if we can.
|
||||||
|
@@ -51,7 +51,7 @@ public class HotbarReplace implements ModInitializer {
|
|||||||
client.interactionManager.clickSlot(player.currentScreenHandler.syncId, i, GLFW.GLFW_MOUSE_BUTTON_1, SlotActionType.PICKUP, player);
|
client.interactionManager.clickSlot(player.currentScreenHandler.syncId, i, GLFW.GLFW_MOUSE_BUTTON_1, SlotActionType.PICKUP, player);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Wait 50 seconds (on another thread) before attempting to move the new stack
|
Wait 50 milliseconds (on another thread) before attempting to move the new stack
|
||||||
PlayerInventory.MAIN_SIZE added to the selected slot (hotbar slot) is the correct slot ID
|
PlayerInventory.MAIN_SIZE added to the selected slot (hotbar slot) is the correct slot ID
|
||||||
*/
|
*/
|
||||||
scheduler.schedule(() -> {
|
scheduler.schedule(() -> {
|
||||||
|
Reference in New Issue
Block a user