Compare commits

..
Author SHA1 Message Date
Martin Robertz d97b462cdc Merge remote-tracking branch 'SST-03/patch-1' into dev
# Conflicts:
#	dependencies.gradle
2025-10-02 01:15:23 +02:00
SST-03 7ce76d77cd Update TileEntityApimancersDrainerCommon.java 2025-09-29 17:03:38 +08:00
SST-03 b4da6ce38f Update dependencies.gradle 2025-09-29 16:30:04 +08:00
SST-03 49a39bbd6c Update settings.gradle 2025-09-29 16:15:29 +08:00
SST-03 5c0169b7ea Update TileEntityApimancersDrainerCommon.java 2025-09-29 15:51:56 +08:00
9 changed files with 19 additions and 30 deletions

No files matched your search

+6 -6
View File
@@ -1,14 +1,14 @@
// Add your dependencies here
dependencies {
api('com.github.GTNewHorizons:ForestryMC:4.11.2:dev')
api('com.github.GTNewHorizons:ForestryMC:4.10.17:dev')
compileOnly('com.github.GTNewHorizons:BloodMagic:1.8.5:dev')
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.8.4:dev')
compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.2.2-GTNH:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.13.4-GTNH:api') {transitive = false}
compileOnly('com.github.GTNewHorizons:BloodMagic:1.8.0:dev')
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.7.8:dev')
compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.2.0-GTNH:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Botania:1.13.1-GTNH:api') {transitive = false}
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.97:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.02:dev')
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.7.14-GTNH:dev')
}
+1 -9
View File
@@ -96,9 +96,7 @@ usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -174,12 +172,6 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
customArchiveBaseName = magicbees
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server
# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+2 -2
View File
@@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH="\\\"\\\""
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
org.gradle.wrapper.GradleWrapperMain \
"$@"
# Stop when "xargs" is not available.
Vendored
+2 -2
View File
@@ -70,11 +70,11 @@ goto fail
:execute
@rem Setup the command line
set CLASSPATH=
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.48'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.43'
}
@@ -159,7 +159,7 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
if (this.essentia.getAmount(tag) >= amount) {
this.essentia.reduce(tag, amount);
this.essentia.remove(tag, amount);
return true;
}
return false;
@@ -177,7 +177,7 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
}
if (hasIt) {
for (Aspect next : ot.aspects.keySet()) {
essentia.reduce(next, ot.getAmount(next));
essentia.remove(next, ot.getAmount(next));
}
return true;
}
@@ -224,12 +224,10 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
if (!this.worldObj.isRemote) {
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
if (amount > this.essentia.getAmount(aspect)) {
int total = this.essentia.getAmount(aspect);
this.essentia.reduce(aspect, total);
return total;
}
this.essentia.reduce(aspect, amount);
int total = this.essentia.getAmount(aspect);
this.essentia.remove(aspect, amount); // if amount >= total then it will also remove aspect.
if (amount > total) return total;
return amount;
}
return 0;
@@ -641,7 +641,6 @@ classification.botanical=Botanical
classification.botanical.description=A peculiar variant of mundane bees, they seem to have a hightened affinity for flowers.|Apinomicon
tc.aspect.tempus=Time, Moment, Eternity
tc.aspect.help.tempus=the flow of time
tc.research_category.MAGICBEES=Apimancy