mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-27 15:33:15 +00:00
Compare commits
7
Commits
2.5.0
...
2.5.2-GTNH
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e2543027d | ||
|
|
74afd10913 | ||
|
|
1ef16b4dba | ||
|
|
c1cc32b2f6 | ||
|
|
451f183e83 | ||
|
|
bff3c669bf | ||
|
|
6c28a687ab |
No files matched your search
+75
@@ -26,3 +26,78 @@ usernamecache.json
|
|||||||
options.txt
|
options.txt
|
||||||
asm
|
asm
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
## gradle
|
||||||
|
/.gradle
|
||||||
|
/build
|
||||||
|
|
||||||
|
## ForgeGradle
|
||||||
|
/run
|
||||||
|
|
||||||
|
## eclipse
|
||||||
|
/.settings
|
||||||
|
/.metadata
|
||||||
|
/.classpath
|
||||||
|
/.project
|
||||||
|
/eclipse
|
||||||
|
/bin
|
||||||
|
|
||||||
|
## intellij
|
||||||
|
/out
|
||||||
|
/.idea
|
||||||
|
/atlassian-ide-plugin.xml
|
||||||
|
/*.ipr
|
||||||
|
/*.iws
|
||||||
|
/*.iml
|
||||||
|
|
||||||
|
## Private Stuffs
|
||||||
|
/private.properties
|
||||||
|
|
||||||
|
## Jars
|
||||||
|
*.jar
|
||||||
|
!/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
|
### OSX (adds a lot of garbage)###
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
# Icon
|
||||||
|
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
*.bat
|
||||||
|
LICENSE*
|
||||||
|
forge*
|
||||||
|
CREDITS*
|
||||||
|
MinecraftForge*
|
||||||
|
README.txt
|
||||||
|
*.psd
|
||||||
|
*.pdn
|
||||||
|
|
||||||
|
/src/main/resources/assets/thaumcraft
|
||||||
|
|
||||||
|
##API
|
||||||
|
/src/api
|
||||||
|
/models
|
||||||
+8
-4
@@ -20,9 +20,9 @@ repositories {
|
|||||||
name = "forestry"
|
name = "forestry"
|
||||||
url = "http://maven.ic2.player.to/"
|
url = "http://maven.ic2.player.to/"
|
||||||
}
|
}
|
||||||
ivy {
|
ivy {
|
||||||
name "Thaumcraft"
|
name "Thaumcraft"
|
||||||
artifactPattern "https://dl.dropboxusercontent.com/u/47135879/[module]-deobf-${project.version_mc}-[revision].[ext]"
|
artifactPattern "http://downloads.gtnewhorizons.com/Mods_for_Jenkins/[module]-deobf-${project.version_mc}-[revision].[ext]"
|
||||||
}
|
}
|
||||||
//ivy {
|
//ivy {
|
||||||
// name "Botania"
|
// name "Botania"
|
||||||
@@ -52,8 +52,8 @@ dependencies {
|
|||||||
compile "net.sengir.forestry:forestry_${project.version_mc}:${project.version_forestry}:api"
|
compile "net.sengir.forestry:forestry_${project.version_mc}:${project.version_forestry}:api"
|
||||||
runtime "net.sengir.forestry:forestry_${project.version_mc}:${project.version_forestry}:dev"
|
runtime "net.sengir.forestry:forestry_${project.version_mc}:${project.version_forestry}:dev"
|
||||||
//compile name: 'Botania', version: "${project.version_botania}", ext: 'jar'
|
//compile name: 'Botania', version: "${project.version_botania}", ext: 'jar'
|
||||||
compile name: 'Baubles', version: "${project.version_baubles}", ext: 'jar'
|
//compile name: 'Baubles', version: "${project.version_baubles}", ext: 'jar'
|
||||||
compile name: 'Thaumcraft', version: "${project.version_thaumcraft}", ext: 'jar'
|
//compile name: 'Thaumcraft', version: "${project.version_thaumcraft}", ext: 'jar'
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources
|
processResources
|
||||||
@@ -87,5 +87,9 @@ task deobfJar(type: Jar) { // Generate deobfuscated
|
|||||||
classifier = 'deobf'
|
classifier = 'deobf'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
artifacts {
|
||||||
|
archives deobfJar
|
||||||
|
}
|
||||||
|
|
||||||
task fullBuild(dependsOn: ['build', 'deobfJar']) {
|
task fullBuild(dependsOn: ['build', 'deobfJar']) {
|
||||||
}
|
}
|
||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
version_major=2
|
version_major=2
|
||||||
version_minor=4
|
version_minor=5
|
||||||
version_rev=4
|
version_rev=2
|
||||||
|
|
||||||
version_forestry=4.2.+
|
version_forestry=4.2.+
|
||||||
version_botania=r1.8-248
|
version_botania=r1.8-248
|
||||||
@@ -8,4 +8,4 @@ version_baubles=1.0.1.10
|
|||||||
version_thaumcraft=4.2.3.5
|
version_thaumcraft=4.2.3.5
|
||||||
|
|
||||||
version_mc=1.7.10
|
version_mc=1.7.10
|
||||||
version_forge=10.13.4.1566-1.7.10
|
version_forge=10.13.4.1614-1.7.10
|
||||||
Vendored
BIN
Binary file not shown.
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
#Wed Jul 02 15:54:47 CDT 2014
|
#Sat Jan 04 01:56:22 CET 2020
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip
|
||||||
@@ -6,12 +6,30 @@
|
|||||||
##
|
##
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
# Attempt to set APP_HOME
|
||||||
DEFAULT_JVM_OPTS=""
|
# Resolve links: $0 may be a link
|
||||||
|
PRG="$0"
|
||||||
|
# Need this for relative symlinks.
|
||||||
|
while [ -h "$PRG" ] ; do
|
||||||
|
ls=`ls -ld "$PRG"`
|
||||||
|
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||||
|
if expr "$link" : '/.*' > /dev/null; then
|
||||||
|
PRG="$link"
|
||||||
|
else
|
||||||
|
PRG=`dirname "$PRG"`"/$link"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
SAVED="`pwd`"
|
||||||
|
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||||
|
APP_HOME="`pwd -P`"
|
||||||
|
cd "$SAVED" >/dev/null
|
||||||
|
|
||||||
APP_NAME="Gradle"
|
APP_NAME="Gradle"
|
||||||
APP_BASE_NAME=`basename "$0"`
|
APP_BASE_NAME=`basename "$0"`
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS=""
|
||||||
|
|
||||||
# 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"
|
||||||
|
|
||||||
@@ -30,6 +48,7 @@ die ( ) {
|
|||||||
cygwin=false
|
cygwin=false
|
||||||
msys=false
|
msys=false
|
||||||
darwin=false
|
darwin=false
|
||||||
|
nonstop=false
|
||||||
case "`uname`" in
|
case "`uname`" in
|
||||||
CYGWIN* )
|
CYGWIN* )
|
||||||
cygwin=true
|
cygwin=true
|
||||||
@@ -40,31 +59,11 @@ case "`uname`" in
|
|||||||
MINGW* )
|
MINGW* )
|
||||||
msys=true
|
msys=true
|
||||||
;;
|
;;
|
||||||
|
NONSTOP* )
|
||||||
|
nonstop=true
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
|
||||||
if $cygwin ; then
|
|
||||||
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Attempt to set APP_HOME
|
|
||||||
# Resolve links: $0 may be a link
|
|
||||||
PRG="$0"
|
|
||||||
# Need this for relative symlinks.
|
|
||||||
while [ -h "$PRG" ] ; do
|
|
||||||
ls=`ls -ld "$PRG"`
|
|
||||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
||||||
if expr "$link" : '/.*' > /dev/null; then
|
|
||||||
PRG="$link"
|
|
||||||
else
|
|
||||||
PRG=`dirname "$PRG"`"/$link"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
SAVED="`pwd`"
|
|
||||||
cd "`dirname \"$PRG\"`/" >&-
|
|
||||||
APP_HOME="`pwd -P`"
|
|
||||||
cd "$SAVED" >&-
|
|
||||||
|
|
||||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
# Determine the Java command to use to start the JVM.
|
# Determine the Java command to use to start the JVM.
|
||||||
@@ -90,7 +89,7 @@ location of your Java installation."
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Increase the maximum file descriptors if we can.
|
# Increase the maximum file descriptors if we can.
|
||||||
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||||
MAX_FD_LIMIT=`ulimit -H -n`
|
MAX_FD_LIMIT=`ulimit -H -n`
|
||||||
if [ $? -eq 0 ] ; then
|
if [ $? -eq 0 ] ; then
|
||||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||||
@@ -114,6 +113,7 @@ fi
|
|||||||
if $cygwin ; then
|
if $cygwin ; then
|
||||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||||
|
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||||
|
|
||||||
# We build the pattern for arguments to be converted via cygpath
|
# We build the pattern for arguments to be converted via cygpath
|
||||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||||
|
|||||||
Vendored
+4
-4
@@ -8,14 +8,14 @@
|
|||||||
@rem Set local scope for the variables with windows NT shell
|
@rem Set local scope for the variables with windows NT shell
|
||||||
if "%OS%"=="Windows_NT" setlocal
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
||||||
set DEFAULT_JVM_OPTS=
|
|
||||||
|
|
||||||
set DIRNAME=%~dp0
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%" == "" set DIRNAME=.
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
set APP_BASE_NAME=%~n0
|
set APP_BASE_NAME=%~n0
|
||||||
set APP_HOME=%DIRNAME%
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
set DEFAULT_JVM_OPTS=
|
||||||
|
|
||||||
@rem Find java.exe
|
@rem Find java.exe
|
||||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ echo location of your Java installation.
|
|||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
:init
|
:init
|
||||||
@rem Get command-line arguments, handling Windowz variants
|
@rem Get command-line arguments, handling Windows variants
|
||||||
|
|
||||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||||
if "%@eval[2+2]" == "4" goto 4NT_args
|
if "%@eval[2+2]" == "4" goto 4NT_args
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -87,6 +87,7 @@ public class Config
|
|||||||
public static boolean logHiveSpawns;
|
public static boolean logHiveSpawns;
|
||||||
public static double thaumcraftSaplingDroprate;
|
public static double thaumcraftSaplingDroprate;
|
||||||
public static int aromaticLumpSwarmerRate;
|
public static int aromaticLumpSwarmerRate;
|
||||||
|
public static int thaumcraftNodeMaxSize;
|
||||||
|
|
||||||
public static boolean arsMagicaActive;
|
public static boolean arsMagicaActive;
|
||||||
public static boolean bloodMagicActive;
|
public static boolean bloodMagicActive;
|
||||||
@@ -313,9 +314,12 @@ public class Config
|
|||||||
p.comment = "Set to true to make Thaumium Grafter & Scoop require impregnated sticks in the recipe.";
|
p.comment = "Set to true to make Thaumium Grafter & Scoop require impregnated sticks in the recipe.";
|
||||||
useImpregnatedStickInTools = p.getBoolean(false);
|
useImpregnatedStickInTools = p.getBoolean(false);
|
||||||
|
|
||||||
p = configuration.get(CATEGORY_GENERAL, "thaumCraftSaplingDroprate", 0.1, "The chance for thaumcraft saplings using the thaumium grafter", 0.0, 1.0);
|
p = configuration.get(CATEGORY_GENERAL, "thaumcraftSaplingDroprate", 0.1, "The chance for thaumcraft saplings using the thaumium grafter", 0.0, 1.0);
|
||||||
thaumcraftSaplingDroprate = p.getDouble(0.1);
|
thaumcraftSaplingDroprate = p.getDouble(0.1);
|
||||||
|
|
||||||
|
p = configuration.get(CATEGORY_GENERAL, "thaumcraftNodeMaxSize", 256, "The maximum aspect amount Nexus bees can grow a node to", 64, 32767);
|
||||||
|
thaumcraftNodeMaxSize = p.getInt(256);
|
||||||
|
|
||||||
p = configuration.get(CATEGORY_GENERAL, "moonDialShowText", false);
|
p = configuration.get(CATEGORY_GENERAL, "moonDialShowText", false);
|
||||||
p.comment = "set to true to show the current moon phase in mouse-over text.";
|
p.comment = "set to true to show the current moon phase in mouse-over text.";
|
||||||
moonDialShowsPhaseInText = p.getBoolean(false);
|
moonDialShowsPhaseInText = p.getBoolean(false);
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
|
import magicbees.main.Config;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.Vec3;
|
import net.minecraft.util.Vec3;
|
||||||
import net.minecraft.world.ChunkPosition;
|
import net.minecraft.world.ChunkPosition;
|
||||||
@@ -110,7 +111,7 @@ public class NodeHelper {
|
|||||||
aspectToAdd = getWeightedRandomAspect(world.rand);
|
aspectToAdd = getWeightedRandomAspect(world.rand);
|
||||||
++rollAttempts;
|
++rollAttempts;
|
||||||
}
|
}
|
||||||
while (aspectsBase.getAmount(aspectToAdd) > 255 && rollAttempts < 20);
|
while (aspectsBase.getAmount(aspectToAdd) > (Config.thaumcraftNodeMaxSize -1) && rollAttempts < 20);
|
||||||
|
|
||||||
if (20 <= rollAttempts) {
|
if (20 <= rollAttempts) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in new issue
Block a user