mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 14:44:35 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56da63010d | ||
|
|
8ff2f7a618 |
No files matched your search
@@ -27,3 +27,4 @@ whitelist.json
|
|||||||
*.iws
|
*.iws
|
||||||
src/main/resources/mixins.*.json
|
src/main/resources/mixins.*.json
|
||||||
*.bat
|
*.bat
|
||||||
|
layout.json
|
||||||
+5
-6
@@ -2,23 +2,22 @@
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.1:dev")
|
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.1:dev")
|
||||||
implementation("com.github.GTNewHorizons:CodeChickenLib:1.3.0:dev")
|
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.38-GTNH:dev")
|
||||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.18-GTNH:dev")
|
implementation("com.github.GTNewHorizons:ForgeMultipart:1.6.2:dev")
|
||||||
implementation("com.github.GTNewHorizons:ForgeMultipart:1.6.2:dev")
|
|
||||||
|
|
||||||
compileOnly("org.projectlombok:lombok:1.18.24")
|
compileOnly("org.projectlombok:lombok:1.18.24")
|
||||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
||||||
|
|
||||||
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.8.2:dev") {
|
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.8.4:dev") {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.2.1-GTNH:dev")
|
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.2-GTNH:dev")
|
||||||
|
|
||||||
compileOnly("curse.maven:ee3-65509:2305023") { // https://www.curseforge.com/minecraft/mc-mods/ee3/files/2305023
|
compileOnly("curse.maven:ee3-65509:2305023") { // https://www.curseforge.com/minecraft/mc-mods/ee3/files/2305023
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta28:api") {
|
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta40:api") {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -14,7 +14,7 @@ modId = chisel
|
|||||||
modGroup = com.cricketcraft.chisel
|
modGroup = com.cricketcraft.chisel
|
||||||
|
|
||||||
# Whether to use modGroup as the maven publishing group.
|
# Whether to use modGroup as the maven publishing group.
|
||||||
# Due to a history of using JitPack, the default is com.github.GTNewHorizons for all mods.
|
# When false, com.github.GTNewHorizons is used.
|
||||||
useModGroupForPublishing = false
|
useModGroupForPublishing = false
|
||||||
|
|
||||||
# Updates your build.gradle and settings.gradle automatically whenever an update is available.
|
# Updates your build.gradle and settings.gradle automatically whenever an update is available.
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -86,8 +86,7 @@ done
|
|||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
APP_BASE_NAME=${0##*/}
|
APP_BASE_NAME=${0##*/}
|
||||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||||
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
||||||
' "$PWD" ) || exit
|
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD=maximum
|
MAX_FD=maximum
|
||||||
@@ -206,7 +205,7 @@ fi
|
|||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Collect all arguments for the java command:
|
# Collect all arguments for the java command:
|
||||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||||
# and any embedded shellness will be escaped.
|
# and any embedded shellness will be escaped.
|
||||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||||
# treated as '${Hostname}' itself on the command line.
|
# treated as '${Hostname}' itself on the command line.
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.31'
|
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.38'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -96,6 +96,7 @@ public class ContainerChisel extends Container {
|
|||||||
itemstack = itemstack1.copy();
|
itemstack = itemstack1.copy();
|
||||||
|
|
||||||
if (slotIdx > InventoryChiselSelection.normalSlots) {
|
if (slotIdx > InventoryChiselSelection.normalSlots) {
|
||||||
|
// clicked in player inventory
|
||||||
if (!this.mergeItemStack(
|
if (!this.mergeItemStack(
|
||||||
itemstack1,
|
itemstack1,
|
||||||
InventoryChiselSelection.normalSlots,
|
InventoryChiselSelection.normalSlots,
|
||||||
@@ -104,10 +105,13 @@ public class ContainerChisel extends Container {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
entity.inventory.setItemStack(itemstack1.copy());
|
// only run this logic if a chisel selection slot was clicked (i.e. not the input slot)
|
||||||
slot.onPickupFromSlot(entity, itemstack1);
|
if (slotIdx != InventoryChiselSelection.normalSlots) {
|
||||||
itemstack1 = entity.inventory.getItemStack();
|
entity.inventory.setItemStack(itemstack1.copy());
|
||||||
entity.inventory.setItemStack(null);
|
slot.onPickupFromSlot(entity, itemstack1);
|
||||||
|
itemstack1 = entity.inventory.getItemStack();
|
||||||
|
entity.inventory.setItemStack(null);
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.mergeItemStack(
|
if (!this.mergeItemStack(
|
||||||
itemstack1,
|
itemstack1,
|
||||||
|
|||||||
Reference in new issue
Block a user