Compare commits

...
30 Commits
Author SHA1 Message Date
OneEyeMaker ce254b5735 Bumped version 2017-08-06 14:37:28 +03:00
OneEyeMaker 5338da7d6c Merge conflict fix 2017-08-06 14:32:15 +03:00
Dream-Master 3c78eee0e1 Merge remote-tracking branch 'upstream/1.7-final' into krypton 2017-08-06 11:20:51 +02:00
Dream-Master 4eeaeacf4a Merge branch '1.7.10-krypt' of https://github.com/KryptonCaptain/ThaumicTinkerer into krypton
Conflicts:
	build.gradle
	build.properties
	src/main/java/thaumic/tinkerer/common/core/handler/ConfigHandler.java
	src/main/java/thaumic/tinkerer/common/item/foci/ItemFocusDislocation.java
	src/main/resources/assets/ttinkerer/lang/en_US.lang
2017-08-06 11:18:17 +02:00
Katrina Swales 3388dd2296 Merge pull request #876 from Kamesuta/1.7-final
Infinite loop problem from Bedrock Dimension in SkyBlock.
2017-07-24 21:01:39 +01:00
Dream-Master 48a1cdbe07 bump version 2017-05-21 11:30:33 +02:00
Daniel 2eaec0d010 Should fix issues with gears. 2017-05-15 07:34:57 +02:00
Dream-Master a2b24f95cd This will remove all the GT 00 ores and add some other to the Bedrock dimension 2017-04-09 22:43:42 +02:00
Kamesuta 7455daecd9 Infinite loop problem from Bedrock Dimension in sky block.
Fix an infinite loop problem when returning from Bedrock Dimension in
sky block.
2017-04-05 04:53:35 +09:00
Martin Robertz 9bba1f209a Merge pull request #3 from Ugachaga/patch-2
Added Blacklist config for Focus of Dislocation
2017-03-18 11:38:24 +01:00
Ugachaga 8cfa60719d Added Blacklist config for Focus of Dislocation 2017-03-18 15:43:43 +07:00
Martin Robertz 67ee85b77d Update README.md 2017-03-01 23:31:50 +01:00
Dream-Master 0c4cdad475 bump version 2017-02-25 18:27:22 +01:00
Martin Robertz dfec103fcf Merge pull request #2 from Ugachaga/patch-1
Forbidden dimensions config
2017-02-25 17:41:30 +01:00
Ugachaga 0da10ce8d4 more space 2017-02-25 22:07:44 +07:00
Ugachaga f35d8a755f space 2017-02-25 22:02:43 +07:00
Ugachaga eee99a0c81 Added forbidden dimension config 2017-02-25 22:00:57 +07:00
Technus db3bb554b4 add fire spreading config 2017-01-09 09:40:58 +01:00
Technus 2e1794b484 Merge branch '1.7-final' of https://github.com/GTNewHorizons/ThaumicTinkerer into 1.7-final 2017-01-09 08:33:52 +01:00
Technus 579c850ca1 fix1 2017-01-09 08:33:35 +01:00
Dream-Master 47896bc02d build gradle fix 2017-01-08 21:11:51 +01:00
Technus 97dc338023 Merge branch '1.7-final' of https://github.com/GTNewHorizons/ThaumicTinkerer into 1.7-final 2017-01-08 19:16:20 +01:00
Martin Robertz 79f59db6f5 Merge pull request #1 from Thaumic-Tinkerer/1.7-final
1.7 final
2017-01-08 19:13:32 +01:00
Technus da0bcacdf4 Merge branch 'up-1.7-final' into 1.7-final 2017-01-08 19:02:19 +01:00
Dream-Master d40e8585b3 Revert "change recipe i cant put all in modtweaker code."
This reverts commit d179e36347.
2016-03-27 15:56:06 +02:00
Dream-Master aa41a8485f Revert "First test to add hardcore recipes"
This reverts commit 3c9322af05.
2016-03-27 15:53:48 +02:00
Dream-Master d179e36347 change recipe i cant put all in modtweaker code.
(Mob aspects)
2016-03-27 15:53:40 +02:00
Dream-Master 3c9322af05 First test to add hardcore recipes 2016-03-24 00:55:09 +01:00
Dream-Master 9655c9b58d spelling fix 2016-03-23 21:51:33 +01:00
Dream-Master a9a7eabb72 fix the slab recipe 2016-03-23 19:24:45 +01:00
8 changed files with 178 additions and 153 deletions

