mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 06:24:54 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
451f183e83 | ||
|
|
bff3c669bf |
No files matched your search
+103
-28
@@ -1,28 +1,103 @@
|
||||
# IntelliJ IDEA Files
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
out/
|
||||
.idea/
|
||||
|
||||
# Eclipse Project Files
|
||||
.classpath
|
||||
.project
|
||||
.settings/
|
||||
eclipse/
|
||||
|
||||
# Gradle
|
||||
.gradle
|
||||
gradle/
|
||||
build/
|
||||
debug/
|
||||
bin/
|
||||
config/
|
||||
crash-reports/
|
||||
logs/
|
||||
mods/
|
||||
saves/
|
||||
usernamecache.json
|
||||
options.txt
|
||||
asm
|
||||
Thumbs.db
|
||||
# IntelliJ IDEA Files
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
out/
|
||||
.idea/
|
||||
|
||||
# Eclipse Project Files
|
||||
.classpath
|
||||
.project
|
||||
.settings/
|
||||
eclipse/
|
||||
|
||||
# Gradle
|
||||
.gradle
|
||||
gradle/
|
||||
build/
|
||||
debug/
|
||||
bin/
|
||||
config/
|
||||
crash-reports/
|
||||
logs/
|
||||
mods/
|
||||
saves/
|
||||
usernamecache.json
|
||||
options.txt
|
||||
asm
|
||||
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
|
||||
+6
-2
@@ -52,8 +52,8 @@ dependencies {
|
||||
compile "net.sengir.forestry:forestry_${project.version_mc}:${project.version_forestry}:api"
|
||||
runtime "net.sengir.forestry:forestry_${project.version_mc}:${project.version_forestry}:dev"
|
||||
//compile name: 'Botania', version: "${project.version_botania}", ext: 'jar'
|
||||
compile name: 'Baubles', version: "${project.version_baubles}", ext: 'jar'
|
||||
compile name: 'Thaumcraft', version: "${project.version_thaumcraft}", ext: 'jar'
|
||||
//compile name: 'Baubles', version: "${project.version_baubles}", ext: 'jar'
|
||||
//compile name: 'Thaumcraft', version: "${project.version_thaumcraft}", ext: 'jar'
|
||||
}
|
||||
|
||||
processResources
|
||||
@@ -87,5 +87,9 @@ task deobfJar(type: Jar) { // Generate deobfuscated
|
||||
classifier = 'deobf'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives deobfJar
|
||||
}
|
||||
|
||||
task fullBuild(dependsOn: ['build', 'deobfJar']) {
|
||||
}
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
version_major=2
|
||||
version_minor=4
|
||||
version_rev=4
|
||||
|
||||
version_forestry=4.2.+
|
||||
version_botania=r1.8-248
|
||||
version_baubles=1.0.1.10
|
||||
version_thaumcraft=4.2.3.5
|
||||
|
||||
version_mc=1.7.10
|
||||
version_forge=10.13.4.1566-1.7.10
|
||||
version_major=2
|
||||
version_minor=5
|
||||
version_rev=2
|
||||
|
||||
version_forestry=4.2.+
|
||||
version_botania=r1.8-248
|
||||
version_baubles=1.0.1.10
|
||||
version_thaumcraft=4.2.3.5
|
||||
|
||||
version_mc=1.7.10
|
||||
version_forge=10.13.4.1614-1.7.10
|
||||
@@ -87,6 +87,7 @@ public class Config
|
||||
public static boolean logHiveSpawns;
|
||||
public static double thaumcraftSaplingDroprate;
|
||||
public static int aromaticLumpSwarmerRate;
|
||||
public static int thaumcraftNodeMaxSize;
|
||||
|
||||
public static boolean arsMagicaActive;
|
||||
public static boolean bloodMagicActive;
|
||||
@@ -313,8 +314,11 @@ public class Config
|
||||
p.comment = "Set to true to make Thaumium Grafter & Scoop require impregnated sticks in the recipe.";
|
||||
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);
|
||||
|
||||
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.comment = "set to true to show the current moon phase in mouse-over text.";
|
||||
|
||||
@@ -7,6 +7,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Random;
|
||||
|
||||
import magicbees.main.Config;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.Vec3;
|
||||
import net.minecraft.world.ChunkPosition;
|
||||
@@ -110,7 +111,7 @@ public class NodeHelper {
|
||||
aspectToAdd = getWeightedRandomAspect(world.rand);
|
||||
++rollAttempts;
|
||||
}
|
||||
while (aspectsBase.getAmount(aspectToAdd) > 255 && rollAttempts < 20);
|
||||
while (aspectsBase.getAmount(aspectToAdd) > (Config.thaumcraftNodeMaxSize -1) && rollAttempts < 20);
|
||||
|
||||
if (20 <= rollAttempts) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user