mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-28 07:35:42 +00:00
Compare commits
64
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8db2b1af93 | ||
|
|
1fa6321ea3 | ||
|
|
3d90755aea | ||
|
|
15463a5a68 | ||
|
|
94e3293b8e | ||
|
|
8e26c43294 | ||
|
|
29e9ba0f3e | ||
|
|
df65e69082 | ||
|
|
d533c8517b | ||
|
|
61d5db0d97 | ||
|
|
206f12e280 | ||
|
|
1a6bc48f5b | ||
|
|
4dc3e55df8 | ||
|
|
3c2cd8a684 | ||
|
|
e729198076 | ||
|
|
ede553385c | ||
|
|
a800a3d52f | ||
|
|
face00e906 | ||
|
|
e5386a8af4 | ||
|
|
7ae25e7b58 | ||
|
|
a356edbdc5 | ||
|
|
7a274ccd05 | ||
|
|
93effd9f53 | ||
|
|
77c7510b84 | ||
|
|
ea649844e5 | ||
|
|
d132d1ea4e | ||
|
|
da2df31ddc | ||
|
|
bbe58a1a9c | ||
|
|
73db9945f4 | ||
|
|
03db73fafd | ||
|
|
d1553bc9db | ||
|
|
beea9db8b1 | ||
|
|
886b096fdf | ||
|
|
4eab9e7c37 | ||
|
|
0834d967af | ||
|
|
ae200e95f8 | ||
|
|
f1c46805f7 | ||
|
|
3bdf0a2482 | ||
|
|
6ebf8f7324 | ||
|
|
2340d451fb | ||
|
|
fed1619207 | ||
|
|
ea2d55f03e | ||
|
|
bf538a9768 | ||
|
|
3d07278a49 | ||
|
|
197ce2cd6f | ||
|
|
e34b504abb | ||
|
|
7fcd94f5a4 | ||
|
|
a02bd0a298 | ||
|
|
f98466d5b6 | ||
|
|
74e7d350bd | ||
|
|
4c07b29d68 | ||
|
|
cc3fdacb03 | ||
|
|
09b69e6726 | ||
|
|
4b07f7b34d | ||
|
|
0e82f262d0 | ||
|
|
9ac1008c31 | ||
|
|
f1985199d8 | ||
|
|
fd897dd854 | ||
|
|
b15d4db81e | ||
|
|
49554c94bb | ||
|
|
11d073ea29 | ||
|
|
a6748c68de | ||
|
|
89995fb31a | ||
|
|
9092b49d3b |
No files matched your search
@@ -3,9 +3,9 @@ name: Build and test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, main ]
|
||||
branches: [ master, main, release/** ]
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
branches: [ master, main, release/** ]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
|
||||
+2
-1
@@ -11,5 +11,6 @@ dependencies {
|
||||
api('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
|
||||
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.331:dev')
|
||||
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.99.99-mu57:dev')
|
||||
compileOnly('com.ruling_0:MaterialLib:0.24.0-mu:dev')
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
#This file is generated by updateDaemonJvm
|
||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/46949723aaa20c7b64d7ecfed7207034/redirect
|
||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d6690dfd71c4c91e08577437b5b2beb0/redirect
|
||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3cd7045fca9a72cd9bc7d14a385e594c/redirect
|
||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect
|
||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
|
||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
|
||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
|
||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
|
||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c2dd35c9d0aaf0ba6ad0791320f99dfc/redirect
|
||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/e5810bd7fd1f8a586644409d395a7e55/redirect
|
||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
|
||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
|
||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/7b3c4877c0749019e6805bb61e421497/redirect
|
||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d76df094a9cbbabd3b08251f9e61444a/redirect
|
||||
toolchainVersion=25
|
||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Add any additional repositories for your dependencies here
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven {
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.21'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.26'
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ package emt.block;
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
@@ -40,6 +41,7 @@ public abstract class BlockBaseContainer extends BlockContainer {
|
||||
this.setCreativeTab(EMT.TAB);
|
||||
this.setStepSound(soundType);
|
||||
this.setHardness(hardness);
|
||||
setHarvestLevel("wrench", 1);
|
||||
|
||||
this.countOfMetas = countOfMetas;
|
||||
this.instance = curInstance;
|
||||
@@ -76,7 +78,7 @@ public abstract class BlockBaseContainer extends BlockContainer {
|
||||
return set.bottom;
|
||||
} else if (side == 1) {
|
||||
return set.top;
|
||||
} else if (side != tile.facing) {
|
||||
} else if (tile == null || side != tile.facing) {
|
||||
return set.side;
|
||||
} else if (tile.isOn) {
|
||||
if (set.frontOn != null) {
|
||||
@@ -143,6 +145,11 @@ public abstract class BlockBaseContainer extends BlockContainer {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canHarvestBlock(EntityPlayer player, int meta) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(int meta) {
|
||||
return meta;
|
||||
|
||||
@@ -23,7 +23,6 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
import emt.EMT;
|
||||
import emt.tile.TileEntityEtherealMacerator;
|
||||
import emt.tile.TileEntityIndustrialWandRecharge;
|
||||
import ic2.api.item.IC2Items;
|
||||
|
||||
public class BlockMachines extends BlockBaseContainer {
|
||||
|
||||
@@ -90,7 +89,7 @@ public class BlockMachines extends BlockBaseContainer {
|
||||
|
||||
@Override
|
||||
public Item getItemDropped(int meta, Random random, int fortune) {
|
||||
return IC2Items.getItem("machine").getItem();
|
||||
return Item.getItemFromBlock(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,28 +1,75 @@
|
||||
package emt.gthandler.common.loader;
|
||||
|
||||
import static emt.command.CommandOutputs.mkbook;
|
||||
import static emt.util.EMTRandomHelper.getChargedItem;
|
||||
import static gregtech.api.recipe.RecipeMaps.assemblerRecipes;
|
||||
import static gregtech.api.util.GTRecipeBuilder.SECONDS;
|
||||
import static thaumcraft.api.ThaumcraftApi.addInfusionCraftingRecipe;
|
||||
import static thaumcraft.api.ThaumcraftApi.registerObjectTag;
|
||||
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import com.ruling_0.materiallib.api.Material;
|
||||
import com.ruling_0.materiallib.api.MaterialLibAPI;
|
||||
|
||||
import emt.init.EMTItems;
|
||||
import emt.init.EMTRecipes;
|
||||
import emt.util.EMTCraftingAspects;
|
||||
import gregtech.api.enums.Circuits;
|
||||
import gregtech.api.enums.GTValues;
|
||||
import gregtech.api.enums.Materials;
|
||||
import gregtech.api.enums.OrePrefixes;
|
||||
import gregtech.api.enums.ItemList;
|
||||
import gregtech.api.enums.TierEU;
|
||||
import gregtech.api.util.GTOreDictUnificator;
|
||||
import gregtech.api.enums.materials.Shapes;
|
||||
import ic2.api.item.IC2Items;
|
||||
import thaumcraft.api.aspects.Aspect;
|
||||
import thaumcraft.api.aspects.AspectList;
|
||||
import thaumcraft.common.config.ConfigItems;
|
||||
|
||||
public class EMT_GT_Loader {
|
||||
|
||||
public static ItemStack plate(Material material, int amount) {
|
||||
return MaterialLibAPI.getStack(material, Shapes.plate, amount);
|
||||
}
|
||||
|
||||
public static void runlate() {
|
||||
GTValues.RA.stdBuilder()
|
||||
.itemInputs(
|
||||
new ItemStack(Items.book),
|
||||
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.LV, 1L),
|
||||
Circuits.LV.get(1),
|
||||
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE))
|
||||
.itemOutputs(mkbook()).duration(6 * SECONDS).eut(TierEU.RECIPE_MV / 2).addTo(assemblerRecipes);
|
||||
|
||||
registerObjectTag(ItemList.ReinforcedGlass.get(1L), new AspectList().add(Aspect.METAL, 2).add(Aspect.COLD, 2));
|
||||
registerObjectTag(
|
||||
ItemList.FenceIron.get(1L),
|
||||
new AspectList().add(Aspect.ENERGY, 1).add(Aspect.METAL, 2).add(Aspect.WEATHER, 1));
|
||||
registerObjectTag(ItemList.PadBouncy.get(1L), new AspectList().add(Aspect.AIR, 5));
|
||||
registerObjectTag(ItemList.PadSticky.get(1L), new AspectList().add(Aspect.TRAP, 5).add(Aspect.SLIME, 2));
|
||||
|
||||
EMTRecipes.shieldFocus = addInfusionCraftingRecipe(
|
||||
"Shield Focus",
|
||||
new ItemStack(EMTItems.shieldFocus),
|
||||
4,
|
||||
EMTCraftingAspects.shieldFocusCrafting,
|
||||
new ItemStack(ConfigItems.itemFocusPortableHole, 1),
|
||||
new ItemStack[] { ItemList.Block_ReinforcedConcrete.get(1L), ItemList.ReinforcedGlass.get(1L),
|
||||
ItemList.Block_ReinforcedConcrete.get(1L), ItemList.ReinforcedGlass.get(1L),
|
||||
new ItemStack(Blocks.soul_sand), new ItemStack(Blocks.obsidian),
|
||||
new ItemStack(Blocks.obsidian) });
|
||||
|
||||
EMTRecipes.rockbreakerDrill = addInfusionCraftingRecipe(
|
||||
"Drill of the Rockbreaker",
|
||||
getChargedItem(EMTItems.rockbreakerDrill, 10),
|
||||
6,
|
||||
EMTCraftingAspects.rockbreakerDrillCrafting,
|
||||
new ItemStack(EMTItems.thaumiumDrill, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { new ItemStack(Items.flint_and_steel), new ItemStack(Items.fire_charge),
|
||||
new ItemStack(ConfigItems.itemPickElemental), new ItemStack(ConfigItems.itemShovelElemental),
|
||||
new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||
ItemList.Block_ReinforcedConcrete.get(1L), IC2Items.getItem("iridiumPlate"),
|
||||
IC2Items.getItem("overclockerUpgrade") });
|
||||
}
|
||||
}
|
||||
@@ -47,13 +47,6 @@ public class EMTBlocks {
|
||||
}
|
||||
|
||||
public static void addAspects() {
|
||||
registerObjectTag(IC2Items.getItem("rubberTrampoline"), new AspectList().add(Aspect.AIR, 5));
|
||||
registerObjectTag(
|
||||
IC2Items.getItem("ironFence"),
|
||||
new AspectList().add(Aspect.ENERGY, 1).add(Aspect.METAL, 2).add(Aspect.WEATHER, 1));
|
||||
registerObjectTag(
|
||||
IC2Items.getItem("reinforcedGlass"),
|
||||
new AspectList().add(Aspect.METAL, 2).add(Aspect.COLD, 2));
|
||||
registerObjectTag(IC2Items.getItem("scaffold"), new AspectList().add(Aspect.TREE, 4));
|
||||
registerObjectTag(IC2Items.getItem("ironScaffold"), new AspectList().add(Aspect.METAL, 4));
|
||||
registerObjectTag(
|
||||
|
||||
@@ -15,15 +15,16 @@ import net.minecraftforge.oredict.OreDictionary;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import emt.EMT;
|
||||
import emt.gthandler.common.loader.EMT_GT_Loader;
|
||||
import emt.util.EMTConfigHandler;
|
||||
import emt.util.EMTCraftingAspects;
|
||||
import emt.util.EMTResearchAspects;
|
||||
import gregtech.api.enums.materials.Materials;
|
||||
import ic2.api.item.IC2Items;
|
||||
import ic2.api.recipe.IRecipeInput;
|
||||
import ic2.api.recipe.RecipeInputItemStack;
|
||||
import ic2.api.recipe.Recipes;
|
||||
import ic2.core.BasicMachineRecipeManager;
|
||||
import ic2.core.Ic2Items;
|
||||
import thaumcraft.api.aspects.Aspect;
|
||||
import thaumcraft.api.aspects.AspectList;
|
||||
import thaumcraft.api.crafting.CrucibleRecipe;
|
||||
@@ -36,7 +37,6 @@ import thaumcraft.common.config.ConfigItems;
|
||||
|
||||
public class EMTRecipes {
|
||||
|
||||
public static ItemStack uuMCell = new ItemStack(EMTItems.itemEMTItems, 1, 15);
|
||||
public static IRecipe ironOmnitool;
|
||||
public static IRecipe diamondChainsaw;
|
||||
public static IRecipe ductTape;
|
||||
@@ -46,20 +46,6 @@ public class EMTRecipes {
|
||||
public static IRecipe featherWing;
|
||||
public static IRecipe featherWings;
|
||||
public static IRecipe taintedFeathers;
|
||||
public static InfusionRecipe uraniumToIridium;
|
||||
public static InfusionRecipe diamondToUranium;
|
||||
public static InfusionRecipe goldToDiamond;
|
||||
public static InfusionRecipe ironToGold;
|
||||
public static InfusionRecipe stoneBricksToIronOre;
|
||||
public static InfusionRecipe arcaneStoneToCopperOre;
|
||||
public static InfusionRecipe arcaneStoneBricksToTinOre;
|
||||
public static InfusionRecipe amberBlockToLeadOre;
|
||||
public static InfusionRecipe amberBricksToUraniumOre;
|
||||
public static InfusionRecipe charcoalToCoal;
|
||||
public static InfusionRecipe shardToResin;
|
||||
public static InfusionRecipe shardToRedstone;
|
||||
public static InfusionRecipe shardToLapis;
|
||||
public static InfusionRecipe glowstoneDustToBlock;
|
||||
public static InfusionRecipe infusedQuantumArmor;
|
||||
public static InfusionRecipe thaumiumDrill;
|
||||
public static InfusionRecipe thaumiumChainsaw;
|
||||
@@ -126,9 +112,14 @@ public class EMTRecipes {
|
||||
public static CrucibleRecipe doubleEarthSolar;
|
||||
public static CrucibleRecipe tripleEarthSolar;
|
||||
public static CrucibleRecipe portableNode;
|
||||
public static CrucibleRecipe uuMCrystal;
|
||||
public static IRecipe thaumiumPlate;
|
||||
|
||||
/// The thaumium plate EMT's recipes consume: MaterialLib's under GregTech compatibility, else EMT's own.
|
||||
private static ItemStack thaumiumPlate() {
|
||||
return Registry.enableGTCompat ? EMT_GT_Loader.plate(Materials.Thaumium, 1)
|
||||
: new ItemStack(EMTItems.itemEMTItems, 1, 5);
|
||||
}
|
||||
|
||||
private static void registerShapedRecipes() {
|
||||
|
||||
/** Crafting Recipes **/
|
||||
@@ -248,28 +239,6 @@ public class EMTRecipes {
|
||||
'X',
|
||||
OreDictionary.getOres("itemRubber").get(i));
|
||||
}
|
||||
|
||||
/** Smelting Recipes **/
|
||||
GameRegistry.addSmelting(
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 1),
|
||||
new ItemStack(ConfigItems.itemResource, 1, 6),
|
||||
0.0F);
|
||||
GameRegistry.addSmelting(
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 2),
|
||||
new ItemStack(ConfigItems.itemResource, 1, 6),
|
||||
0.0F);
|
||||
GameRegistry.addSmelting(
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 3),
|
||||
new ItemStack(ConfigItems.itemResource, 1, 3),
|
||||
0.0F);
|
||||
GameRegistry.addSmelting(
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 4),
|
||||
new ItemStack(ConfigItems.itemResource, 1, 3),
|
||||
0.0F);
|
||||
GameRegistry.addSmelting(
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 10),
|
||||
new ItemStack(EMTItems.itemEMTItems, 2, 8),
|
||||
0.0F);
|
||||
}
|
||||
|
||||
private static void registerShaplessRecipes() {}
|
||||
@@ -282,159 +251,6 @@ public class EMTRecipes {
|
||||
registerSmeltingRecipes();
|
||||
}
|
||||
|
||||
public static void registerUUMInfusionRecipes() {
|
||||
|
||||
ItemStack iridium = IC2Items.getItem("iridiumOre").copy();
|
||||
iridium.stackSize = 2;
|
||||
uraniumToIridium = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
iridium,
|
||||
4,
|
||||
EMTCraftingAspects.uuMatterInfusions,
|
||||
IC2Items.getItem("Uran238"),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell,
|
||||
uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack uranium = IC2Items.getItem("Uran238").copy();
|
||||
uranium.stackSize = 2;
|
||||
diamondToUranium = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
uranium,
|
||||
4,
|
||||
EMTCraftingAspects.lesserUUMInfusions,
|
||||
new ItemStack(Items.diamond),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack diamond = new ItemStack(Items.diamond).copy();
|
||||
diamond.stackSize = 1;
|
||||
goldToDiamond = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
diamond,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(Items.gold_ingot),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack gold = new ItemStack(Items.gold_ingot).copy();
|
||||
gold.stackSize = 2;
|
||||
ironToGold = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
gold,
|
||||
4,
|
||||
EMTCraftingAspects.cheapestUUMInfusions,
|
||||
new ItemStack(Items.iron_ingot),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack ironOre = new ItemStack(Blocks.iron_ore).copy();
|
||||
ironOre.stackSize = 16;
|
||||
stoneBricksToIronOre = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
ironOre,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(Blocks.stonebrick),
|
||||
new ItemStack[] { uuMCell, uuMCell });
|
||||
|
||||
/**
|
||||
* ItemStack copperOre = Items.getItem("copperOre").copy(); BUGGED IN 1.6 IF IC2 OREGEN IS DISABLED
|
||||
**/
|
||||
ItemStack copperOre = IC2Items.getItem("crushedCopperOre").copy();
|
||||
copperOre.stackSize = 32;
|
||||
arcaneStoneToCopperOre = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
copperOre,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
|
||||
new ItemStack[] { uuMCell, uuMCell });
|
||||
|
||||
/**
|
||||
* ItemStack tinOre = Items.getItem("tinOre").copy(); BUGGED IN 1.6 IF IC2 OREGEN IS DISABLED
|
||||
**/
|
||||
ItemStack tinOre = IC2Items.getItem("crushedTinOre").copy();
|
||||
tinOre.stackSize = 32;
|
||||
arcaneStoneBricksToTinOre = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
tinOre,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 7),
|
||||
new ItemStack[] { uuMCell, uuMCell });
|
||||
|
||||
/**
|
||||
* ItemStack leadOre = Items.getItem("leadOre").copy(); BUGGED IN 1.6 IF IC2 OREGEN IS DISABLED
|
||||
**/
|
||||
ItemStack leadOre = IC2Items.getItem("crushedLeadOre").copy();
|
||||
leadOre.stackSize = 32;
|
||||
amberBlockToLeadOre = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
leadOre,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(ConfigBlocks.blockCosmeticOpaque, 1, 0),
|
||||
new ItemStack[] { uuMCell, uuMCell });
|
||||
|
||||
ItemStack uraniumOre = IC2Items.getItem("uraniumOre").copy();
|
||||
uraniumOre.stackSize = 8;
|
||||
amberBricksToUraniumOre = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
uraniumOre,
|
||||
4,
|
||||
EMTCraftingAspects.lesserUUMInfusions,
|
||||
new ItemStack(ConfigBlocks.blockCosmeticOpaque, 1, 1),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack coal = new ItemStack(Items.coal, 1, 0).copy();
|
||||
coal.stackSize = 16;
|
||||
charcoalToCoal = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
coal,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(Items.coal, 1, 1),
|
||||
new ItemStack[] { uuMCell, uuMCell });
|
||||
|
||||
ItemStack stickyResin = IC2Items.getItem("resin").copy();
|
||||
stickyResin.stackSize = 21;
|
||||
shardToResin = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
stickyResin,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack redstone = new ItemStack(Items.redstone).copy();
|
||||
redstone.stackSize = 24;
|
||||
shardToRedstone = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
redstone,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack lapisLazuli = new ItemStack(Items.dye, 1, 4).copy();
|
||||
lapisLazuli.stackSize = 8;
|
||||
shardToLapis = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
lapisLazuli,
|
||||
4,
|
||||
EMTCraftingAspects.cheapUUMInfusions,
|
||||
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { uuMCell, uuMCell, uuMCell });
|
||||
|
||||
ItemStack glowstone = new ItemStack(Blocks.glowstone).copy();
|
||||
glowstone.stackSize = 1;
|
||||
glowstoneDustToBlock = addInfusionCraftingRecipe(
|
||||
"UU-Matter Infusion",
|
||||
glowstone,
|
||||
4,
|
||||
EMTCraftingAspects.cheapestUUMInfusions,
|
||||
new ItemStack(Items.glowstone_dust),
|
||||
new ItemStack[] { uuMCell });
|
||||
}
|
||||
|
||||
public static void registerLateRecipes() {
|
||||
/** Infusion Recipes **/
|
||||
lucrumGenerator = addInfusionCraftingRecipe(
|
||||
@@ -453,9 +269,8 @@ public class EMTRecipes {
|
||||
5,
|
||||
EMTCraftingAspects.thaumiumDrillCrafting,
|
||||
new ItemStack(IC2Items.getItem("diamondDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { new ItemStack(Items.diamond), new ItemStack(Items.diamond),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), IC2Items.getItem("denseplateiron") });
|
||||
new ItemStack[] { new ItemStack(Items.diamond), new ItemStack(Items.diamond), thaumiumPlate(),
|
||||
thaumiumPlate(), thaumiumPlate(), IC2Items.getItem("denseplateiron") });
|
||||
|
||||
thaumiumChainsaw = addInfusionCraftingRecipe(
|
||||
"Thaumium Chainsaw",
|
||||
@@ -463,9 +278,8 @@ public class EMTRecipes {
|
||||
5,
|
||||
EMTCraftingAspects.thaumiumChainsawCrafting,
|
||||
new ItemStack(EMTItems.diamondChainsaw, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { new ItemStack(Items.diamond), new ItemStack(Items.diamond),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), IC2Items.getItem("denseplateiron") });
|
||||
new ItemStack[] { new ItemStack(Items.diamond), new ItemStack(Items.diamond), thaumiumPlate(),
|
||||
thaumiumPlate(), thaumiumPlate(), IC2Items.getItem("denseplateiron") });
|
||||
|
||||
thaumicQuantumHelmet = addInfusionCraftingRecipe(
|
||||
"Quantum Goggles of Revealing",
|
||||
@@ -475,8 +289,8 @@ public class EMTRecipes {
|
||||
new ItemStack(EMTItems.nanoThaumicHelmet, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { new ItemStack(Items.diamond), new ItemStack(Items.milk_bucket),
|
||||
new ItemStack(IC2Items.getItem("quantumHelmet").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
IC2Items.getItem("iridiumPlate"), IC2Items.getItem("advancedCircuit") });
|
||||
thaumiumPlate(), thaumiumPlate(), IC2Items.getItem("iridiumPlate"),
|
||||
IC2Items.getItem("advancedCircuit") });
|
||||
|
||||
thaumicNanoHelmet = addInfusionCraftingRecipe(
|
||||
"Nanosuit Goggles of Revealing",
|
||||
@@ -486,8 +300,8 @@ public class EMTRecipes {
|
||||
new ItemStack(EMTItems.electricGoggles, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { new ItemStack(Items.diamond), new ItemStack(Items.gold_ingot),
|
||||
new ItemStack(IC2Items.getItem("nanoHelmet").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
IC2Items.getItem("carbonPlate"), IC2Items.getItem("electronicCircuit") });
|
||||
thaumiumPlate(), thaumiumPlate(), IC2Items.getItem("carbonPlate"),
|
||||
IC2Items.getItem("electronicCircuit") });
|
||||
|
||||
thaumiumOmnitool = addInfusionCraftingRecipe(
|
||||
"Thaumium Omnitool",
|
||||
@@ -496,8 +310,7 @@ public class EMTRecipes {
|
||||
EMTCraftingAspects.thaumiumOmnitoolCrafting,
|
||||
new ItemStack(EMTItems.thaumiumChainsaw, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { new ItemStack(EMTItems.thaumiumDrill, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), IC2Items.getItem("carbonPlate"),
|
||||
thaumiumPlate(), thaumiumPlate(), thaumiumPlate(), IC2Items.getItem("carbonPlate"),
|
||||
IC2Items.getItem("plateobsidian") });
|
||||
|
||||
diamondOmnitoolToThaumium = addInfusionCraftingRecipe(
|
||||
@@ -523,7 +336,7 @@ public class EMTRecipes {
|
||||
new ItemStack(Items.arrow), new ItemStack(Items.gunpowder),
|
||||
new ItemStack(Items.firework_charge), new ItemStack(ConfigItems.itemResource, 1, 1) });
|
||||
|
||||
shieldFocus = addInfusionCraftingRecipe(
|
||||
if (!Registry.enableGTCompat) shieldFocus = addInfusionCraftingRecipe(
|
||||
"Shield Focus",
|
||||
new ItemStack(EMTItems.shieldFocus),
|
||||
4,
|
||||
@@ -569,7 +382,7 @@ public class EMTRecipes {
|
||||
new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||
IC2Items.getItem("iridiumPlate"), IC2Items.getItem("overclockerUpgrade") });
|
||||
|
||||
rockbreakerDrill = addInfusionCraftingRecipe(
|
||||
if (!Registry.enableGTCompat) rockbreakerDrill = addInfusionCraftingRecipe(
|
||||
"Drill of the Rockbreaker",
|
||||
getChargedItem(EMTItems.rockbreakerDrill, 10),
|
||||
6,
|
||||
@@ -669,8 +482,7 @@ public class EMTRecipes {
|
||||
new ItemStack[] { IC2Items.getItem("electroFurnace"),
|
||||
new ItemStack(ConfigBlocks.blockMetalDevice, 1, 9), new ItemStack(Blocks.end_stone),
|
||||
new ItemStack(Blocks.end_stone), new ItemStack(Blocks.iron_block),
|
||||
new ItemStack(Blocks.iron_block), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5) });
|
||||
new ItemStack(Blocks.iron_block), thaumiumPlate(), thaumiumPlate() });
|
||||
|
||||
if (Registry.enableGTCompat) {
|
||||
tripleCompressedSolar = addInfusionCraftingRecipe(
|
||||
@@ -703,9 +515,8 @@ public class EMTRecipes {
|
||||
4,
|
||||
EMTCraftingAspects.chargeFocus,
|
||||
new ItemStack(IC2Items.getItem("advBattery").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { IC2Items.getItem("generator"), IC2Items.getItem("batBox"),
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5), new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack[] { IC2Items.getItem("generator"), IC2Items.getItem("batBox"), thaumiumPlate(),
|
||||
thaumiumPlate(), new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE),
|
||||
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE) });
|
||||
|
||||
wandChargeFocus = addInfusionCraftingRecipe(
|
||||
@@ -916,7 +727,7 @@ public class EMTRecipes {
|
||||
'X',
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 13),
|
||||
'Y',
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 5),
|
||||
thaumiumPlate(),
|
||||
'Z',
|
||||
IC2Items.getItem("plateiron"));
|
||||
|
||||
@@ -1070,12 +881,6 @@ public class EMTRecipes {
|
||||
itemStack,
|
||||
EMTCraftingAspects.portableNode);
|
||||
|
||||
uuMCrystal = addCrucibleRecipe(
|
||||
"UU-Matter Infusion",
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 15),
|
||||
Ic2Items.uuMatterCell.copy(),
|
||||
EMTCraftingAspects.uuMatterCrystal);
|
||||
|
||||
/** IC2 Stuff related recipes **/
|
||||
|
||||
final boolean isDreamcraftNotLoaded = !Loader.isModLoaded("dreamcraft");
|
||||
|
||||
@@ -554,33 +554,6 @@ public class EMTResearches {
|
||||
}
|
||||
}
|
||||
|
||||
if (!EMTConfigHandler.uuMInfusionResearch) {
|
||||
new EMTResearchItem(
|
||||
"UU-Matter Infusion",
|
||||
EMTResearchAspects.uuMInfusion,
|
||||
5,
|
||||
5,
|
||||
3,
|
||||
new ItemStack(EMTItems.itemEMTItems, 1, 15)).setParentsHidden("Electric Magic Tools").setConcealed()
|
||||
.registerResearchItem().setPages(
|
||||
new ResearchPage(""),
|
||||
new ResearchPage(EMTRecipes.uuMCrystal),
|
||||
new ResearchPage(EMTRecipes.charcoalToCoal),
|
||||
new ResearchPage(EMTRecipes.glowstoneDustToBlock),
|
||||
new ResearchPage(EMTRecipes.stoneBricksToIronOre),
|
||||
new ResearchPage(EMTRecipes.arcaneStoneToCopperOre),
|
||||
new ResearchPage(EMTRecipes.arcaneStoneBricksToTinOre),
|
||||
new ResearchPage(EMTRecipes.amberBlockToLeadOre),
|
||||
new ResearchPage(EMTRecipes.amberBricksToUraniumOre),
|
||||
new ResearchPage(EMTRecipes.shardToResin),
|
||||
new ResearchPage(EMTRecipes.shardToRedstone),
|
||||
new ResearchPage(EMTRecipes.shardToLapis),
|
||||
new ResearchPage(EMTRecipes.ironToGold),
|
||||
new ResearchPage(EMTRecipes.goldToDiamond),
|
||||
new ResearchPage(EMTRecipes.diamondToUranium),
|
||||
new ResearchPage(EMTRecipes.uraniumToIridium));
|
||||
}
|
||||
|
||||
if (!EMTConfigHandler.portableNodeResarch) {
|
||||
new EMTResearchItem(
|
||||
"Portable Node",
|
||||
|
||||
@@ -28,7 +28,6 @@ public class Registry {
|
||||
}
|
||||
EMTRecipes.registerLateRecipes();
|
||||
// new EMT_GTNH_Recipes_And_Researches().run();
|
||||
EMTRecipes.registerUUMInfusionRecipes();
|
||||
EMTResearches.register();
|
||||
if (enableGTCompat) {
|
||||
Solars.registerReverseRecipes();
|
||||
|
||||
@@ -59,6 +59,6 @@ public class ItemNanoBootsTraveller extends ItemElectricBootsTraveller implement
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
return Hazard.STANDARD_HAZARDS.contains(hazard);
|
||||
}
|
||||
}
|
||||
@@ -58,6 +58,6 @@ public class ItemNanoGoggles extends ItemElectricGoggles implements IHazardProte
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
return Hazard.STANDARD_HAZARDS.contains(hazard);
|
||||
}
|
||||
}
|
||||
@@ -187,6 +187,6 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
return Hazard.STANDARD_HAZARDS.contains(hazard);
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,9 @@ import emt.init.EMTBlocks;
|
||||
import emt.item.block.ItemBlockSolars;
|
||||
import emt.util.EMTConfigHandler;
|
||||
import gregtech.api.enums.GTValues;
|
||||
import gregtech.api.enums.Materials;
|
||||
import gregtech.api.enums.TierEU;
|
||||
import gregtech.api.enums.materials.Materials;
|
||||
import gregtech.api.material.MaterialUtils;
|
||||
import thaumcraft.api.aspects.Aspect;
|
||||
|
||||
// Solar Factory
|
||||
@@ -111,6 +112,8 @@ public enum Solars {
|
||||
Octuple_Compressed_Ignis(EMTConfigHandler.octupleCompressedSolarOutput, FIRE, 4, 2,
|
||||
"Octuple_Compressed_Ignis_Solar"),;
|
||||
|
||||
public static final Solars[] VALUES = values();
|
||||
|
||||
private static final LinkedHashMap<Long, Solars> cachemap = new LinkedHashMap<>();
|
||||
final int instance, meta;
|
||||
final Aspect aspect;
|
||||
@@ -131,17 +134,17 @@ public enum Solars {
|
||||
|
||||
@Nullable
|
||||
private static Solars getBaseSolar(double output) {
|
||||
for (Solars s : Solars.values()) {
|
||||
for (Solars s : Solars.VALUES) {
|
||||
if (s.output == output && s.aspect == null) return s;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void registerReverseRecipes() {
|
||||
for (Solars s : Solars.values()) {
|
||||
for (Solars s : Solars.VALUES) {
|
||||
if (s.aspect != null) {
|
||||
GTValues.RA.stdBuilder().itemInputs(new ItemStack(EMTBlocks.solars[s.instance], 1, s.meta))
|
||||
.fluidInputs(Materials.Chlorine.getGas(1000))
|
||||
.fluidInputs(MaterialUtils.gas(Materials.Chlorine, 1000))
|
||||
.itemOutputs(
|
||||
new ItemStack(
|
||||
EMTBlocks.solars[getBaseSolar(s.output).instance],
|
||||
@@ -153,14 +156,14 @@ public enum Solars {
|
||||
}
|
||||
|
||||
public static void populateCache() {
|
||||
for (Solars s : Solars.values()) {
|
||||
for (Solars s : Solars.VALUES) {
|
||||
cachemap.put(s.id, s);
|
||||
}
|
||||
}
|
||||
|
||||
public static int getCountOfInstances() {
|
||||
int ret = 0;
|
||||
for (Solars s : Solars.values()) {
|
||||
for (Solars s : Solars.VALUES) {
|
||||
ret = Math.max(s.instance, ret);
|
||||
}
|
||||
return ret + 1;
|
||||
@@ -168,7 +171,7 @@ public enum Solars {
|
||||
|
||||
public static int getCountOfMetas(int instance) {
|
||||
int ret = 0;
|
||||
for (Solars s : Solars.values()) {
|
||||
for (Solars s : Solars.VALUES) {
|
||||
if (s.instance == instance) {
|
||||
ret = Math.max(s.meta, ret);
|
||||
}
|
||||
@@ -200,7 +203,7 @@ public enum Solars {
|
||||
final long id = (long) instance << 4 | meta;
|
||||
Solars cached = cachemap.get(id);
|
||||
if (cached != null) return cached;
|
||||
for (Solars s : Solars.values()) {
|
||||
for (Solars s : Solars.VALUES) {
|
||||
cachemap.put(s.id, s);
|
||||
if (s.id == id) return s;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,10 @@ public class EMTConfigHandler {
|
||||
public static final String RESEARCH = "Research";
|
||||
public static final String VALUES = "Numeric Values";
|
||||
public static final String OUTPUTS = "Essentia Generator Outputs";
|
||||
|
||||
private static final String IGNORED_UNDER_GTNH = "Ignored when GTNH (dreamcraft) is installed: "
|
||||
+ "dungeon loot is controlled by config/TooMuchLoot/loot/dungeonChest.xml in GTNH.";
|
||||
|
||||
public static Configuration config;
|
||||
public static int etherealProcessorBaseSpeed;
|
||||
public static int etherealProcessorBonus;
|
||||
@@ -130,7 +134,6 @@ public class EMTConfigHandler {
|
||||
public static boolean airSolarsResearch;
|
||||
public static boolean earthSolarsResearch;
|
||||
public static boolean saxumGenResearch;
|
||||
public static boolean uuMInfusionResearch;
|
||||
public static boolean portableNodeResarch;
|
||||
public static boolean electricHoeGrowthResearch;
|
||||
public static boolean chargeFocusResearch;
|
||||
@@ -187,19 +190,25 @@ public class EMTConfigHandler {
|
||||
"Disable smoke effect for boots",
|
||||
false,
|
||||
"This effect only appears when the player isn't on the ground").getBoolean(smoke);
|
||||
oneRingSpawn = config
|
||||
.get(RANDOM, "Disable One Ring in dungeon chests", true, "There is a recipe to get this item.")
|
||||
.getBoolean(oneRingSpawn);
|
||||
oneRingSpawn = config.get(
|
||||
RANDOM,
|
||||
"Disable One Ring in dungeon chests",
|
||||
true,
|
||||
"There is a recipe to get this item. " + IGNORED_UNDER_GTNH).getBoolean(oneRingSpawn);
|
||||
chanceTaintedMjolnir = config.get(
|
||||
RANDOM,
|
||||
"Tainted Mjolnir spawning change",
|
||||
25,
|
||||
"If you have a lot of mods adding dungeon loot, you should definetely increase this").getInt();
|
||||
"If you have a lot of mods adding dungeon loot, you should definetely increase this. "
|
||||
+ IGNORED_UNDER_GTNH)
|
||||
.getInt();
|
||||
chanceOneRing = config.get(
|
||||
RANDOM,
|
||||
"One Ring spawning chance",
|
||||
15,
|
||||
"If you have a lot of mods adding dungeon loot, you should definetely increase this").getInt();
|
||||
"If you have a lot of mods adding dungeon loot, you should definetely increase this. "
|
||||
+ IGNORED_UNDER_GTNH)
|
||||
.getInt();
|
||||
removeAmberAndCinnabarMacerating = config
|
||||
.get(
|
||||
RANDOM,
|
||||
@@ -420,7 +429,6 @@ public class EMTConfigHandler {
|
||||
airSolarsResearch = config.get(RESEARCH, "Air Solar Panels", false).getBoolean(airSolarsResearch);
|
||||
earthSolarsResearch = config.get(RESEARCH, "Earth Solar Panels", false).getBoolean(earthSolarsResearch);
|
||||
saxumGenResearch = config.get(RESEARCH, "Saxum Generator", false).getBoolean(saxumGenResearch);
|
||||
uuMInfusionResearch = config.get(RESEARCH, "UU-Mater Infusion", false).getBoolean(uuMInfusionResearch);
|
||||
portableNodeResarch = config.get(RESEARCH, "Portable Node", false).getBoolean(portableNodeResarch);
|
||||
electricHoeGrowthResearch = config.get(RESEARCH, "Electric Hoe of Growth", false)
|
||||
.getBoolean(electricHoeGrowthResearch);
|
||||
|
||||
@@ -67,14 +67,6 @@ public class EMTCraftingAspects {
|
||||
.add(Aspect.EXCHANGE, 16);
|
||||
public static AspectList earthSolars = new AspectList().add(Aspect.EARTH, 16).add(Aspect.MAGIC, 16)
|
||||
.add(Aspect.EXCHANGE, 16);
|
||||
public static AspectList uuMatterInfusions = new AspectList().add(Aspect.FIRE, 32).add(Aspect.WATER, 32)
|
||||
.add(Aspect.AIR, 32).add(Aspect.EARTH, 32).add(Aspect.ORDER, 32).add(Aspect.ENTROPY, 32);
|
||||
public static AspectList lesserUUMInfusions = new AspectList().add(Aspect.FIRE, 16).add(Aspect.WATER, 16)
|
||||
.add(Aspect.AIR, 16).add(Aspect.EARTH, 16).add(Aspect.ORDER, 16).add(Aspect.ENTROPY, 16);
|
||||
public static AspectList cheapUUMInfusions = new AspectList().add(Aspect.FIRE, 8).add(Aspect.WATER, 8)
|
||||
.add(Aspect.AIR, 8).add(Aspect.EARTH, 8).add(Aspect.ORDER, 8).add(Aspect.ENTROPY, 8);
|
||||
public static AspectList cheapestUUMInfusions = new AspectList().add(Aspect.FIRE, 4).add(Aspect.WATER, 4)
|
||||
.add(Aspect.AIR, 4).add(Aspect.EARTH, 4).add(Aspect.ORDER, 4).add(Aspect.ENTROPY, 4);
|
||||
public static AspectList portableNode = new AspectList().add(Aspect.MAGIC, 32).add(Aspect.AURA, 32)
|
||||
.add(Aspect.GREED, 32);
|
||||
public static AspectList electricHoeGrowth = new AspectList().add(Aspect.ENERGY, 32).add(Aspect.PLANT, 25)
|
||||
@@ -96,6 +88,4 @@ public class EMTCraftingAspects {
|
||||
public static AspectList quantumWing = new AspectList().add(Aspect.FLIGHT, 48).add(Aspect.AIR, 32)
|
||||
.add(Aspect.MECHANISM, 48).add(Aspect.ENERGY, 32).add(Aspect.ARMOR, 48);
|
||||
public static AspectList aerGenerator = new AspectList().add(Aspect.EXCHANGE, 16).add(Aspect.AIR, 8);
|
||||
public static AspectList uuMatterCrystal = new AspectList().add(Aspect.CRYSTAL, 8).add(Aspect.COLD, 8)
|
||||
.add(Aspect.MAGIC, 8);
|
||||
}
|
||||
@@ -4,11 +4,17 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.WeightedRandomChestContent;
|
||||
import net.minecraftforge.common.ChestGenHooks;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import emt.init.EMTItems;
|
||||
|
||||
public class EMTDungeonChestGenerator {
|
||||
|
||||
public static void generateLoot() {
|
||||
// GTNH replaces the whole dungeonChest table from config/TooMuchLoot/loot/dungeonChest.xml at
|
||||
// FMLServerStartingEvent, which discards everything registered here. Edit that file instead.
|
||||
if (Loader.isModLoaded("dreamcraft")) {
|
||||
return;
|
||||
}
|
||||
if (!EMTConfigHandler.thorHammerResearch) {
|
||||
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(
|
||||
new WeightedRandomChestContent(
|
||||
|
||||
@@ -73,8 +73,6 @@ public class EMTResearchAspects {
|
||||
public static AspectList airSolars = new AspectList().add(Aspect.AIR, 4).add(Aspect.MAGIC, 3).add(Aspect.ENERGY, 4);
|
||||
public static AspectList earthSolars = new AspectList().add(Aspect.EARTH, 4).add(Aspect.MAGIC, 3)
|
||||
.add(Aspect.ENERGY, 4);
|
||||
public static AspectList uuMInfusion = new AspectList().add(Aspect.ELDRITCH, 4).add(Aspect.MAGIC, 4)
|
||||
.add(Aspect.CRAFT, 5);
|
||||
public static AspectList portableNode = new AspectList().add(Aspect.MAGIC, 5).add(Aspect.AURA, 5)
|
||||
.add(Aspect.GREED, 5);
|
||||
public static AspectList electricHoeGrowth = new AspectList().add(Aspect.ENERGY, 4).add(Aspect.PLANT, 4)
|
||||
|
||||
@@ -132,11 +132,11 @@ tile.EMT.solar.fire.name=Feuer Infundierte Verdichte Solarzelle
|
||||
tile.EMT.solar.doublefire.name=Feuer Infundierte Doppelt Verdichte Solarzelle
|
||||
tile.EMT.solar.triplefire.name=Feuer Infundierte Dreifach Verdichte Solarzelle
|
||||
tile.EMT.solar.air.name=Luft Infundierte Verdichte Solarzelle
|
||||
tile.EMT.solar2.doubleair.name=Luft Infundierte Doppelt Verdichte Solarzelle
|
||||
tile.EMT.solar2.tripleair.name=Luft Infundierte Dreifach Verdichte Solarzelle
|
||||
tile.EMT.solar2.earth.name=Erde Infundierte Verdichte Solarzelle
|
||||
tile.EMT.solar2.doubleearth.name=Erde Infundierte Doppelt Verdichte Solarzelle
|
||||
tile.EMT.solar2.tripleearth.name=Erde Infundierte Dreifach Verdichte Solarzelle
|
||||
tile.EMT.solar.doubleair.name=Luft Infundierte Doppelt Verdichte Solarzelle
|
||||
tile.EMT.solar.tripleair.name=Luft Infundierte Dreifach Verdichte Solarzelle
|
||||
tile.EMT.solar.earth.name=Erde Infundierte Verdichte Solarzelle
|
||||
tile.EMT.solar.doubleearth.name=Erde Infundierte Doppelt Verdichte Solarzelle
|
||||
tile.EMT.solar.tripleearth.name=Erde Infundierte Dreifach Verdichte Solarzelle
|
||||
|
||||
|
||||
#=============Thaumonomicon Texts=============
|
||||
@@ -321,9 +321,6 @@ emt.rsname.Earth Infused Solar Panels=Earth Infused Solar Panels
|
||||
emt.tag.Earth Infused Solar Panels=Not for claustrophobic persons
|
||||
emt.text.Earth Infused Solar Panels=You have decided to get closer to the core. These Solar Panels produce more energy under Y = 10, but keep in mind the rebellious spirits need to be able to see the sun to work.
|
||||
|
||||
emt.rsname.UU-Matter Infusion=UU-Matter Infusion
|
||||
emt.tag.UU-Matter Infusion=A magically charged metamorphic liquid...
|
||||
emt.text.UU-Matter Infusion=You have always found the powers possessed by UU-Mater very strange, even... magical looking, especially the ability to take a large number of shapes if manipulated correctly. And here you are, having discovered a way to shape the liquid through the process of Infusion Crafting. Many recipes are available, and all of them use between 4 to 32 of each primal aspect.
|
||||
|
||||
emt.rsname.Portable Node=Portable Node
|
||||
emt.tag.Portable Node=Randomly convenient
|
||||
|
||||
@@ -174,16 +174,16 @@ tile.EMT.Sextuple_Compressed_Ignis_Solar.name=Sextuple Compressed Ignis Solar
|
||||
tile.EMT.Septuple_Compressed_Ignis_Solar.name=Septuple Compressed Ignis Solar
|
||||
tile.EMT.Octuple_Compressed_Ignis_Solar.name=Octuple Compressed Ignis Solar
|
||||
tile.EMT.solar.air.name=Air Infused Compressed Solar Panel
|
||||
tile.EMT.solar2.doubleair.name=Air Infused Double Compressed Solar Panel
|
||||
tile.EMT.solar2.tripleair.name=Air Infused Triple Compressed Solar Panel
|
||||
tile.EMT.solar.doubleair.name=Air Infused Double Compressed Solar Panel
|
||||
tile.EMT.solar.tripleair.name=Air Infused Triple Compressed Solar Panel
|
||||
tile.EMT.Quadruple_Compressed_Aer_Solar.name=Quadruple Compressed Aer Solar
|
||||
tile.EMT.Quintuple_Compressed_Aer_Solar.name=Quintuple Compressed Aer Solar
|
||||
tile.EMT.Sextuple_Compressed_Aer_Solar.name=Sextuple Compressed Aer Solar
|
||||
tile.EMT.Septuple_Compressed_Aer_Solar.name=Septuple Compressed Aer Solar
|
||||
tile.EMT.Octuple_Compressed_Aer_Solar.name=Octuple Compressed Aer Solar
|
||||
tile.EMT.solar2.earth.name=Earth Infused Compressed Solar Panel
|
||||
tile.EMT.solar2.doubleearth.name=Earth Infused Double Compressed Solar Panel
|
||||
tile.EMT.solar2.tripleearth.name=Earth Infused Triple Compressed Solar Panel
|
||||
tile.EMT.solar.earth.name=Earth Infused Compressed Solar Panel
|
||||
tile.EMT.solar.doubleearth.name=Earth Infused Double Compressed Solar Panel
|
||||
tile.EMT.solar.tripleearth.name=Earth Infused Triple Compressed Solar Panel
|
||||
tile.EMT.Quadruple_Compressed_Terra_Solar.name=Quadruple Compressed Terra Solar
|
||||
tile.EMT.Quintuple_Compressed_Terra_Solar.name=Quintuple Compressed Terra Solar
|
||||
tile.EMT.Sextuple_Compressed_Terra_Solar.name=Sextuple Compressed Terra Solar
|
||||
@@ -376,9 +376,6 @@ emt.rsname.Earth Infused Solar Panels=Earth Infused Solar Panels
|
||||
emt.tag.Earth Infused Solar Panels=Not for claustrophobic persons
|
||||
emt.text.Earth Infused Solar Panels=You have decided to get closer to the core. These Solar Panels produce more energy under Y = 10, but keep in mind the rebellious spirits need to be able to see the sun to work.
|
||||
|
||||
emt.rsname.UU-Matter Infusion=UU-Matter Infusion
|
||||
emt.tag.UU-Matter Infusion=A magically charged metamorphic liquid...
|
||||
emt.text.UU-Matter Infusion=You have always found the powers possessed by UU-Matter very strange, even... magical looking, especially the ability to take a large number of shapes if manipulated correctly. And here you are, having discovered a way to shape the liquid through the process of Infusion Crafting. Many recipes are available, and all of them use between 4 to 32 of each primal aspect.
|
||||
|
||||
emt.rsname.Portable Node=Portable Node
|
||||
emt.tag.Portable Node=Randomly convenient
|
||||
|
||||
@@ -160,16 +160,16 @@ tile.EMT.Sextuple_Compressed_Ignis_Solar.name=Наполненная огнём,
|
||||
tile.EMT.Septuple_Compressed_Ignis_Solar.name=Наполненная огнём, семикратно сжатая солнечная панель
|
||||
tile.EMT.Octuple_Compressed_Ignis_Solar.name=Наполненная огнём, восьмикратная сжатая солнечная панель
|
||||
tile.EMT.solar.air.name=Наполненная воздухом, сжатая солнечная панель
|
||||
tile.EMT.solar2.doubleair.name=Наполненная воздухом, дважды сжатая солнечная панель
|
||||
tile.EMT.solar2.tripleair.name=Наполненная воздухом, трижды сжатая солнечная панель
|
||||
tile.EMT.solar.doubleair.name=Наполненная воздухом, дважды сжатая солнечная панель
|
||||
tile.EMT.solar.tripleair.name=Наполненная воздухом, трижды сжатая солнечная панель
|
||||
tile.EMT.Quadruple_Compressed_Aer_Solar.name=Наполненная воздухом, четырежды сжатая солнечная панель
|
||||
tile.EMT.Quintuple_Compressed_Aer_Solar.name=Наполненная воздухом, пятикратно сжатая солнечная панель
|
||||
tile.EMT.Sextuple_Compressed_Aer_Solar.name=Наполненная воздухом, шестикратно сжатая солнечная панель
|
||||
tile.EMT.Septuple_Compressed_Aer_Solar.name=Наполненная воздухом, семикратно сжатая солнечная панель
|
||||
tile.EMT.Octuple_Compressed_Aer_Solar.name=Наполненная воздухом, восьмикратная сжатая солнечная панель
|
||||
tile.EMT.solar2.earth.name=Наполненная землёй, сжатая солнечная панель
|
||||
tile.EMT.solar2.doubleearth.name=Наполненная землёй, дважды сжатая солнечная панель
|
||||
tile.EMT.solar2.tripleearth.name=Наполненная землёй, трижды сжатая солнечная панель
|
||||
tile.EMT.solar.earth.name=Наполненная землёй, сжатая солнечная панель
|
||||
tile.EMT.solar.doubleearth.name=Наполненная землёй, дважды сжатая солнечная панель
|
||||
tile.EMT.solar.tripleearth.name=Наполненная землёй, трижды сжатая солнечная панель
|
||||
tile.EMT.Quadruple_Compressed_Terra_Solar.name=Наполненная землёй, четырежды сжатая солнечная панель
|
||||
tile.EMT.Quintuple_Compressed_Terra_Solar.name=Наполненная землёй, пятикратно сжатая солнечная панель
|
||||
tile.EMT.Sextuple_Compressed_Terra_Solar.name=Наполненная землёй, шестикратно сжатая солнечная панель
|
||||
@@ -363,9 +363,6 @@ emt.rsname.Earth Infused Solar Panels=Наполненная землёй, сж
|
||||
emt.tag.Earth Infused Solar Panels=Не для людей, страдающих клаустрофобией
|
||||
emt.text.Earth Infused Solar Panels=Вы решили приблизиться к ядру. Эти солнечные панели производят больше энергии, когда расположены под Y = 10, но имейте в виду, что непокорные духи должны видеть солнце, чтобы работать.
|
||||
|
||||
emt.rsname.UU-Matter Infusion=Наполнение материей
|
||||
emt.tag.UU-Matter Infusion=Метаморфическая жидкость, заряженная магией...
|
||||
emt.text.UU-Matter Infusion=Вы всегда догадывались, что материя обладает странной, и на вид... магической силой, особенно способностью принимать большое количество разных форм, при правильной манипуляции. И Вы, обнаружили способ сформировать жидкость через процесс наполнения. Стало доступно много рецептов и все они используют от 4 до 32 первичных аспектов.
|
||||
|
||||
emt.rsname.Portable Node=Переносной узел
|
||||
emt.tag.Portable Node=Случайное удобство
|
||||
|
||||
@@ -160,16 +160,16 @@ tile.EMT.Sextuple_Compressed_Ignis_Solar.name=火注魔太阳能(6级)
|
||||
tile.EMT.Septuple_Compressed_Ignis_Solar.name=火注魔太阳能(7级)
|
||||
tile.EMT.Octuple_Compressed_Ignis_Solar.name=火注魔太阳能(8级)
|
||||
tile.EMT.solar.air.name=风注魔太阳能(1级)
|
||||
tile.EMT.solar2.doubleair.name=风注魔太阳能(2级)
|
||||
tile.EMT.solar2.tripleair.name=风注魔太阳能(3级)
|
||||
tile.EMT.solar.doubleair.name=风注魔太阳能(2级)
|
||||
tile.EMT.solar.tripleair.name=风注魔太阳能(3级)
|
||||
tile.EMT.Quadruple_Compressed_Aer_Solar.name=风注魔太阳能(4级)
|
||||
tile.EMT.Quintuple_Compressed_Aer_Solar.name=风注魔太阳能(5级)
|
||||
tile.EMT.Sextuple_Compressed_Aer_Solar.name=风注魔太阳能(6级)
|
||||
tile.EMT.Septuple_Compressed_Aer_Solar.name=风注魔太阳能(7级)
|
||||
tile.EMT.Octuple_Compressed_Aer_Solar.name=风注魔太阳能(8级)
|
||||
tile.EMT.solar2.earth.name=地注魔太阳能(1级)
|
||||
tile.EMT.solar2.doubleearth.name=地注魔太阳能(2级)
|
||||
tile.EMT.solar2.tripleearth.name=地注魔太阳能(3级)
|
||||
tile.EMT.solar.earth.name=地注魔太阳能(1级)
|
||||
tile.EMT.solar.doubleearth.name=地注魔太阳能(2级)
|
||||
tile.EMT.solar.tripleearth.name=地注魔太阳能(3级)
|
||||
tile.EMT.Quadruple_Compressed_Terra_Solar.name=地注魔太阳能(4级)
|
||||
tile.EMT.Quintuple_Compressed_Terra_Solar.name=地注魔太阳能(5级)
|
||||
tile.EMT.Sextuple_Compressed_Terra_Solar.name=地注魔太阳能(6级)
|
||||
@@ -358,9 +358,6 @@ emt.rsname.Earth Infused Solar Panels=注魔太阳能发电机(地)
|
||||
emt.tag.Earth Infused Solar Panels=非幽闭症患者定制
|
||||
emt.text.Earth Infused Solar Panels=你已决定向地心更进一步.这些太阳能在Y=10层以下的地方工作,但是记住它们仍需要在太阳的沐浴下才能工作.
|
||||
|
||||
emt.rsname.UU-Matter Infusion=UU物质注魔
|
||||
emt.tag.UU-Matter Infusion=蕴含魔力的百变液体...
|
||||
emt.text.UU-Matter Infusion=你总是觉得UU物质拥有的力量十分奇特,甚至...看起来像魔法般神奇,特别是大量种类的正确排列能合成物质.然后现在,你已发现了通过注魔合成塑造uu液体的方法.你能使用许多种合成,并且他们大都消耗4~32单位每种基础要素源质.
|
||||
|
||||
emt.rsname.Portable Node=便携式节点
|
||||
emt.tag.Portable Node=处处实用
|
||||
|
||||
Reference in new issue
Block a user