No files matched your search

+6
View File
@@ -13,3 +13,9 @@ This mod is made with a Deobfuscated version of Thaumcraft, loaded as a Library.
![](http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png)
Thaumic Tinkerer Was originally by Vazkii and is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
# Fork
This mod was forked by the GT:NH Team to continue the development of the 1.7.10 Branch.
The up-to-date Master branch can be found on our Jenkins:
http://jenkins.usrv.de
+24 -71
View File
@@ -1,4 +1,4 @@
buildscript {
buildscript {
repositories {
mavenCentral()
maven {
@@ -20,15 +20,9 @@
classpath 'com.gradle:build-scan-plugin:1.3'
}
}
apply plugin: 'com.gradle.build-scan'
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
}
repositories {
ivy {
name 'Forge FS legacy'
artifactPattern "http://files.minecraftforge.net/[module]/[module]-dev-[revision].[ext]"
}
@@ -54,7 +48,6 @@ repositories {
url "http://mobiusstrip.eu/maven"
}
maven {
url 'http://maven.cil.li/'
}
@@ -63,70 +56,37 @@ repositories {
String changelogLoc = 'https://raw.github.com/Thaumic-Tinkerer/ThaumicTinkerer/changelog/web/changelog'
apply plugin: 'forge'
//apply plugin: "curseforge"
group = "thaumic.tinkerer" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
ext.configFile = file('build.properties')
ext.config = parseConfig(configFile)
group = "thaumic.tinkerer"
version = "${config.version}-${config.build_number}"
//version = "${config.version}"
archivesBaseName = config.mod_name
minecraft {
version = "1.7.10-10.13.4.1614-1.7.10"
//minecraftVersion="1.7.10"
runDir = "eclipse"
replace '${version}', project.version
//coreMod("tconstruct.preloader.TConstructLoaderContainer")
if (project.hasProperty("pass"))
replace "INSERTPASSWORDHERE", project.pass
}
//version = 'project.version'
//if (System.getenv("BUILD_NUMBER")!=null)
// version = "$version-${System.getenv().BUILD_NUMBER}"
//if (project.hasProperty("releaseType"))
// if (project.releaseType == "ALPHA")
// version = "alpha-" + version
//curse {
// projectId="75598"
// version = "2.5-${minecraft.version}"
// if (System.getenv("BUILD_NUMBER")!=null)
// version = "$version-${System.getenv().BUILD_NUMBER}"
// if(project.hasProperty("apiKey"))
// apiKey=project.apiKey
// changelog=" "
// releaseType="release"
// addGameVersion "{minecraft.version}"
//}
dependencies {
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
compile "codechicken:CodeChickenCore:1.7.10-1.0.7.47:dev"
compile "mcp.mobius.waila:Waila:1.5.10_1.7.10"
compile "codechicken:ForgeMultipart:1.7.10-1.1.2.331:dev"
dependencies {
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
compile "codechicken:CodeChickenCore:1.7.10-1.0.7.47:dev"
compile "mcp.mobius.waila:Waila:1.5.10_1.7.10"
compile "codechicken:ForgeMultipart:1.7.10-1.1.2.331:dev"
compile 'com.mod-buildcraft:buildcraft:6.4.8:dev'
compile "codechicken:NotEnoughItems:1.7.10-1.0.5.118:dev"
compile "codechicken:EnderStorage:1.7.10-1.4.7.37:dev"
compile "mantle:Mantle:1.7.10-0.3.2.jenkins187:deobf"
compile "li.cil.oc:OpenComputers:MC1.7.10-1.5.7.536-dev:api"
compile "li.cil.oc:OpenComputers:MC1.7.10-1.5.7.536-dev:dev"
compile("tconstruct:TConstruct:1.7.10-1.8.3.build927:deobf") {
}
compile 'com.mod-buildcraft:buildcraft:6.4.8:dev'
compile "codechicken:NotEnoughItems:1.7.10-1.0.5.118:dev"
compile "codechicken:EnderStorage:1.7.10-1.4.7.37:dev"
compile "mantle:Mantle:1.7.10-0.3.2.jenkins187:deobf"
compile "li.cil.oc:OpenComputers:MC1.7.10-1.5.7.536-dev:api"
compile "li.cil.oc:OpenComputers:MC1.7.10-1.5.7.536-dev:dev"
compile("tconstruct:TConstruct:1.7.10-1.8.3.build927:deobf") {
}
// some crazy stuff to make sure the chicken stuff is in the mods folder...
// because it wont work otherwise... because FML doesnt laod coremods from the classpath
}
task copyChicken(type: Copy, dependsOn: "extractUserDev") {
from { configurations.compile }
@@ -137,23 +97,17 @@ task copyChicken(type: Copy, dependsOn: "extractUserDev") {
mustRunAfter "deobfBinJar"
mustRunAfter "repackMinecraft"
}
//tasks.setupDevWorkspace.dependsOn copyChicken
//tasks.setupDecompWorkspace.dependsOn copyChicken
processResources
{
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// replace version and mcversion
expand 'version': project.version, 'MCversion': project.minecraft.version
}
// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
{
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version': project.version, 'MCversion': project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
jar {
manifest {
attributes 'FMLCorePlugin': 'thaumic.tinkerer.preloader.ThaumicTLoaderContainer'
@@ -171,7 +125,6 @@ def parseConfig(File config) {
}
}
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'dev'
+2 -3
View File
@@ -1,6 +1,5 @@
#Thu, 30 Jan 2014 18:26:58 +0000
version=2.5-552-K
build_number=0
version=2.5-1.7.10-544GTNH
build_number=553
mc_version=1.7.10
mod_name=ThaumicTinkerer-[1.7.10]
dir.repo=./
@@ -152,6 +152,12 @@ public class BlockBedrockPortal extends BlockMod {
while (entity.worldObj.getBlock(x, y, z) == Blocks.air || entity.worldObj.getBlock(x, y, z).isAir(par1World, x, y, z)) {
y--;
// Avoid infinite loop.
if (y <= 1) {
y = 120;
// Set up the scaffolding.
entity.worldObj.setBlock(x, y - 1, z, Blocks.stone);
}
}
((EntityPlayerMP) entity).playerNetServerHandler.setPlayerLocation(x + 0.5, y + 3, z + 0.5, 0, 0);
@@ -14,107 +14,169 @@
*/
package thaumic.tinkerer.common.core.handler;
import java.io.File;
import cpw.mods.fml.common.Loader;
import net.minecraftforge.common.config.ConfigCategory;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import thaumcraft.common.config.Config;
import thaumic.tinkerer.common.dim.OreClusterGenerator;
import thaumic.tinkerer.common.lib.LibEnchantIDs;
import thaumic.tinkerer.common.lib.LibEnchantNames;
import java.io.File;
public final class ConfigHandler {
public static boolean enableFlight;
public static boolean useTootlipIndicators;
public static boolean enableSurvivalShareTome;
public static boolean enableDebugCommands;
public static boolean useOreDictMetal;
public static boolean repairTConTools;
private static final String CATEGORY_POTIONS = "potions";
private static final String CATEGORY_ENCHANTMENTS = "enchantments";
private static final String CATEGORY_KAMI_ITEMS = "item.kami";
private static final String CATEGORY_KAMI_BLOCKS = "block.kami";
private static final String CATEGORY_KAMI_GENERAL = "general.kami";
public static boolean enableKami = false;
public static boolean enableFlight = true;
public static boolean useTootlipIndicators = true;
public static boolean enableSurvivalShareTome = true;
public static boolean enableEasymodeResearch = false;
public static boolean enableDebugCommands = false;
public static boolean useOreDictMetal = true;
public static boolean repairTConTools = false;
public static boolean showPlacementMirrorBlocks = true;
public static int netherDimensionID = -1;
public static int endDimensionID = 1;
public static int bedrockDimensionID = 19;
public static String[] forbiddenDimensions;
public static String[] blockBlacklist;
public static boolean enableFire;
public static boolean enableCake;
public static boolean enableFireMechanics;
public static boolean cropsAllowBonemeal;
public static int potionFireId;
public static int potionWaterId;
public static int potionEarthId;
public static int potionAirId;
public static boolean enableKami;
public static boolean showPlacementMirrorBlocks = true;
public static int netherDimensionID;
public static int endDimensionID;
public static int bedrockDimensionID = 19;
public static int soulHeartHeight;
public static boolean enableCake = true;
public static boolean enableFire = true;
public static boolean enableFireMechanics = true;
public static boolean cropsAllowBonemeal = true;
public static int soulHeartHeight = 49;
public static int potionFireId = 86;
public static int potionWaterId = 87;
public static int potionEarthId = 89;
public static int potionAirId = 90;
private static Configuration config;
public static void loadConfig(File configFile) {
config = new Configuration(configFile);
new ConfigCategory("potions");
new ConfigCategory("enchantments");
new ConfigCategory("general.kami");
new ConfigCategory(CATEGORY_POTIONS);
new ConfigCategory(CATEGORY_ENCHANTMENTS);
new ConfigCategory(CATEGORY_KAMI_ITEMS);
new ConfigCategory(CATEGORY_KAMI_BLOCKS);
new ConfigCategory(CATEGORY_KAMI_GENERAL);
config.addCustomCategoryComment("general.kami", "These will only be used if KAMI is enabled.");
String comment = "These will only be used if KAMI is loaded. (KAMI is a separate download you can find in the Thaumic Tinkerer thread)";
config.addCustomCategoryComment(CATEGORY_KAMI_ITEMS, comment);
config.addCustomCategoryComment(CATEGORY_KAMI_BLOCKS, comment);
config.addCustomCategoryComment(CATEGORY_KAMI_GENERAL, comment);
config.load();
forbiddenDimensions = config.getStringList("Forbidden Dimensions", "general", new String[]{""}, "Disallow Bottomless Pouch inventory for certain dimension ID's");
forbiddenDimensions = config.getStringList("Forbidden Dimensions", Configuration.CATEGORY_GENERAL, new String[]{""}, "Disallow Bottomless Pouch inventory for certain dimension ID's");
blockBlacklist = config.getStringList("Focus of Dislocation Blacklist", "general", new String[]{"avaritiaddons:CompressedChest", "avaritiaddons:InfinityChest"}, "These blocks will be disallowed for Focus of Dislocation");
Property propBlockBlacklist = config.get(Configuration.CATEGORY_GENERAL, "Focus of Dislocation Blacklist", new String[]{"avaritiaddons:CompressedChest", "avaritiaddons:InfinityChest"});
propBlockBlacklist.comment = "These blocks will be disallowed for Focus of Dislocation";
blockBlacklist = propBlockBlacklist.getStringList();
enableKami = config.getBoolean("kami.forceenabled", "general", true, "Set to true to enable all KAMI stuff");
Property propEnableKami = config.get(Configuration.CATEGORY_GENERAL, "kami.forceenabled", true);
propEnableKami.comment = "Set to true to enable all kami stuff (note, either this OR the kami mod file will work)";
enableKami = Loader.isModLoaded("ThaumicTinkererKami") || propEnableKami.getBoolean(true);
useTootlipIndicators = config.getBoolean("tooltipIndicators.enabled", "general", true, "Set to false to disable the [TT] tooltips in the thauminomicon.");
Property propEnableTooltips = config.get(Configuration.CATEGORY_GENERAL, "tooltipIndicators.enabled", true);
propEnableTooltips.comment = "Set to false to disable the [TT] tooltips in the thauminomicon.";
useTootlipIndicators = propEnableTooltips.getBoolean(true);
enableSurvivalShareTome = config.getBoolean("shareTome.survival.enabled", "general", true, "Set to false to disable the crafting recipe for the Tome of Research Sharing.");
Property propEnableSurvivalShareTome = config.get(Configuration.CATEGORY_GENERAL, "shareTome.survival.enabled", true);
propEnableSurvivalShareTome.comment = "Set to false to disable the crafting recipe for the Tome of Research Sharing.";
enableSurvivalShareTome = propEnableSurvivalShareTome.getBoolean(true);
enableDebugCommands = config.getBoolean("debugCommands.enabled", "general", false, "Set to true to enable debugging commands.");
Property propEasymodeResearch = config.get(Configuration.CATEGORY_GENERAL, "research.easymode.enabled", false);
propEasymodeResearch.comment = "Set to true to enable Easy Research (getting research notes = instant discovery). For those who don't like research. (DEPRECATED: Please use thaumcraft.cfg to edit this now, all this does is alter that)";
enableEasymodeResearch = propEasymodeResearch.getBoolean(false);
Config.researchDifficulty = (enableEasymodeResearch) ? -1 : Config.researchDifficulty;
enableFlight = config.getBoolean("modFlight.enabled", "general", true, "Set to true to enable flight in this mod.");
Property propDebugCommands = config.get(Configuration.CATEGORY_GENERAL, "debugCommands.enabled", false);
propDebugCommands.comment = "Set to true to enable debugging commands.";
enableDebugCommands = propDebugCommands.getBoolean(false);
repairTConTools = config.getBoolean("repairTconTools.enabled", "general", false, "Can Thaumic Tinkerer repair Tinkers Construct tools.");
Property propEnableFlight = config.get(Configuration.CATEGORY_GENERAL, "modFlight.enabled", true);
propEnableFlight.comment = "Set to true to enable flight in this mod.";
enableFlight = propEnableFlight.getBoolean(true);
useOreDictMetal = config.getBoolean("oreDictMetal.enabled", "general", true, "Set to false to disable usage of ore dictionary metals (tin and copper).");
Property propRepairTCon = config.get(Configuration.CATEGORY_GENERAL, "repairTconTools.enabled", false);
propRepairTCon.comment = "Can Thaumic Tinkerer repair Tinkers Construct tools.";
repairTConTools = propRepairTCon.getBoolean(false);
enableFire = config.getBoolean("imbuedFire.enabled", "general", true, "Set to false to disable imbued fire.");
Property propOreDict = config.get(Configuration.CATEGORY_GENERAL, "oreDictMetal.enabled", true);
propOreDict.comment = "Set to false to disable usage of ore dictionary metals (tin and copper).";
useOreDictMetal = propOreDict.getBoolean(true);
enableFireMechanics = config.getBoolean("imbuedFireSpread.enabled", "general", true, "Set to false to disable imbued fire spreading/acting mechanism.");
enableCake = config.getBoolean("imbuedFire.cake.enabled", "general", true, "Set to false to disable imbued fire making cake. For those people who don't like cake");
Property propImbuedFire = config.get(Configuration.CATEGORY_GENERAL, "imbuedFire.enabled", true);
propImbuedFire.comment = "Set to false to disable imbued fire.";
enableFire = propImbuedFire.getBoolean(true);
cropsAllowBonemeal = config.getBoolean("cropsAllowBonemeal.enabled", "general", false, "Allows crops to be grown using bonemeal. Useful for debug purposes.");
soulHeartHeight = config.getInt("soulHeart.height", "general", 49, 0, 256, "The height of the Soul Heart bar. You can change this if you have a mod that adds a bar in that spot.");
Property propImbuedFireSpread = config.get(Configuration.CATEGORY_GENERAL, "imbuedFireSpread.enabled", true);
propImbuedFireSpread.comment = "Set to false to disable imbued fire spreading/acting mechanism.";
enableFireMechanics = propImbuedFireSpread.getBoolean(true);
Property propImbuedFireCake = config.get(Configuration.CATEGORY_GENERAL, "imbuedFire.cake.enabled", true);
propImbuedFireCake.comment = "Set to false to disable imbued fire making cake. For those people who don't like cake";
enableCake = propImbuedFireCake.getBoolean(true);
Property propCropsAllowBonemeal = config.get(Configuration.CATEGORY_GENERAL, "cropsAllowBonemeal.enabled", false);
propCropsAllowBonemeal.comment = "Allows crops to be grown using bonemeal. Useful for debug purposes.";
cropsAllowBonemeal = propCropsAllowBonemeal.getBoolean(false);
Property propsoulHeartHeight = config.get(Configuration.CATEGORY_GENERAL, "soulHeart.height", soulHeartHeight);
propsoulHeartHeight.comment = "The height of the Soul Heart bar. You can change this if you have a mod that adds a bar in that spot.";
soulHeartHeight = propsoulHeartHeight.getInt(soulHeartHeight);
// Potions
potionFireId = config.getInt("Fire Potion id", "potions", 88, 30, 1023, "Set to the potion id for fire potion");
potionEarthId = config.getInt("Earth Potion id", "potions", 87, 30, 1023, "Set to the potion id for earth potion");
potionWaterId = config.getInt("Water Potion id", "potions", 89, 30, 1023, "Set to the potion id for water potion");
potionAirId = config.getInt("Air Potion id", "potions", 86, 30, 1023, "Set to the potion id for air potion");
Property propFirePotionId = config.get(CATEGORY_POTIONS, "Fire Potion id", potionFireId);
propFirePotionId.comment = "Set to the potion id for fire potion";
potionFireId = propFirePotionId.getInt(potionFireId);
Property propAirPotionId = config.get(CATEGORY_POTIONS, "Air Potion id", potionAirId);
propAirPotionId.comment = "Set to the potion id for air potion";
potionAirId = propAirPotionId.getInt(potionAirId);
Property propWaterPotionId = config.get(CATEGORY_POTIONS, "Water Potion id", potionWaterId);
propWaterPotionId.comment = "Set to the potion id for water potion";
potionWaterId = propWaterPotionId.getInt(potionWaterId);
Property propEarthPotionId = config.get(CATEGORY_POTIONS, "Earth Potion id", potionEarthId);
propEarthPotionId.comment = "Set to the potion id for earth potion";
potionEarthId = propEarthPotionId.getInt(potionEarthId);
if (enableKami) {
Property propDimensionID = config.get(CATEGORY_KAMI_GENERAL, "Bedrock dimension id", -19);
propDimensionID.comment = "Set to the dimension id wished for bedrock dimension, or 0 to disable";
bedrockDimensionID = propDimensionID.getInt(-19);
bedrockDimensionID = config.getInt("Bedrock dimension id", "general.kami", -19, -1023, 1023, "Set to the dimension id wished for bedrock dimension, or 0 to disable");
OreClusterGenerator.blacklist = config.getStringList("Bedrock dimension ore Blacklist", "general.kami", new String[]{"oreFirestone"}, "These ores will not be spawned in the bedrock dimension");
Property oreBlacklist = config.get(CATEGORY_KAMI_GENERAL, "Bedrock dimension ore Blacklist", new String[]{"oreFirestone"});
oreBlacklist.comment = "These ores will not be spawned in the bedrock dimension";
OreClusterGenerator.blacklist = oreBlacklist.getStringList();
OreClusterGenerator.density = config.getInt("Bedrock Dimension ore density", "general", 1, 0, 1023, "The number of vertical veins of ore per chunk. Default: 1");
Property propOreDensity = config.get(Configuration.CATEGORY_GENERAL, "Bedrock Dimension ore density", 1);
propOreDensity.comment = "The number of verticle veins of ore per chunk. Default: 1";
OreClusterGenerator.density = propOreDensity.getInt(1);
showPlacementMirrorBlocks = config.getBoolean("placementMirror.blocks.show", "general.kami", true, "Set to false to remove the phantom blocks displayed by the Worldshaper's Seeing Glass.");
netherDimensionID = config.getInt("dimension.nether.id", "general.kami", -1, -1023, 1023, "The Dimension ID for the Nether, leave at -1 if you don't modify it with another mod/plugin.");
endDimensionID = config.getInt("dimension.end.id", "general.kami", 1, -1023, 1023, "The Dimension ID for the End, leave at 1 if you don't modify it with another mod/plugin.");
Property propShowPlacementMirrorBlocks = config.get(CATEGORY_KAMI_GENERAL, "placementMirror.blocks.show", true);
propShowPlacementMirrorBlocks.comment = "Set to false to remove the phantom blocks displayed by the Worldshaper's Seeing Glass.";
showPlacementMirrorBlocks = propShowPlacementMirrorBlocks.getBoolean(true);
Property propNetherID = config.get(CATEGORY_KAMI_GENERAL, "dimension.nether.id", -1);
propNetherID.comment = "The Dimension ID for the Nether, leave at -1 if you don't modify it with another mod/plugin.";
netherDimensionID = propNetherID.getInt(-1);
Property propEndID = config.get(CATEGORY_KAMI_GENERAL, "dimension.end.id", 1);
propEndID.comment = "The Dimension ID for the End, leave at 1 if you don't modify it with another mod/plugin.";
endDimensionID = propEndID.getInt(1);
}
LibEnchantIDs.idAscentBoost = loadEnchant(LibEnchantNames.ASCENT_BOOST, LibEnchantIDs.idAscentBoost);
@@ -136,8 +198,7 @@ public final class ConfigHandler {
config.save();
}
private static int loadEnchant(String label, int defaultID) {
return config.get("enchantments", "id_enchant." + label, defaultID).getInt(defaultID);
private static int loadEnchant(String label, int deafultID) {
return config.get(CATEGORY_ENCHANTMENTS, "id_enchant." + label, deafultID).getInt(deafultID);
}
}
}
@@ -165,12 +165,12 @@ public class AspectCropLootManager {
addAspectLoot(Aspect.LIGHT, new ItemStack(ThaumicTinkerer.registry.getFirstItemFromClass(ItemBrightNitor.class)));
addAspectLoot(Aspect.MECHANISM, new ItemStack(Blocks.piston, 8));
addAspectLoot(Aspect.MECHANISM, "gear");
//addAspectLoot(Aspect.MECHANISM, "gear");
addAspectLoot(Aspect.CROP, new ItemStack(Items.wheat, 32));
addAspectLoot(Aspect.METAL, new ItemStack(Items.iron_ingot, 4), 100);
addAspectLoot(Aspect.METAL, "iron");
//addAspectLoot(Aspect.METAL, "iron");
addAspectLoot(Aspect.DEATH, new ItemStack(Items.bone, 32));
@@ -19,15 +19,15 @@ public enum EnumOreFrequency {
ALUMINUM("oreAluminum", 617),
AMBER("oreAmber", 161),
APATITE("oreApatite", 269),
BLUE_TOPAZ("oreBlueTopaz", 238),
CERTUS_QUARTZ("oreCertusQuartz", 234),
CHIMERITE("oreChimerite", 270),
TOPAZ("oreTopaz", 238),
SILICON("oreSilicon", 234),
ILMENITE("oreIlmenite", 270),
CINNABAR("oreCinnabar", 172),
COAL("oreCoal", 2648),
COPPER("oreCopper", 603),
DIAMOND("oreDiamond", 67),
EMERALD("oreEmerald", 48),
DARK_IRON("oreFzDarkIron", 61),
TANZANITE("oreTanzanite", 61),
GOLD("oreGold", 164),
AIR("oreInfusedAir", 94),
EARTH("oreInfusedEarth", 35),
@@ -38,17 +38,17 @@ public enum EnumOreFrequency {
IRON("oreIron", 1503),
LAPIS("oreLapis", 57),
LEAD("oreLead", 335),
NICKEL("oreNickel", 72),
//DRACONIUM("oreDraconium", 72),
PERIDOT("orePeridot", 79),
REDSTONE("oreRedstone", 364),
RUBY("oreRuby", 57),
SALT("oreSaltpeter", 768),
//METEORICIRON("oreMeteoricIron", 86),
SAPPHIRE("oreSapphire", 70),
SILVER("oreSilver", 416),
SULFUR("oreSulfur", 105),
MALACHITE("oreMalachite", 416),
DESH("oreDesh", 105),
TIN("oreTin", 507),
URANIUM("oreUranium", 112),
VINETUM("oreVinteum", 392);
URANIUM("oreUranium", 112);
//ELECTROTINE("oreElectrotine", 392);
public int freq;
public String name;
@@ -160,7 +160,7 @@ public class ItemFocusDislocation extends ItemModFocus {
@Override
public String getSortingHelper(ItemStack itemstack) {
return "TTDL" + super.getSortingHelper(itemstack) + getUniqueKey(itemstack);
return "TTDL" + super.getSortingHelper(itemstack) + getUniqueKey(itemstack);
}