Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba22dbb69b | ||
|
|
3e46e3df5c | ||
|
|
be2e78d2e0 | ||
|
|
eda4cb5f59 | ||
|
|
e737d8d212 | ||
|
|
9a17e25da6 | ||
|
|
0fd5269d7b | ||
|
|
96ebbf9d05 | ||
|
|
5419892c90 | ||
|
|
48d007250b | ||
|
|
e418bbe173 | ||
|
|
5443c00f58 | ||
|
|
013408588e | ||
|
|
5a279266e1 | ||
|
|
96ba092c53 | ||
|
|
c057c4c88a | ||
|
|
727ab4820e |
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#
|
||||
#Tue Jul 07 09:13:42 MSK 2015
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
@@ -70,6 +70,9 @@ jar {
|
||||
"Implementation-Version": project.version,
|
||||
"Git-Hash": gitHash
|
||||
)
|
||||
exclude "baubles/**"
|
||||
exclude "ic2/**"
|
||||
exclude "thaumcraft/**"
|
||||
}
|
||||
|
||||
// add a source jar
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
#Wed Feb 24 14:31:53 PDT 2015
|
||||
package_group=com.tombenpotter.emt
|
||||
mc_version=1.7.10
|
||||
forge_version=10.13.2.1307
|
||||
mod_version=2.0.0Alpha2
|
||||
forge_version=10.13.4.1481
|
||||
mod_version=1.2.0B1
|
||||
mod_name=ElectroMagicTools
|
||||
@@ -22,21 +22,26 @@ import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
import tombenpotter.emt.common.commands.CommandOutputs;
|
||||
import tombenpotter.emt.common.Registry;
|
||||
import tombenpotter.emt.common.entities.BaseEntityRegistry;
|
||||
import tombenpotter.emt.common.network.PacketEMTKeys;
|
||||
import tombenpotter.emt.common.util.*;
|
||||
import tombenpotter.emt.proxies.CommonProxy;
|
||||
|
||||
import static tombenpotter.emt.common.util.TextHelper.localize;
|
||||
|
||||
@Mod(modid = ModInformation.modid, name = ModInformation.name, version = ModInformation.version, guiFactory = ModInformation.guiFactory, dependencies = ModInformation.depend)
|
||||
public class ElectroMagicTools {
|
||||
|
||||
public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel("EMT");
|
||||
|
||||
@SidedProxy(clientSide = ModInformation.clientProxy, serverSide = ModInformation.commonProxy)
|
||||
public static CommonProxy proxy;
|
||||
@@ -56,6 +61,7 @@ public class ElectroMagicTools {
|
||||
Registry.register();
|
||||
EssentiasOutputs.addPrimalOutputs();
|
||||
EssentiasOutputs.addOutputs();
|
||||
registerPackets();
|
||||
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.preInit.end"));
|
||||
}
|
||||
@@ -68,7 +74,7 @@ public class ElectroMagicTools {
|
||||
proxy.load();
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.init.mobDrops"));
|
||||
MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.init.loot"));
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.init.dungeon"));
|
||||
DungeonChestGenerator.generateLoot();
|
||||
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.init.entities"));
|
||||
@@ -93,4 +99,8 @@ public class ElectroMagicTools {
|
||||
public void onFMLServerStart(FMLServerStartingEvent event) {
|
||||
event.registerServerCommand(new CommandOutputs());
|
||||
}
|
||||
|
||||
public void registerPackets(){
|
||||
INSTANCE.registerMessage(PacketEMTKeys.class, PacketEMTKeys.class, 0, Side.SERVER);
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ public class ModInformation {
|
||||
|
||||
public static final String name = "Electro-Magic Tools";
|
||||
public static final String modid = "EMT";
|
||||
public static final String version = "2.0.0Alpha4";
|
||||
public static final String version = "1.2.0";
|
||||
public static final String texturePath = "electromagictools";
|
||||
public static final String guiFactory = "tombenpotter.emt.client.gui.config.EMTGuiFactory";
|
||||
public static final String clientProxy = "tombenpotter.emt.proxies.ClientProxy";
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
package tombenpotter.emt.client;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
import net.minecraft.client.settings.KeyBinding;
|
||||
|
||||
public class EMTKeys{
|
||||
private static Map<String, KeyBinding> keys = new HashMap<String, KeyBinding>();
|
||||
|
||||
public static void addKey(KeyBinding kb, String name){
|
||||
keys.put(name, kb);
|
||||
}
|
||||
|
||||
public static void registerKeys(){
|
||||
addKey(new KeyBinding("UnEquip", Keyboard.KEY_Z, "EMT"), "UnEquip");
|
||||
|
||||
for(Entry<String, KeyBinding> entry : keys.entrySet()){
|
||||
ClientRegistry.registerKeyBinding(entry.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public static KeyBinding getKey(String name){
|
||||
|
||||
for(Entry<String, KeyBinding> entry : keys.entrySet()){
|
||||
if(name.equals(entry.getKey())){
|
||||
return entry.getValue();
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,6 @@ public class EMTGuiConfig extends GuiConfig {
|
||||
list.add(new ConfigElement<ConfigCategory>(config.getCategory(CATEGORY_VALUES.toLowerCase())));
|
||||
list.add(new ConfigElement<ConfigCategory>(config.getCategory(CATEGORY_RESEARCH.toLowerCase())));
|
||||
list.add(new ConfigElement<ConfigCategory>(config.getCategory(CATEGORY_OUTPUTS.toLowerCase())));
|
||||
list.add(new ConfigElement<ConfigCategory>(config.getCategory(CATEGORY_MODULES.toLowerCase())));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,241 @@
|
||||
package tombenpotter.emt.client.model;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBow;
|
||||
import net.minecraft.util.MathHelper;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ModelCpecialArmor extends ModelBiped
|
||||
{
|
||||
public ModelRenderer bipedHead;
|
||||
public ModelRenderer bipedBody;
|
||||
public ModelRenderer bipedRightArm;
|
||||
public ModelRenderer bipedLeftArm;
|
||||
|
||||
public ModelRenderer rightWing;
|
||||
public ModelRenderer leftWing;
|
||||
public ModelRenderer center;
|
||||
|
||||
public ModelRenderer jetpack;
|
||||
|
||||
public boolean isJumping;
|
||||
|
||||
public int type = 0;//0 - nothing, 1 - jetpack, 2 - wings
|
||||
public int heldItemLeft;
|
||||
public int heldItemRight;
|
||||
public boolean isSneak;
|
||||
public boolean aimedBow;
|
||||
private static final String __OBFID = "CL_00000840";
|
||||
|
||||
public ModelCpecialArmor()
|
||||
{
|
||||
this(0.0F, 0);
|
||||
}
|
||||
|
||||
public ModelCpecialArmor(float p_i1148_1_, int type)
|
||||
{
|
||||
this(p_i1148_1_, 0.0F, 64, 32, type);
|
||||
}
|
||||
|
||||
public ModelCpecialArmor(float p_i1149_1_, float p_i1149_2_, int p_i1149_3_, int p_i1149_4_, int type)
|
||||
{
|
||||
|
||||
this.type = type;
|
||||
switch(this.type){
|
||||
case 1 :
|
||||
this.textureWidth = 128;
|
||||
this.textureHeight = 96;
|
||||
this.jetpack = new ModelRenderer(this, 16, 69);
|
||||
this.jetpack.setTextureSize(64, 48);
|
||||
this.jetpack.addBox(-4.0F, -12.0F, -2.0F, 8, 12 * 2, 4, p_i1149_1_ * 2);
|
||||
this.jetpack.setRotationPoint(0.0F, 0.0F + p_i1149_2_, 0.0F);
|
||||
break;
|
||||
|
||||
case 2 :
|
||||
this.textureWidth = 64;
|
||||
this.textureHeight = 64;
|
||||
rightWing = new ModelRenderer(this, 24, 0 + 32);
|
||||
rightWing.addBox(-11F, -1F, 0F, 11, 13, 1);
|
||||
rightWing.setRotationPoint(-2F, 0F, 3F);
|
||||
rightWing.setTextureSize(64, 32);
|
||||
rightWing.mirror = false;
|
||||
setRotation(rightWing, 0F, 0.1570796F, 0F);
|
||||
|
||||
leftWing = new ModelRenderer(this, 0, 0 + 32);
|
||||
leftWing.addBox(0F, -1F, 0F, 11, 13, 1);
|
||||
leftWing.setRotationPoint(2F, 0F, 3F);
|
||||
leftWing.setTextureSize(64, 32);
|
||||
leftWing.mirror = true;
|
||||
setRotation(leftWing, 0F, -0.1570796F, 0F);
|
||||
|
||||
center = new ModelRenderer(this, 0, 14 + 32);
|
||||
center.addBox(0F, 0F, 1F, 8, 14, 1);
|
||||
center.setRotationPoint(-4F, 0F, 3F);
|
||||
center.setTextureSize(64, 32);
|
||||
center.mirror = true;
|
||||
setRotation(center, 0F, 0F, 0F);
|
||||
break;
|
||||
}
|
||||
|
||||
this.bipedHead = new ModelRenderer(this, 0, 0);
|
||||
this.bipedHead.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, p_i1149_1_);
|
||||
this.bipedHead.setRotationPoint(0.0F, 0.0F + p_i1149_2_, 0.0F);
|
||||
this.bipedBody = new ModelRenderer(this, 16, 16);
|
||||
this.bipedBody.addBox(-4.0F, 0.0F, -2.0F, 8, 12, 4, p_i1149_1_);
|
||||
this.bipedBody.setRotationPoint(0.0F, 0.0F + p_i1149_2_, 0.0F);
|
||||
this.bipedRightArm = new ModelRenderer(this, 40, 16);
|
||||
this.bipedRightArm.addBox(-3.0F, -2.0F, -2.0F, 4, 12, 4, p_i1149_1_);
|
||||
this.bipedRightArm.setRotationPoint(-5.0F, 2.0F + p_i1149_2_, 0.0F);
|
||||
this.bipedLeftArm = new ModelRenderer(this, 40, 16);
|
||||
this.bipedLeftArm.mirror = true;
|
||||
this.bipedLeftArm.addBox(-1.0F, -2.0F, -2.0F, 4, 12, 4, p_i1149_1_);
|
||||
this.bipedLeftArm.setRotationPoint(5.0F, 2.0F + p_i1149_2_, 0.0F);
|
||||
}
|
||||
|
||||
private void setRotation (ModelRenderer model, float x, float y, float z)
|
||||
{
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
public void render(Entity entity, float p_78088_2_, float p_78088_3_, float p_78088_4_, float p_78088_5_, float p_78088_6_, float p_78088_7_)
|
||||
{
|
||||
this.setRotationAngles(p_78088_2_, p_78088_3_, p_78088_4_, p_78088_5_, p_78088_6_, p_78088_7_, entity);
|
||||
|
||||
this.bipedBody.render(p_78088_7_);
|
||||
this.bipedRightArm.render(p_78088_7_);
|
||||
this.bipedLeftArm.render(p_78088_7_);
|
||||
switch(this.type){
|
||||
case 1 :
|
||||
this.jetpack.render(p_78088_7_);
|
||||
break;
|
||||
case 2 :
|
||||
this.center.render(p_78088_7_);
|
||||
this.leftWing.render(p_78088_7_);
|
||||
this.rightWing.render(p_78088_7_);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setRotationAngles(float p_78087_1_, float p_78087_2_, float p_78087_3_, float p_78087_4_, float p_78087_5_, float p_78087_6_, Entity entity)
|
||||
{
|
||||
EntityPlayer player = (EntityPlayer) entity;
|
||||
if(player.inventory.getCurrentItem() != null)
|
||||
this.heldItemRight = 1;
|
||||
else
|
||||
this.heldItemRight = 0;
|
||||
this.bipedHead.rotateAngleY = p_78087_4_ / (180F / (float)Math.PI);
|
||||
this.bipedHead.rotateAngleX = p_78087_5_ / (180F / (float)Math.PI);
|
||||
this.bipedRightArm.rotateAngleX = MathHelper.cos(p_78087_1_ * 0.6662F + (float)Math.PI) * 2.0F * p_78087_2_ * 0.5F;
|
||||
this.bipedLeftArm.rotateAngleX = MathHelper.cos(p_78087_1_ * 0.6662F) * 2.0F * p_78087_2_ * 0.5F;
|
||||
this.bipedRightArm.rotateAngleZ = 0.0F;
|
||||
this.bipedLeftArm.rotateAngleZ = 0.0F;
|
||||
|
||||
if (entity.isRiding())
|
||||
{
|
||||
this.bipedRightArm.rotateAngleX += -((float)Math.PI / 5F);
|
||||
this.bipedLeftArm.rotateAngleX += -((float)Math.PI / 5F);
|
||||
}
|
||||
|
||||
if(isJumping){
|
||||
this.rightWing.rotateAngleY = 0.5f;
|
||||
this.leftWing.rotateAngleY = -0.5f;
|
||||
}
|
||||
|
||||
if (this.heldItemLeft != 0)
|
||||
{
|
||||
this.bipedLeftArm.rotateAngleX = this.bipedLeftArm.rotateAngleX * 0.5F - ((float)Math.PI / 10F) * (float)this.heldItemLeft;
|
||||
}
|
||||
|
||||
if (this.heldItemRight != 0)
|
||||
{
|
||||
this.bipedRightArm.rotateAngleX = this.bipedRightArm.rotateAngleX * 0.5F - ((float)Math.PI / 10F) * (float)this.heldItemRight;
|
||||
}
|
||||
|
||||
this.bipedRightArm.rotateAngleY = 0.0F;
|
||||
this.bipedLeftArm.rotateAngleY = 0.0F;
|
||||
float f6;
|
||||
float f7;
|
||||
|
||||
if (this.onGround > -9990.0F)
|
||||
{
|
||||
f6 = this.onGround;
|
||||
this.bipedBody.rotateAngleY = MathHelper.sin(MathHelper.sqrt_float(f6) * (float)Math.PI * 2.0F) * 0.2F;
|
||||
this.bipedRightArm.rotationPointZ = MathHelper.sin(this.bipedBody.rotateAngleY) * 5.0F;
|
||||
this.bipedRightArm.rotationPointX = -MathHelper.cos(this.bipedBody.rotateAngleY) * 5.0F;
|
||||
this.bipedLeftArm.rotationPointZ = -MathHelper.sin(this.bipedBody.rotateAngleY) * 5.0F;
|
||||
this.bipedLeftArm.rotationPointX = MathHelper.cos(this.bipedBody.rotateAngleY) * 5.0F;
|
||||
this.bipedRightArm.rotateAngleY += this.bipedBody.rotateAngleY;
|
||||
this.bipedLeftArm.rotateAngleY += this.bipedBody.rotateAngleY;
|
||||
this.bipedLeftArm.rotateAngleX += this.bipedBody.rotateAngleY;
|
||||
f6 = 1.0F - this.onGround;
|
||||
f6 *= f6;
|
||||
f6 *= f6;
|
||||
f6 = 1.0F - f6;
|
||||
f7 = MathHelper.sin(f6 * (float)Math.PI);
|
||||
float f8 = MathHelper.sin(this.onGround * (float)Math.PI) * -(this.bipedHead.rotateAngleX - 0.7F) * 0.75F;
|
||||
this.bipedRightArm.rotateAngleX = (float)((double)this.bipedRightArm.rotateAngleX - ((double)f7 * 1.2D + (double)f8));
|
||||
this.bipedRightArm.rotateAngleY += this.bipedBody.rotateAngleY * 2.0F;
|
||||
this.bipedRightArm.rotateAngleZ = MathHelper.sin(this.onGround * (float)Math.PI) * -0.4F;
|
||||
}
|
||||
|
||||
if (entity.isSneaking())
|
||||
{
|
||||
this.bipedBody.rotateAngleX = 0.5F;
|
||||
switch(this.type){
|
||||
case 1 :
|
||||
this.jetpack.rotateAngleX = 0.5F;
|
||||
break;
|
||||
case 2 :
|
||||
this.center.offsetY -= 0.1;
|
||||
this.rightWing.offsetY -= 0.1;
|
||||
this.leftWing.offsetY -= 0.1;
|
||||
this.center.rotateAngleX = 0.5F;
|
||||
this.rightWing.rotateAngleX = 0.5F;
|
||||
this.leftWing.rotateAngleX = 0.5F;
|
||||
break;
|
||||
}
|
||||
this.bipedRightArm.rotateAngleX += 0.4F;
|
||||
this.bipedLeftArm.rotateAngleX += 0.4F;
|
||||
this.bipedHead.rotationPointY = 1.0F;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bipedBody.rotateAngleX = 0.0F;
|
||||
this.bipedHead.rotationPointY = 0.0F;
|
||||
}
|
||||
|
||||
this.bipedRightArm.rotateAngleZ += MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F;
|
||||
this.bipedLeftArm.rotateAngleZ -= MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F;
|
||||
this.bipedRightArm.rotateAngleX += MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F;
|
||||
this.bipedLeftArm.rotateAngleX -= MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F;
|
||||
|
||||
if(player.inventory.getCurrentItem() != null && player.inventory.getCurrentItem().getItem() instanceof ItemBow && player.isUsingItem())
|
||||
{
|
||||
f6 = 0.0F;
|
||||
f7 = 0.0F;
|
||||
this.bipedRightArm.rotateAngleZ = 0.0F;
|
||||
this.bipedLeftArm.rotateAngleZ = 0.0F;
|
||||
this.bipedRightArm.rotateAngleY = -(0.1F - f6 * 0.6F) + this.bipedHead.rotateAngleY;
|
||||
this.bipedLeftArm.rotateAngleY = 0.1F - f6 * 0.6F + this.bipedHead.rotateAngleY + 0.4F;
|
||||
this.bipedRightArm.rotateAngleX = -((float)Math.PI / 2F) + this.bipedHead.rotateAngleX;
|
||||
this.bipedLeftArm.rotateAngleX = -((float)Math.PI / 2F) + this.bipedHead.rotateAngleX;
|
||||
this.bipedRightArm.rotateAngleX -= f6 * 1.2F - f7 * 0.4F;
|
||||
this.bipedLeftArm.rotateAngleX -= f6 * 1.2F - f7 * 0.4F;
|
||||
this.bipedRightArm.rotateAngleZ += MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F;
|
||||
this.bipedLeftArm.rotateAngleZ -= MathHelper.cos(p_78087_3_ * 0.09F) * 0.05F + 0.05F;
|
||||
this.bipedRightArm.rotateAngleX += MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F;
|
||||
this.bipedLeftArm.rotateAngleX -= MathHelper.sin(p_78087_3_ * 0.067F) * 0.05F;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,8 @@ public class ModelWings extends ModelBiped {
|
||||
ModelRenderer rightWing;
|
||||
ModelRenderer leftWing;
|
||||
ModelRenderer center;
|
||||
|
||||
public boolean isJumping = false;
|
||||
|
||||
public ModelWings() {
|
||||
textureWidth = 64;
|
||||
@@ -59,7 +61,7 @@ public class ModelWings extends ModelBiped {
|
||||
|
||||
public void setRotationAngles(float f, float f1, float pt, float f3, float f4, float f5, Entity entity){
|
||||
|
||||
if(Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed()){
|
||||
if(isJumping){
|
||||
this.rightWing.rotateAngleY = 0.5f;
|
||||
this.leftWing.rotateAngleY = -0.5f;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* http://www.minecraftforum.net/topic/1585216-
|
||||
******************************************************************************/
|
||||
|
||||
package tombenpotter.emt;
|
||||
package tombenpotter.emt.common;
|
||||
|
||||
import ic2.api.item.IC2Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -19,6 +19,7 @@ import thaumcraft.api.aspects.AspectList;
|
||||
import thaumcraft.api.research.ResearchCategories;
|
||||
import thaumcraft.api.research.ResearchItem;
|
||||
import thaumcraft.api.research.ResearchPage;
|
||||
import tombenpotter.emt.client.EMTKeys;
|
||||
import tombenpotter.emt.common.RecipeRegistry;
|
||||
import tombenpotter.emt.common.blocks.BlockRegistry;
|
||||
import tombenpotter.emt.common.items.ItemRegistry;
|
||||
@@ -36,7 +37,6 @@ public class EMTResearch {
|
||||
public static void addResearch() {
|
||||
ResearchItem research;
|
||||
String text;
|
||||
// String text2;
|
||||
|
||||
/** Research that can't be disabled **/
|
||||
text = "1";
|
||||
@@ -64,7 +64,7 @@ public class EMTResearch {
|
||||
research.setPages(new ResearchPage(text));
|
||||
|
||||
text = "1";
|
||||
research = new EMTResearchItem("The One Ring", "EMT", new AspectList(), 6, -7, 0, new ItemStack(ItemRegistry.baseBaubles)).setRound().setAutoUnlock().registerResearchItem();
|
||||
research = new EMTResearchItem("The One Ring", "EMT", new AspectList(), 6, -7, 0, new ItemStack(ItemRegistry.onering)).setRound().setAutoUnlock().registerResearchItem();
|
||||
research.setPages(new ResearchPage(text));
|
||||
|
||||
text = "1";
|
||||
@@ -395,5 +395,9 @@ public class EMTResearch {
|
||||
research = new EMTResearchItem("Quantum Wings", "EMT", ResearchAspects.quantumWing, 0, 8, 3, new ItemStack(ItemRegistry.quantumWing)).setParents("Nanosuit Wings").setConcealed().registerResearchItem();
|
||||
research.setPages(new ResearchPage(text), new ResearchPage(RecipeRegistry.quantumWings));
|
||||
}
|
||||
|
||||
text = "1";
|
||||
research = new EMTResearchItem("InfusedQuantumArmor", "EMT", ResearchAspects.quantumWing, 0, 10, 4, new ItemStack(ItemRegistry.quantumArmor)).setParents("Quantum Wings").setConcealed().registerResearchItem();
|
||||
research.setPages(new ResearchPage(text), new ResearchPage(RecipeRegistry.infusedQuantumArmor));
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,7 @@ package tombenpotter.emt.common;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import ic2.api.item.ElectricItem;
|
||||
import ic2.api.item.IC2Items;
|
||||
import ic2.api.recipe.IRecipeInput;
|
||||
import ic2.api.recipe.RecipeInputItemStack;
|
||||
@@ -37,6 +38,7 @@ import tombenpotter.emt.common.blocks.BlockRegistry;
|
||||
import tombenpotter.emt.common.items.ItemRegistry;
|
||||
import tombenpotter.emt.common.util.ConfigHandler;
|
||||
import tombenpotter.emt.common.util.CraftingAspects;
|
||||
import tombenpotter.emt.common.util.RandomHelper;
|
||||
import tombenpotter.emt.common.util.TextHelper;
|
||||
|
||||
import java.util.Iterator;
|
||||
@@ -48,8 +50,8 @@ public class RecipeRegistry {
|
||||
private static void registerShapedRecipes() {
|
||||
|
||||
/** Crafting Recipes **/
|
||||
ironOmnitool = GameRegistry.addShapedRecipe(new ItemStack(ItemRegistry.ironOmnitool), "X", "Z", "Y", 'X', new ItemStack(IC2Items.getItem("chainsaw").getItem(), 1, OreDictionary.WILDCARD_VALUE), 'Y', new ItemStack(IC2Items.getItem("miningDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE), 'Z', IC2Items.getItem("plateiron"));
|
||||
diamondChainsaw = GameRegistry.addShapedRecipe(new ItemStack(ItemRegistry.diamondChainsaw), " X ", "XYX", 'X', new ItemStack(Items.diamond), 'Y', new ItemStack(IC2Items.getItem("chainsaw").getItem(), 1, OreDictionary.WILDCARD_VALUE));
|
||||
ironOmnitool = GameRegistry.addShapedRecipe(RandomHelper.getChargedItem(ItemRegistry.ironOmnitool, 10), "X", "Z", "Y", 'X', new ItemStack(IC2Items.getItem("chainsaw").getItem(), 1, OreDictionary.WILDCARD_VALUE), 'Y', new ItemStack(IC2Items.getItem("miningDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE), 'Z', IC2Items.getItem("plateiron"));
|
||||
diamondChainsaw = GameRegistry.addShapedRecipe(RandomHelper.getChargedItem(ItemRegistry.diamondChainsaw, 10), " X ", "XYX", 'X', new ItemStack(Items.diamond), 'Y', new ItemStack(IC2Items.getItem("chainsaw").getItem(), 1, OreDictionary.WILDCARD_VALUE));
|
||||
ductTape = GameRegistry.addShapedRecipe(new ItemStack(ItemRegistry.itemEMTItems, 1, 9), "XXX", "YYY", "XXX", 'X', new ItemStack(ItemRegistry.itemEMTItems, 1, 8), 'Y', new ItemStack(Items.paper));
|
||||
featherMesh = GameRegistry.addShapedRecipe(new ItemStack(ItemRegistry.itemEMTItems, 1, 7), "XYX", "YXY", "XYX", 'X', new ItemStack(Items.feather), 'Y', new ItemStack(ItemRegistry.itemEMTItems, 1, 9));
|
||||
featherWing = GameRegistry.addShapedRecipe(new ItemStack(ItemRegistry.itemEMTItems, 1, 12), "XYZ", "XYZ", "XYZ", 'X', new ItemStack(ItemRegistry.itemEMTItems, 1, 7), 'Y', new ItemStack(ItemRegistry.itemEMTItems, 1, 8), 'Z', new ItemStack(ItemRegistry.itemEMTItems, 1, 11));
|
||||
@@ -166,16 +168,15 @@ public class RecipeRegistry {
|
||||
|
||||
public static void registerLateRecipes() {
|
||||
/** Infusion Recipes **/
|
||||
thaumiumDrill = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Drill", RandomHelper.getChargedItem(ItemRegistry.thaumiumDrill, 10), 5, CraftingAspects.thaumiumDrillCrafting, new ItemStack(IC2Items.getItem("diamondDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(Items.diamond), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("denseplateiron")});
|
||||
|
||||
thaumiumDrill = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Drill", new ItemStack(ItemRegistry.thaumiumDrill), 5, CraftingAspects.thaumiumDrillCrafting, new ItemStack(IC2Items.getItem("diamondDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(Items.diamond), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("denseplateiron")});
|
||||
thaumiumChainsaw = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Chainsaw", RandomHelper.getChargedItem(ItemRegistry.thaumiumChainsaw, 10), 5, CraftingAspects.thaumiumChainsawCrafting, new ItemStack(ItemRegistry.diamondChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(Items.diamond), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("denseplateiron")});
|
||||
|
||||
thaumiumChainsaw = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Chainsaw", new ItemStack(ItemRegistry.thaumiumChainsaw), 5, CraftingAspects.thaumiumChainsawCrafting, new ItemStack(ItemRegistry.diamondChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(Items.diamond), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("denseplateiron")});
|
||||
thaumicQuantumHelmet = ThaumcraftApi.addInfusionCraftingRecipe("Quantum Goggles of Revealing", RandomHelper.getChargedItem(ItemRegistry.quantumThaumicHelmet, 10), 6, CraftingAspects.thaumicQuantumHelmetCrafting, new ItemStack(ItemRegistry.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(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("advancedCircuit")});
|
||||
|
||||
thaumicQuantumHelmet = ThaumcraftApi.addInfusionCraftingRecipe("Quantum Goggles of Revealing", new ItemStack(ItemRegistry.quantumThaumicHelmet), 6, CraftingAspects.thaumicQuantumHelmetCrafting, new ItemStack(ItemRegistry.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(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("advancedCircuit")});
|
||||
thaumicNanoHelmet = ThaumcraftApi.addInfusionCraftingRecipe("Nanosuit Goggles of Revealing", RandomHelper.getChargedItem(ItemRegistry.nanoThaumicHelmet, 10), 5, CraftingAspects.thaumicNanoHelmetCrafting, new ItemStack(ItemRegistry.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(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("carbonPlate"), IC2Items.getItem("electronicCircuit")});
|
||||
|
||||
thaumicNanoHelmet = ThaumcraftApi.addInfusionCraftingRecipe("Nanosuit Goggles of Revealing", new ItemStack(ItemRegistry.nanoThaumicHelmet), 5, CraftingAspects.thaumicNanoHelmetCrafting, new ItemStack(ItemRegistry.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(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("carbonPlate"), IC2Items.getItem("electronicCircuit")});
|
||||
|
||||
thaumiumOmnitool = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Omnitool", new ItemStack(ItemRegistry.thaumiumOmnitool), 6, CraftingAspects.thaumiumOmnitoolCrafting, new ItemStack(ItemRegistry.thaumiumChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(ItemRegistry.thaumiumDrill, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("carbonPlate"), IC2Items.getItem("plateobsidian")});
|
||||
thaumiumOmnitool = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Omnitool", RandomHelper.getChargedItem(ItemRegistry.thaumiumOmnitool, 10), 6, CraftingAspects.thaumiumOmnitoolCrafting, new ItemStack(ItemRegistry.thaumiumChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(ItemRegistry.thaumiumDrill, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), IC2Items.getItem("carbonPlate"), IC2Items.getItem("plateobsidian")});
|
||||
|
||||
diamondOmnitoolToThaumium = ThaumcraftApi.addInfusionCraftingRecipe("Thaumium Omnitool", new ItemStack(ItemRegistry.thaumiumOmnitool), 6, CraftingAspects.thaumiumOmnitoolCrafting, new ItemStack(ItemRegistry.diamondOmnitool, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Blocks.diamond_block), new ItemStack(ConfigBlocks.blockMetalDevice, 1, 9), new ItemStack(ConfigBlocks.blockMetalDevice, 1, 9), new ItemStack(IC2Items.getItem("energyCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("carbonPlate"), IC2Items.getItem("advancedCircuit")});
|
||||
|
||||
@@ -185,29 +186,29 @@ public class RecipeRegistry {
|
||||
|
||||
potentiaGenerator = ThaumcraftApi.addInfusionCraftingRecipe("Potentia Generator", new ItemStack(BlockRegistry.essentiaGens, 1, 0), 6, CraftingAspects.potentiaGeneratorCrafting, IC2Items.getItem("semifluidGenerator"), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(ConfigItems.itemFocusTrade), new ItemStack(Blocks.hopper), new ItemStack(ConfigBlocks.blockJar), IC2Items.getItem("mvTransformer"), IC2Items.getItem("advancedMachine"), IC2Items.getItem("orewashingplant"), IC2Items.getItem("scrap")});
|
||||
|
||||
streamChainsaw = ThaumcraftApi.addInfusionCraftingRecipe("Chainsaw of the Stream", new ItemStack(ItemRegistry.streamChainsaw), 6, CraftingAspects.streamChaisnawCrafting, new ItemStack(ItemRegistry.thaumiumChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.water_bucket), new ItemStack(ConfigItems.itemAxeElemental), new ItemStack(ConfigBlocks.blockMagicalLog), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("overclockerUpgrade")});
|
||||
streamChainsaw = ThaumcraftApi.addInfusionCraftingRecipe("Chainsaw of the Stream", RandomHelper.getChargedItem(ItemRegistry.streamChainsaw, 10), 6, CraftingAspects.streamChaisnawCrafting, new ItemStack(ItemRegistry.thaumiumChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.water_bucket), new ItemStack(ConfigItems.itemAxeElemental), new ItemStack(ConfigBlocks.blockMagicalLog), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("overclockerUpgrade")});
|
||||
|
||||
rockbreakerDrill = ThaumcraftApi.addInfusionCraftingRecipe("Drill of the Rockbreaker", new ItemStack(ItemRegistry.rockbreakerDrill), 6, CraftingAspects.rockbreakerDrillCrafting, new ItemStack(ItemRegistry.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), IC2Items.getItem("reinforcedStone"), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("overclockerUpgrade")});
|
||||
rockbreakerDrill = ThaumcraftApi.addInfusionCraftingRecipe("Drill of the Rockbreaker", RandomHelper.getChargedItem(ItemRegistry.rockbreakerDrill, 10), 6, CraftingAspects.rockbreakerDrillCrafting, new ItemStack(ItemRegistry.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), IC2Items.getItem("reinforcedStone"), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("overclockerUpgrade")});
|
||||
|
||||
thorHammer = ThaumcraftApi.addInfusionCraftingRecipe("Mjolnir", new ItemStack(ItemRegistry.thorHammer), 7, CraftingAspects.thorHammerCrafting, new ItemStack(ItemRegistry.taintedThorHammer, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(ItemRegistry.itemEMTItems, 1, 6), new ItemStack(ItemRegistry.itemEMTItems, 1, 6), new ItemStack(ConfigItems.itemSwordElemental), new ItemStack(ConfigItems.itemResource, 1, 1), new ItemStack(ConfigItems.itemFocusShock), IC2Items.getItem("rubber")});
|
||||
|
||||
superchargedThorHammer = ThaumcraftApi.addInfusionCraftingRecipe("Supercharged Mjolnir", new ItemStack(ItemRegistry.electricThorHammer), 10, CraftingAspects.superchargedThorHammerCrafting, new ItemStack(ItemRegistry.thorHammer, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(ItemRegistry.itemEMTItems, 1, 6), new ItemStack(ItemRegistry.itemEMTItems, 1, 6), new ItemStack(Blocks.web), new ItemStack(ConfigItems.itemFocusHellbat), new ItemStack(ConfigItems.itemSwordElemental), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), new ItemStack(IC2Items.getItem("nanoSaber").getItem(), 1, OreDictionary.WILDCARD_VALUE)});
|
||||
superchargedThorHammer = ThaumcraftApi.addInfusionCraftingRecipe("Supercharged Mjolnir", RandomHelper.getChargedItem(ItemRegistry.electricThorHammer, 10), 10, CraftingAspects.superchargedThorHammerCrafting, new ItemStack(ItemRegistry.thorHammer, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(ItemRegistry.itemEMTItems, 1, 6), new ItemStack(ItemRegistry.itemEMTItems, 1, 6), new ItemStack(Blocks.web), new ItemStack(ConfigItems.itemFocusHellbat), new ItemStack(ConfigItems.itemSwordElemental), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), new ItemStack(IC2Items.getItem("nanoSaber").getItem(), 1, OreDictionary.WILDCARD_VALUE)});
|
||||
|
||||
wandRecharger = ThaumcraftApi.addInfusionCraftingRecipe("Industrial Wand Charging Station", new ItemStack(BlockRegistry.emtMachines, 1, 0), 6, CraftingAspects.wandCharger, new ItemStack(ConfigBlocks.blockStoneDevice, 1, 5), new ItemStack[]{IC2Items.getItem("replicator"), IC2Items.getItem("iridiumPlate"), new ItemStack(Blocks.diamond_block), new ItemStack(ConfigItems.itemShard, 1, 5), new ItemStack(ConfigBlocks.blockJar)});
|
||||
|
||||
solarHelmetRevealing = ThaumcraftApi.addInfusionCraftingRecipe("Solar Helmet of Revealing", new ItemStack(ItemRegistry.solarHelmetRevealing), 5, CraftingAspects.solarHelmetRevealing, new ItemStack(ItemRegistry.quantumThaumicHelmet, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(BlockRegistry.emtSolars, 1, 1), IC2Items.getItem("glassFiberCableItem"), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemShard, 1, 4)});
|
||||
solarHelmetRevealing = ThaumcraftApi.addInfusionCraftingRecipe("Solar Helmet of Revealing", RandomHelper.getChargedItem(ItemRegistry.solarHelmetRevealing, 10), 5, CraftingAspects.solarHelmetRevealing, new ItemStack(ItemRegistry.quantumThaumicHelmet, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(BlockRegistry.emtSolars, 1, 1), IC2Items.getItem("glassFiberCableItem"), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemShard, 1, 4)});
|
||||
|
||||
electricBootsTravel = ThaumcraftApi.addInfusionCraftingRecipe("Electric Boots of the Traveller", new ItemStack(ItemRegistry.electricBootsTraveller), 2, CraftingAspects.electricBootsTravel, new ItemStack(ConfigItems.itemBootsTraveller), new ItemStack[]{new ItemStack(Items.diamond), IC2Items.getItem("elemotor"), IC2Items.getItem("coil"), IC2Items.getItem("hazmatBoots"), new ItemStack(IC2Items.getItem("advBattery").getItem(), 1, OreDictionary.WILDCARD_VALUE)});
|
||||
electricBootsTravel = ThaumcraftApi.addInfusionCraftingRecipe("Electric Boots of the Traveller", RandomHelper.getChargedItem(ItemRegistry.electricBootsTraveller, 10), 2, CraftingAspects.electricBootsTravel, new ItemStack(ConfigItems.itemBootsTraveller), new ItemStack[]{new ItemStack(Items.diamond), IC2Items.getItem("elemotor"), IC2Items.getItem("coil"), IC2Items.getItem("hazmatBoots"), new ItemStack(IC2Items.getItem("advBattery").getItem(), 1, OreDictionary.WILDCARD_VALUE)});
|
||||
|
||||
nanoBootsTravel = ThaumcraftApi.addInfusionCraftingRecipe("Nano Boots of the Traveller", new ItemStack(ItemRegistry.nanoBootsTraveller), 2, CraftingAspects.nanoBootsTravel, new ItemStack(ItemRegistry.electricBootsTraveller, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(IC2Items.getItem("nanoBoots").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("energyCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE)});
|
||||
nanoBootsTravel = ThaumcraftApi.addInfusionCraftingRecipe("Nano Boots of the Traveller", RandomHelper.getChargedItem(ItemRegistry.nanoBootsTraveller, 10), 2, CraftingAspects.nanoBootsTravel, new ItemStack(ItemRegistry.electricBootsTraveller, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), new ItemStack(IC2Items.getItem("nanoBoots").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("energyCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE)});
|
||||
|
||||
quantumBootsTravel = ThaumcraftApi.addInfusionCraftingRecipe("Quantum Boots of the Traveller", new ItemStack(ItemRegistry.quantumBootsTraveller), 2, CraftingAspects.quantumBootsTravel, new ItemStack(ItemRegistry.nanoBootsTraveller, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Blocks.diamond_block), new ItemStack(IC2Items.getItem("quantumBoots").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("iridiumPlate")});
|
||||
quantumBootsTravel = ThaumcraftApi.addInfusionCraftingRecipe("Quantum Boots of the Traveller", RandomHelper.getChargedItem(ItemRegistry.quantumBootsTraveller, 10), 2, CraftingAspects.quantumBootsTravel, new ItemStack(ItemRegistry.nanoBootsTraveller, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Blocks.diamond_block), new ItemStack(IC2Items.getItem("quantumBoots").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("iridiumPlate")});
|
||||
|
||||
etheralProcessor = ThaumcraftApi.addInfusionCraftingRecipe("Etheral Processor", new ItemStack(BlockRegistry.emtMachines, 1, 1), 3, CraftingAspects.etherealProcessor, IC2Items.getItem("macerator"), 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(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5)});
|
||||
|
||||
tripleCompressedSolar = ThaumcraftApi.addInfusionCraftingRecipe("Compressed Solars", new ItemStack(BlockRegistry.emtSolars, 1, 2), 2, CraftingAspects.compressedSolars, new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack[]{new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1), new ItemStack(BlockRegistry.emtSolars, 1, 1)});
|
||||
|
||||
electricHoeGrowth = ThaumcraftApi.addInfusionCraftingRecipe("Electric Hoe of Growth", new ItemStack(ItemRegistry.electricHoeGrowth), 4, CraftingAspects.electricHoeGrowth, new ItemStack(ConfigItems.itemHoeElemental), new ItemStack[]{new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("electricHoe").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.dye, 1, 15), IC2Items.getItem("elemotor"), IC2Items.getItem("coil"), new ItemStack(Blocks.sapling, 1, OreDictionary.WILDCARD_VALUE)});
|
||||
electricHoeGrowth = ThaumcraftApi.addInfusionCraftingRecipe("Electric Hoe of Growth", RandomHelper.getChargedItem(ItemRegistry.electricHoeGrowth, 10), 4, CraftingAspects.electricHoeGrowth, new ItemStack(ConfigItems.itemHoeElemental), new ItemStack[]{new ItemStack(IC2Items.getItem("lapotronCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("electricHoe").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.dye, 1, 15), IC2Items.getItem("elemotor"), IC2Items.getItem("coil"), new ItemStack(Blocks.sapling, 1, OreDictionary.WILDCARD_VALUE)});
|
||||
|
||||
chargeFocus = ThaumcraftApi.addInfusionCraftingRecipe("Wand Focus: Charging", new ItemStack(ItemRegistry.chargeFocus), 4, CraftingAspects.chargeFocus, new ItemStack(IC2Items.getItem("advBattery").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{IC2Items.getItem("generator"), IC2Items.getItem("batBox"), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ItemRegistry.itemEMTItems, 1, 5), new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE)});
|
||||
|
||||
@@ -217,19 +218,21 @@ public class RecipeRegistry {
|
||||
|
||||
armorChargingRing = ThaumcraftApi.addInfusionCraftingRecipe("Armor Charging Ring", new ItemStack(ItemRegistry.emtBauble, 1, 0), 6, CraftingAspects.armorChargingRing, new ItemStack(ConfigItems.itemBaubleBlanks, 1, 1), new ItemStack[]{new ItemStack(ItemRegistry.electricBootsTraveller, 1, OreDictionary.WILDCARD_VALUE), IC2Items.getItem("generator"), IC2Items.getItem("geothermalGenerator"), IC2Items.getItem("waterMill"), IC2Items.getItem("solarPanel"), IC2Items.getItem("windMill"), IC2Items.getItem("nuclearReactor")});
|
||||
|
||||
nanoWings = ThaumcraftApi.addInfusionCraftingRecipe("Nanosuit Wings", new ItemStack(ItemRegistry.nanoWing), 4, CraftingAspects.nanoWing, new ItemStack(ItemRegistry.thaumiumWing), new ItemStack[]{IC2Items.getItem("carbonPlate"), IC2Items.getItem("carbonPlate"), IC2Items.getItem("carbonPlate"), new ItemStack(IC2Items.getItem("nanoBodyarmor").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemResource, 1, 1)});
|
||||
nanoWings = ThaumcraftApi.addInfusionCraftingRecipe("Nanosuit Wings", RandomHelper.getChargedItem(ItemRegistry.nanoWing, 10), 4, CraftingAspects.nanoWing, new ItemStack(ItemRegistry.thaumiumWing), new ItemStack[]{IC2Items.getItem("carbonPlate"), IC2Items.getItem("carbonPlate"), IC2Items.getItem("carbonPlate"), new ItemStack(IC2Items.getItem("nanoBodyarmor").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemResource, 1, 1)});
|
||||
|
||||
quantumWings = ThaumcraftApi.addInfusionCraftingRecipe("Quantum Wings", new ItemStack(ItemRegistry.quantumWing), 6, CraftingAspects.quantumWing, new ItemStack(ItemRegistry.nanoWing, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), new ItemStack(IC2Items.getItem("quantumBodyarmor").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemResource, 1, 1)});
|
||||
quantumWings = ThaumcraftApi.addInfusionCraftingRecipe("Quantum Wings", RandomHelper.getChargedItem(ItemRegistry.quantumWing, 10), 6, CraftingAspects.quantumWing, new ItemStack(ItemRegistry.nanoWing, 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), new ItemStack(IC2Items.getItem("quantumBodyarmor").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ConfigItems.itemResource, 1, 1)});
|
||||
|
||||
infusedQuantumArmor = ThaumcraftApi.addInfusionCraftingRecipe("InfusedQuantumArmor", RandomHelper.getChargedItem(ItemRegistry.quantumArmor, 10), 5, CraftingAspects.quantumWing, new ItemStack(IC2Items.getItem("quantumBodyarmor").getItem(), 1, OreDictionary.WILDCARD_VALUE), new ItemStack[]{new ItemStack(Items.diamond), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), IC2Items.getItem("iridiumPlate"), new ItemStack(BlockRegistry.shield), new ItemStack(BlockRegistry.shield)});
|
||||
|
||||
/** Arcane Worktable Recipes **/
|
||||
|
||||
diamondOmnitool = ThaumcraftApi.addShapelessArcaneCraftingRecipe("Diamond Omnitool", new ItemStack(ItemRegistry.diamondOmnitool), CraftingAspects.diamondOmnitoolCrafting, new ItemStack(ItemRegistry.diamondChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("diamondDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE));
|
||||
diamondOmnitool = ThaumcraftApi.addShapelessArcaneCraftingRecipe("Diamond Omnitool", RandomHelper.getChargedItem(ItemRegistry.diamondOmnitool, 10), CraftingAspects.diamondOmnitoolCrafting, new ItemStack(ItemRegistry.diamondChainsaw, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(IC2Items.getItem("diamondDrill").getItem(), 1, OreDictionary.WILDCARD_VALUE));
|
||||
|
||||
ironOmnitoolToDiamond = ThaumcraftApi.addArcaneCraftingRecipe("Diamond Omnitool", new ItemStack(ItemRegistry.diamondOmnitool), CraftingAspects.diamondOmnitoolCrafting, "XAX", "XBX", "XAX", 'X', new ItemStack(Items.diamond), 'A', IC2Items.getItem("advancedCircuit"), 'B', new ItemStack(ItemRegistry.ironOmnitool, 1, OreDictionary.WILDCARD_VALUE));
|
||||
|
||||
christmasFocus = ThaumcraftApi.addArcaneCraftingRecipe("Kris-tmas Focus", new ItemStack(ItemRegistry.christmasFocus), CraftingAspects.christmasFocusCrafting, "XYX", "YZY", "XYX", 'X', new ItemStack(Blocks.snow), 'Y', new ItemStack(Blocks.pumpkin), 'Z', new ItemStack(ConfigItems.itemFocusFrost));
|
||||
|
||||
electricGoggles = ThaumcraftApi.addArcaneCraftingRecipe("Electric Goggles", new ItemStack(ItemRegistry.electricGoggles), CraftingAspects.electricGogglesCrafting, " Y ", "AZA", "BXB", 'Z', new ItemStack(ConfigItems.itemGoggles), 'X', IC2Items.getItem("electronicCircuit"), 'Y', new ItemStack(Items.diamond_helmet), 'A', new ItemStack(IC2Items.getItem("chargedReBattery").getItem(), 1, OreDictionary.WILDCARD_VALUE), 'B', Items.repeater);
|
||||
electricGoggles = ThaumcraftApi.addArcaneCraftingRecipe("Electric Goggles", RandomHelper.getChargedItem(ItemRegistry.electricGoggles, 10), CraftingAspects.electricGogglesCrafting, " Y ", "AZA", "BXB", 'Z', new ItemStack(ConfigItems.itemGoggles), 'X', IC2Items.getItem("electronicCircuit"), 'Y', new ItemStack(Items.diamond_helmet), 'A', new ItemStack(IC2Items.getItem("chargedReBattery").getItem(), 1, OreDictionary.WILDCARD_VALUE), 'B', Items.repeater);
|
||||
|
||||
shieldBlock = ThaumcraftApi.addArcaneCraftingRecipe("Shield Blocks", new ItemStack(BlockRegistry.shield, 8), CraftingAspects.shieldBlockCrafting, "XYX", "X X", "XYX", 'X', new ItemStack(Blocks.glass), 'Y', new ItemStack(Blocks.obsidian));
|
||||
|
||||
@@ -239,7 +242,7 @@ public class RecipeRegistry {
|
||||
|
||||
doubleCompressedSolar = ThaumcraftApi.addArcaneCraftingRecipe("Compressed Solars", new ItemStack(BlockRegistry.emtSolars, 1, 1), CraftingAspects.compressedSolars, "XXX", "XXX", "XXX", 'X', new ItemStack(BlockRegistry.emtSolars, 1, 0));
|
||||
|
||||
electricScribingTools = ThaumcraftApi.addArcaneCraftingRecipe("Electric Scribing Tools", new ItemStack(ItemRegistry.electricScribingTools), CraftingAspects.electricScribingTools, "YXY", "XZX", "YXY", 'Y', IC2Items.getItem("electronicCircuit"), 'X', new ItemStack(ConfigItems.itemInkwell), 'Z', new ItemStack(IC2Items.getItem("energyCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE));
|
||||
electricScribingTools = ThaumcraftApi.addArcaneCraftingRecipe("Electric Scribing Tools", RandomHelper.getChargedItem(ItemRegistry.electricScribingTools, 10), CraftingAspects.electricScribingTools, "YXY", "XZX", "YXY", 'Y', IC2Items.getItem("electronicCircuit"), 'X', new ItemStack(ConfigItems.itemInkwell), 'Z', new ItemStack(IC2Items.getItem("energyCrystal").getItem(), 1, OreDictionary.WILDCARD_VALUE));
|
||||
|
||||
thaumiumWing = ThaumcraftApi.addArcaneCraftingRecipe("Thaumium Reinforced Wings", new ItemStack(ItemRegistry.itemEMTItems, 1, 14), CraftingAspects.thaumiumWing, "XYZ", "XYZ", "XYZ", 'X', new ItemStack(ItemRegistry.itemEMTItems, 1, 13), 'Y', new ItemStack(ItemRegistry.itemEMTItems, 1, 5), 'Z', IC2Items.getItem("plateiron"));
|
||||
|
||||
@@ -295,7 +298,7 @@ public class RecipeRegistry {
|
||||
|
||||
/** IC2 Stuff related recipes **/
|
||||
|
||||
/* Ore Clusters Macerator Recipes */
|
||||
/* Ore Clusters Macerator Recipes */
|
||||
ItemStack ironClusterRecipe = IC2Items.getItem("smallIronDust").copy();
|
||||
ironClusterRecipe.stackSize = 22;
|
||||
Recipes.macerator.addRecipe(new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 16)), null, ironClusterRecipe);
|
||||
@@ -396,7 +399,7 @@ public class RecipeRegistry {
|
||||
public static InfusionRecipe shardToRedstone;
|
||||
public static InfusionRecipe shardToLapis;
|
||||
public static InfusionRecipe glowstoneDustToBlock;
|
||||
|
||||
public static InfusionRecipe infusedQuantumArmor;
|
||||
public static InfusionRecipe thaumiumDrill;
|
||||
public static InfusionRecipe thaumiumChainsaw;
|
||||
public static InfusionRecipe thaumicQuantumHelmet;
|
||||
|
||||
@@ -54,36 +54,36 @@ public class BlockEMTSolars extends BlockBaseContainer {
|
||||
this.top[0] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[1] = ri.registerIcon(ModInformation.texturePath + ":solars/doublesolartop");
|
||||
this.top[2] = ri.registerIcon(ModInformation.texturePath + ":solars/triplesolartop");
|
||||
this.top[3] = ri.registerIcon(ModInformation.texturePath + ":solars/water/solartop");
|
||||
this.top[4] = ri.registerIcon(ModInformation.texturePath + ":solars/water/doublesolartop");
|
||||
this.top[5] = ri.registerIcon(ModInformation.texturePath + ":solars/water/triplesolartop");
|
||||
this.top[6] = ri.registerIcon(ModInformation.texturePath + ":solars/dark/solartop");
|
||||
this.top[7] = ri.registerIcon(ModInformation.texturePath + ":solars/dark/doublesolartop");
|
||||
this.top[8] = ri.registerIcon(ModInformation.texturePath + ":solars/dark/triplesolartop");
|
||||
this.top[9] = ri.registerIcon(ModInformation.texturePath + ":solars/order/solartop");
|
||||
this.top[10] = ri.registerIcon(ModInformation.texturePath + ":solars/order/doublesolartop");
|
||||
this.top[11] = ri.registerIcon(ModInformation.texturePath + ":solars/order/triplesolartop");
|
||||
this.top[12] = ri.registerIcon(ModInformation.texturePath + ":solars/fire/solartop");
|
||||
this.top[13] = ri.registerIcon(ModInformation.texturePath + ":solars/fire/doublesolartop");
|
||||
this.top[14] = ri.registerIcon(ModInformation.texturePath + ":solars/fire/triplesolartop");
|
||||
this.top[15] = ri.registerIcon(ModInformation.texturePath + ":solars/air/solartop");
|
||||
this.top[3] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[4] = ri.registerIcon(ModInformation.texturePath + ":solars/doublesolartop");
|
||||
this.top[5] = ri.registerIcon(ModInformation.texturePath + ":solars/triplesolartop");
|
||||
this.top[6] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[7] = ri.registerIcon(ModInformation.texturePath + ":solars/doublesolartop");
|
||||
this.top[8] = ri.registerIcon(ModInformation.texturePath + ":solars/triplesolartop");
|
||||
this.top[9] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[10] = ri.registerIcon(ModInformation.texturePath + ":solars/doublesolartop");
|
||||
this.top[11] = ri.registerIcon(ModInformation.texturePath + ":solars/triplesolartop");
|
||||
this.top[12] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[13] = ri.registerIcon(ModInformation.texturePath + ":solars/doublesolartop");
|
||||
this.top[14] = ri.registerIcon(ModInformation.texturePath + ":solars/triplesolartop");
|
||||
this.top[15] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
|
||||
this.bottom[0] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[1] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[2] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[3] = ri.registerIcon(ModInformation.texturePath + ":solars/water/waterbottom");
|
||||
this.bottom[4] = ri.registerIcon(ModInformation.texturePath + ":solars/water/waterbottom");
|
||||
this.bottom[5] = ri.registerIcon(ModInformation.texturePath + ":solars/water/waterbottom");
|
||||
this.bottom[6] = ri.registerIcon(ModInformation.texturePath + ":solars/dark/darkbottom");
|
||||
this.bottom[7] = ri.registerIcon(ModInformation.texturePath + ":solars/dark/darkbottom");
|
||||
this.bottom[8] = ri.registerIcon(ModInformation.texturePath + ":solars/dark/darkbottom");
|
||||
this.bottom[9] = ri.registerIcon(ModInformation.texturePath + ":solars/order/orderbottom");
|
||||
this.bottom[10] = ri.registerIcon(ModInformation.texturePath + ":solars/order/orderbottom");
|
||||
this.bottom[11] = ri.registerIcon(ModInformation.texturePath + ":solars/order/orderbottom");
|
||||
this.bottom[12] = ri.registerIcon(ModInformation.texturePath + ":solars/fire/firebottom");
|
||||
this.bottom[13] = ri.registerIcon(ModInformation.texturePath + ":solars/fire/firebottom");
|
||||
this.bottom[14] = ri.registerIcon(ModInformation.texturePath + ":solars/fire/firebottom");
|
||||
this.bottom[15] = ri.registerIcon(ModInformation.texturePath + ":solars/air/airbottom");
|
||||
this.bottom[3] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[4] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[5] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[6] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[7] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[8] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[9] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[10] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[11] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[12] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[13] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[14] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[15] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
|
||||
this.frontOff[0] = ri.registerIcon(ModInformation.texturePath + ":solars/side");
|
||||
this.frontOff[1] = ri.registerIcon(ModInformation.texturePath + ":solars/side");
|
||||
|
||||
@@ -40,17 +40,17 @@ public class BlockEMTSolars2 extends BlockBaseContainer {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister ri) {
|
||||
this.top[0] = ri.registerIcon(ModInformation.texturePath + ":solars/air/doublesolartop");
|
||||
this.top[1] = ri.registerIcon(ModInformation.texturePath + ":solars/air/triplesolartop");
|
||||
this.top[2] = ri.registerIcon(ModInformation.texturePath + ":solars/earth/solartop");
|
||||
this.top[3] = ri.registerIcon(ModInformation.texturePath + ":solars/earth/doublesolartop");
|
||||
this.top[4] = ri.registerIcon(ModInformation.texturePath + ":solars/earth/triplesolartop");
|
||||
this.top[0] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[1] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[2] = ri.registerIcon(ModInformation.texturePath + ":solars/solartop");
|
||||
this.top[3] = ri.registerIcon(ModInformation.texturePath + ":solars/doublesolartop");
|
||||
this.top[4] = ri.registerIcon(ModInformation.texturePath + ":solars/triplesolartop");
|
||||
|
||||
this.bottom[0] = ri.registerIcon(ModInformation.texturePath + ":solars/air/airbottom");
|
||||
this.bottom[1] = ri.registerIcon(ModInformation.texturePath + ":solars/air/airbottom");
|
||||
this.bottom[2] = ri.registerIcon(ModInformation.texturePath + ":solars/earth/earthbottom");
|
||||
this.bottom[3] = ri.registerIcon(ModInformation.texturePath + ":solars/earth/earthbottom");
|
||||
this.bottom[4] = ri.registerIcon(ModInformation.texturePath + ":solars/earth/earthbottom");
|
||||
this.bottom[0] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[1] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[2] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[3] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
this.bottom[4] = ri.registerIcon(ModInformation.texturePath + ":solars/bottom");
|
||||
|
||||
this.frontOff[0] = ri.registerIcon(ModInformation.texturePath + ":solars/air/airside");
|
||||
this.frontOff[1] = ri.registerIcon(ModInformation.texturePath + ":solars/air/airside");
|
||||
|
||||
@@ -22,7 +22,7 @@ public class BlockRegistry {
|
||||
public static Block emtSolars;
|
||||
public static Block emtMachines;
|
||||
public static Block emtSolars2;
|
||||
public static Block essentiaGenerator;
|
||||
//public static Block essentiaGenerator;
|
||||
|
||||
|
||||
public static void registerBlocks() {
|
||||
@@ -44,7 +44,7 @@ public class BlockRegistry {
|
||||
essentiaGens = new BlockEssentiaGenerators().setBlockName(ModInformation.modid + ".essentiaGens");
|
||||
GameRegistry.registerBlock(essentiaGens, ItemBlockEssentiaGenerators.class, "EssentiaGenerators");
|
||||
|
||||
essentiaGenerator = new BlockEssentiaGenerator().setBlockName(ModInformation.modid + ".essentiaGenerator");
|
||||
GameRegistry.registerBlock(essentiaGenerator, ItemBlockEssentiaGenerator.class, "Essentia Generator");
|
||||
//essentiaGenerator = new BlockEssentiaGenerator().setBlockName(ModInformation.modid + ".essentiaGenerator");
|
||||
//GameRegistry.registerBlock(essentiaGenerator, ItemBlockEssentiaGenerator.class, "Essentia Generator");
|
||||
}
|
||||
}
|
||||
@@ -163,11 +163,17 @@ public class EntityLaser extends Entity implements IProjectile {
|
||||
if (this.inGround) {
|
||||
Block j = this.worldObj.getBlock(this.xTile, this.yTile, this.zTile);
|
||||
int k = this.worldObj.getBlockMetadata(this.xTile, this.yTile, this.zTile);
|
||||
this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 3, true);
|
||||
this.worldObj.createExplosion(this, (int)this.posX, (int)this.posY, (int)this.posZ, 3, true);
|
||||
this.setDead();
|
||||
//for(int x = 0; x < 6; x++){
|
||||
// for(int z = 0; z < 6; z++){
|
||||
// this.worldObj.setBlockToAir((int)this.posX + x, (int)this.posY, (int)this.posZ + z);
|
||||
// }
|
||||
//}
|
||||
//this.setDead();
|
||||
if (j == this.inTile && k == this.inData) {
|
||||
++this.ticksInGround;
|
||||
|
||||
|
||||
if (this.ticksInGround == 1200) {
|
||||
this.setDead();
|
||||
}
|
||||
@@ -184,7 +190,7 @@ public class EntityLaser extends Entity implements IProjectile {
|
||||
Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ);
|
||||
Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||
MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false);
|
||||
vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ);
|
||||
vec31 = Vec3.createVectorHelper(this.posX - 5, this.posY, this.posZ);
|
||||
vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||
|
||||
if (movingobjectposition != null) {
|
||||
|
||||
@@ -22,13 +22,13 @@ import tombenpotter.emt.common.util.TextHelper;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class ItemBaseBaubles extends ItemBase implements IBauble {
|
||||
public class ItemOneRing extends ItemBase implements IBauble {
|
||||
|
||||
public IIcon[] icon = new IIcon[16];
|
||||
public static int wornTick;
|
||||
public Random random = new Random();
|
||||
|
||||
public ItemBaseBaubles() {
|
||||
public ItemOneRing() {
|
||||
super("bauble");
|
||||
this.setHasSubtypes(true);
|
||||
this.setMaxDamage(0);
|
||||
@@ -1,5 +1,6 @@
|
||||
package tombenpotter.emt.common.items;
|
||||
|
||||
import ic2.core.init.InternalName;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
@@ -10,6 +11,7 @@ import net.minecraftforge.common.util.EnumHelper;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
import tombenpotter.emt.common.items.armor.ItemEMTQuantum;
|
||||
import tombenpotter.emt.common.items.armor.wings.ItemFeatherWing;
|
||||
import tombenpotter.emt.common.items.armor.wings.ItemThaumiumReinforcedWing;
|
||||
import tombenpotter.emt.common.items.armor.boots.ItemElectricBootsTraveller;
|
||||
@@ -37,15 +39,11 @@ import tombenpotter.emt.common.items.tools.omnitools.ItemOmnitoolIron;
|
||||
import tombenpotter.emt.common.items.tools.omnitools.ItemOmnitoolThaumium;
|
||||
|
||||
public class ItemRegistry {
|
||||
|
||||
//public static Item woodenDrill, stoneDrill, ironDrill, goldenDrill, diamondDrill, copperDrill, tinDrill, leadDrill, bronzeDrill;
|
||||
//public static Item woodenChainsaw, stoneChainsaw, ironChainsaw, goldenChainsaw, diamondChainsaw, copperChainsaw, tinChainsaw, leadChainsaw, bronzeChainsaw;
|
||||
//public static Item ironOmnitool, goldenOmnitool, diamondOmnitool, copperOmnitool, tinOmnitool, leadOmnitool, bronzeOmnitool;
|
||||
//public static Item woodCarver, stoneCarver, ironCarver, obsidianCarver, diamondCarver;
|
||||
public static Item baseBaubles, materials, craftingComponents;
|
||||
|
||||
public static Item focusChristmas;
|
||||
|
||||
|
||||
public static Item onering;
|
||||
public static Item materials;
|
||||
public static Item craftingComponents;
|
||||
public static Item focusChristmas;
|
||||
public static Item thaumiumDrill;
|
||||
public static Item thaumiumChainsaw;
|
||||
public static Item quantumThaumicHelmet;
|
||||
@@ -77,45 +75,39 @@ public class ItemRegistry {
|
||||
public static Item thaumiumWing;
|
||||
public static Item nanoWing;
|
||||
public static Item quantumWing;
|
||||
|
||||
public static Item quantumArmor;
|
||||
public static ItemArmor.ArmorMaterial featherWingMaterial = EnumHelper.addArmorMaterial("FEATEHRWiNG", 1, new int[]{2, 2, 2, 2}, 6);
|
||||
|
||||
|
||||
//public static Item.ToolMaterial copperMaterial = EnumHelper.addToolMaterial("copperToolMaterial", 2, 300, 6.0F, 2.0F, 14);
|
||||
//public static Item.ToolMaterial tinMaterial = EnumHelper.addToolMaterial("tinToolMatierial", 2, 200, 8.0F, 4F, 18);
|
||||
//public static Item.ToolMaterial leadMaterial = EnumHelper.addToolMaterial("leadToolMaterial", 2, 250, 7.0F, 3F, 15);
|
||||
//public static Item.ToolMaterial bronzeMaterial = EnumHelper.addToolMaterial("bronzeToolMaterial", 2, 350, 7.0F, 3.0F, 16);
|
||||
|
||||
public static void registerItems() {
|
||||
//craftingComponents = new ItemCraftingComponents("components");
|
||||
//GameRegistry.registerItem(craftingComponents, "craftingComponents");
|
||||
//focusChristmas = new ItemChristmasFocus();
|
||||
//GameRegistry.registerItem(focusChristmas, "FocusChristmas");
|
||||
|
||||
itemEMTItems = new ItemMaterials().setUnlocalizedName(ModInformation.modid + ".emtitems");
|
||||
GameRegistry.registerItem(itemEMTItems, "EMTItems");
|
||||
|
||||
|
||||
emtBauble = new ItemIC2Baubles().setUnlocalizedName(ModInformation.modid + ".emtbauble");
|
||||
GameRegistry.registerItem(emtBauble, "EMTBaubles");
|
||||
|
||||
baseBaubles = new ItemBaseBaubles();
|
||||
GameRegistry.registerItem(baseBaubles, "BaseBaubles");
|
||||
onering = new ItemOneRing();
|
||||
GameRegistry.registerItem(onering, "BaseBaubles");
|
||||
|
||||
|
||||
quantumArmor = new ItemEMTQuantum(InternalName.itemArmorQuantumChestplate, 1).setUnlocalizedName(ModInformation.modid + ".quantum");
|
||||
|
||||
electricGoggles = new ItemElectricGoggles(ItemArmor.ArmorMaterial.IRON, 3, 0).setUnlocalizedName(ModInformation.modid + ".goggles.electric");
|
||||
GameRegistry.registerItem(electricGoggles, "ElectricGogglesRevealing");
|
||||
|
||||
nanoThaumicHelmet = new ItemNanoGoggles(ItemArmor.ArmorMaterial.DIAMOND, 3, 0).setUnlocalizedName(ModInformation.modid + ".goggles.nano");
|
||||
GameRegistry.registerItem(nanoThaumicHelmet, "NanosuitGogglesRevealing");
|
||||
|
||||
quantumThaumicHelmet = new ItemQuantumGoggles(ItemArmor.ArmorMaterial.DIAMOND, 3, 0).setUnlocalizedName(ModInformation.modid + ".goggles.quantum");
|
||||
GameRegistry.registerItem(quantumThaumicHelmet, "QuantumGogglesRevealing");
|
||||
|
||||
solarHelmetRevealing = new ItemSolarHelmetRevealing(ItemArmor.ArmorMaterial.DIAMOND, 3, 0).setUnlocalizedName(ModInformation.modid + ".goggles.solar");
|
||||
GameRegistry.registerItem(solarHelmetRevealing, "SolarHelmetRevealing");
|
||||
|
||||
electricBootsTraveller = new ItemElectricBootsTraveller(3, 3).setUnlocalizedName(ModInformation.modid + ".boots.traveller.electric");
|
||||
GameRegistry.registerItem(electricBootsTraveller, "ElectricBootsTraveller");
|
||||
|
||||
nanoBootsTraveller = new ItemNanoBootsTraveller(3, 3).setUnlocalizedName(ModInformation.modid + ".boots.traveller.nano");
|
||||
GameRegistry.registerItem(nanoBootsTraveller, "NanoBootsTraveller");
|
||||
|
||||
quantumBootsTraveller = new ItemQuantumBootsTraveller(3, 3).setUnlocalizedName(ModInformation.modid + ".boots.traveller.quantum");
|
||||
GameRegistry.registerItem(quantumBootsTraveller, "QuantumBootsTraveller");
|
||||
|
||||
@@ -124,17 +116,22 @@ public class ItemRegistry {
|
||||
|
||||
featherWing = new ItemFeatherWing(featherWingMaterial, 7, 1).setUnlocalizedName(ModInformation.modid + ".wing.feather");
|
||||
GameRegistry.registerItem(featherWing, "FeatherWing");
|
||||
|
||||
thaumiumWing = new ItemThaumiumReinforcedWing(ThaumcraftApi.armorMatThaumium, 7, 1).setUnlocalizedName(ModInformation.modid + ".wing.thaumium");
|
||||
GameRegistry.registerItem(thaumiumWing, "ThaumiumWing");
|
||||
|
||||
nanoWing = new ItemNanoWing(ItemArmor.ArmorMaterial.DIAMOND, 7, 1).setUnlocalizedName(ModInformation.modid + ".wing.nano");
|
||||
GameRegistry.registerItem(nanoWing, "NanosuitWing");
|
||||
|
||||
quantumWing = new ItemQuantumWing(ItemArmor.ArmorMaterial.DIAMOND, 7, 1).setUnlocalizedName(ModInformation.modid + ".wing.quantum");
|
||||
GameRegistry.registerItem(quantumWing, "QuantumWing");
|
||||
|
||||
thorHammer = new ItemThorHammer().setUnlocalizedName(ModInformation.modid + ".hammer");
|
||||
GameRegistry.registerItem(thorHammer, "Mjolnir");
|
||||
|
||||
taintedThorHammer = new ItemThorHammerBroken().setUnlocalizedName(ModInformation.modid + ".hammer.broken");
|
||||
GameRegistry.registerItem(taintedThorHammer, "TaintedMjolnir");
|
||||
|
||||
electricThorHammer = new ItemElectricThorHammer().setUnlocalizedName(ModInformation.modid + ".hammer.electric");
|
||||
GameRegistry.registerItem(electricThorHammer, "SuperchargedMjolnir");
|
||||
|
||||
@@ -143,96 +140,41 @@ public class ItemRegistry {
|
||||
|
||||
diamondChainsaw = new ItemDiamondChainsaw().setUnlocalizedName(ModInformation.modid + ".chainsaw.diamond");
|
||||
GameRegistry.registerItem(diamondChainsaw, "DiamondChainsaw");
|
||||
|
||||
thaumiumChainsaw = new ItemThaumiumChainsaw().setUnlocalizedName(ModInformation.modid + ".chainsaw.thaumium");
|
||||
GameRegistry.registerItem(thaumiumChainsaw, "ThaumiumChainsaw");
|
||||
|
||||
ironOmnitool = new ItemOmnitoolIron().setUnlocalizedName(ModInformation.modid + ".omnitool.iron");
|
||||
GameRegistry.registerItem(ironOmnitool, "Omnitool");
|
||||
|
||||
diamondOmnitool = new ItemOmnitoolDiamond().setUnlocalizedName(ModInformation.modid + ".omnitool.diamond");
|
||||
GameRegistry.registerItem(diamondOmnitool, "Diamond Omnitool");
|
||||
|
||||
thaumiumOmnitool = new ItemOmnitoolThaumium().setUnlocalizedName(ModInformation.modid + ".omnitool.thaumium");
|
||||
GameRegistry.registerItem(thaumiumOmnitool, "ThaumiumOmnitool");
|
||||
|
||||
streamChainsaw = new ItemStreamChainsaw().setUnlocalizedName(ModInformation.modid + ".chainsaw.stream");
|
||||
GameRegistry.registerItem(streamChainsaw, "ChainsawStream");
|
||||
|
||||
rockbreakerDrill = new ItemRockbreakerDrill().setUnlocalizedName(ModInformation.modid + ".drill.rockbreaker");
|
||||
GameRegistry.registerItem(rockbreakerDrill, "DrillRockbreaker");
|
||||
|
||||
electricHoeGrowth = new ItemElectricHoeGrowth().setUnlocalizedName(ModInformation.modid + ".hoeofgrowth.electric");
|
||||
GameRegistry.registerItem(electricHoeGrowth, "ElectricHoeGrowth");
|
||||
|
||||
explosionFocus = new ItemExplosionFocus();
|
||||
GameRegistry.registerItem(explosionFocus, "ExplosionFocus");
|
||||
|
||||
christmasFocus = new ItemChristmasFocus();
|
||||
GameRegistry.registerItem(christmasFocus, "ChristmasFocus");
|
||||
|
||||
shieldFocus = new ItemShieldFocus();
|
||||
GameRegistry.registerItem(shieldFocus, "ShieldFocus");
|
||||
|
||||
chargeFocus = new ItemChargeFocus();
|
||||
GameRegistry.registerItem(chargeFocus, "ChargingFocus");
|
||||
|
||||
wandChargeFocus = new ItemWandChargingFocus();
|
||||
GameRegistry.registerItem(wandChargeFocus, "WandChargingFocus");
|
||||
|
||||
//woodCarver = new ItemShardCarver(8).setUnlocalizedName(ModInformation.modid + ".carver.wood");
|
||||
//GameRegistry.registerItem(woodCarver, "woodCarver");
|
||||
//stoneCarver = new ItemShardCarver(32).setUnlocalizedName(ModInformation.modid + ".carver.stone");
|
||||
//GameRegistry.registerItem(stoneCarver, "stoneCarver");
|
||||
//ironCarver = new ItemShardCarver(128).setUnlocalizedName(ModInformation.modid + ".carver.iron");
|
||||
//GameRegistry.registerItem(ironCarver, "ironCarver");
|
||||
//obsidianCarver = new ItemShardCarver(256).setUnlocalizedName(ModInformation.modid + ".carver.obsidian");
|
||||
//GameRegistry.registerItem(obsidianCarver, "obsidianCarver");
|
||||
//diamondCarver = new ItemShardCarver(1204).setUnlocalizedName(ModInformation.modid + ".carver.diamond");
|
||||
//GameRegistry.registerItem(diamondCarver, "diamondCarver");
|
||||
|
||||
//woodenDrill = new ItemVanillaDrill(Item.ToolMaterial.WOOD, 75, "drill_wood", new ItemStack(Item.getItemFromBlock(Blocks.planks))).setUnlocalizedName(ModInformation.modid + ".drill.wood");
|
||||
//GameRegistry.registerItem(woodenDrill, "woodenDrill");
|
||||
//stoneDrill = new ItemVanillaDrill(Item.ToolMaterial.STONE, 165, "drill_stone", new ItemStack(Item.getItemFromBlock(Blocks.cobblestone))).setUnlocalizedName(ModInformation.modid + ".drill.stone");
|
||||
//GameRegistry.registerItem(stoneDrill, "stoneDrill");
|
||||
//ironDrill = new ItemVanillaDrill(Item.ToolMaterial.IRON, 400, "drill_iron", new ItemStack(Items.iron_ingot)).setUnlocalizedName(ModInformation.modid + ".drill.iron");
|
||||
//GameRegistry.registerItem(ironDrill, "ironDrill");
|
||||
//goldenDrill = new ItemVanillaDrill(Item.ToolMaterial.GOLD, 55, "drill_gold", new ItemStack(Items.gold_ingot)).setUnlocalizedName(ModInformation.modid + ".drill.gold");
|
||||
//GameRegistry.registerItem(goldenDrill, "goldenDrill");
|
||||
//diamondDrill = new ItemVanillaDrill(Item.ToolMaterial.EMERALD, 2015, "drill_diamond", new ItemStack(Items.diamond)).setUnlocalizedName(ModInformation.modid + ".drill.diamond");
|
||||
//GameRegistry.registerItem(diamondDrill, "diamondDrill");
|
||||
//copperDrill = new ItemVanillaDrill(copperMaterial, 450, "drill_copper", OreDictionary.getOres("ingotCopper").get(0)).setUnlocalizedName(ModInformation.modid + ".drill.copper");
|
||||
//GameRegistry.registerItem(copperDrill, "copperDrill");
|
||||
//tinDrill = new ItemVanillaDrill(tinMaterial, 350, "drill_tin", OreDictionary.getOres("ingotTin").get(0)).setUnlocalizedName(ModInformation.modid + ".drill.tin");
|
||||
//GameRegistry.registerItem(tinDrill, "tinDrill");
|
||||
//leadDrill = new ItemVanillaDrill(leadMaterial, 400, "drill_lead", OreDictionary.getOres("ingotLead").get(0)).setUnlocalizedName(ModInformation.modid + ".drill.lead");
|
||||
//GameRegistry.registerItem(leadDrill, "leadDrill");
|
||||
//bronzeDrill = new ItemVanillaDrill(bronzeMaterial, 650, "drill_bronze", OreDictionary.getOres("ingotBronze").get(0)).setUnlocalizedName(ModInformation.modid + ".drill.bronze");
|
||||
//GameRegistry.registerItem(bronzeDrill, "bronzeDrill");
|
||||
|
||||
//woodenChainsaw = new ItemVanillaChainsaw(Item.ToolMaterial.WOOD, 75, "chainsaw_wooden", Item.getItemFromBlock(Blocks.planks)).setUnlocalizedName(ModInformation.modid + ".chainsaw.wood");
|
||||
//GameRegistry.registerItem(woodenChainsaw, "woodenChainsaw");
|
||||
//stoneChainsaw = new ItemVanillaChainsaw(Item.ToolMaterial.STONE, 165, "chainsaw_stone", Item.getItemFromBlock(Blocks.cobblestone)).setUnlocalizedName(ModInformation.modid + ".chainsaw.stone");
|
||||
//GameRegistry.registerItem(stoneChainsaw, "stoneChainsaw");
|
||||
//ironChainsaw = new ItemVanillaChainsaw(Item.ToolMaterial.IRON, 315, "chainsaw_iron", Items.iron_ingot, 3F).setUnlocalizedName(ModInformation.modid + ".chainsaw.iron");
|
||||
//GameRegistry.registerItem(ironChainsaw, "ironChainsaw");
|
||||
//goldenChainsaw = new ItemVanillaChainsaw(Item.ToolMaterial.GOLD, 55, "chainsaw_gold", Items.gold_ingot).setUnlocalizedName(ModInformation.modid + ".chainsaw.gold");
|
||||
//GameRegistry.registerItem(goldenChainsaw, "goldenChainsaw");
|
||||
//diamondChainsaw = new ItemVanillaChainsaw(Item.ToolMaterial.EMERALD, 2015, "chainsaw_diamond", Items.diamond, 6F).setUnlocalizedName(ModInformation.modid + ".chainsaw.diamond");
|
||||
//GameRegistry.registerItem(diamondChainsaw, "diamondChainsaw");
|
||||
//copperChainsaw = new ItemVanillaChainsaw(copperMaterial, 450, "chainsaw_copper", OreDictionary.getOres("ingotCopper").get(0).getItem(), 3F).setUnlocalizedName(ModInformation.modid + ".chainsaw.copper");
|
||||
//GameRegistry.registerItem(copperChainsaw, "copperChainsaw");
|
||||
//tinChainsaw = new ItemVanillaChainsaw(tinMaterial, 350, "chainsaw_tin", OreDictionary.getOres("ingotTin").get(0).getItem(), 5F).setUnlocalizedName(ModInformation.modid + ".chainsaw.tin");
|
||||
//GameRegistry.registerItem(tinChainsaw, "tinChainsaw");
|
||||
//leadChainsaw = new ItemVanillaChainsaw(leadMaterial, 400, "chainsaw_lead", OreDictionary.getOres("ingotLead").get(0).getItem(), 3.5F).setUnlocalizedName(ModInformation.modid + ".chainsaw.lead");
|
||||
//GameRegistry.registerItem(leadChainsaw, "leadChainsaw");
|
||||
//bronzeChainsaw = new ItemVanillaChainsaw(bronzeMaterial, 650, "chainsaw_bronze", OreDictionary.getOres("ingotBronze").get(0).getItem(), 4F).setUnlocalizedName(ModInformation.modid + ".chainsaw.bronze");
|
||||
//GameRegistry.registerItem(bronzeChainsaw, "bronzeChainsaw");
|
||||
|
||||
//ironOmnitool = new ItemVanillaOmnitool(Item.ToolMaterial.IRON, 500, "omnitool_iron", Items.iron_ingot).setUnlocalizedName(ModInformation.modid + ".omnitool.iron");
|
||||
//GameRegistry.registerItem(ironOmnitool, "ironOmnitool");
|
||||
//goldenOmnitool = new ItemVanillaOmnitool(Item.ToolMaterial.GOLD, 100, "omnitool_gold", Items.gold_ingot).setUnlocalizedName(ModInformation.modid + ".omnitool.gold");
|
||||
//GameRegistry.registerItem(goldenOmnitool, "goldenOmnitool");
|
||||
//diamondOmnitool = new ItemVanillaOmnitool(Item.ToolMaterial.EMERALD, 3900, "omnitool_diamond", Items.diamond).setUnlocalizedName(ModInformation.modid + ".omnitool.diamond");
|
||||
//GameRegistry.registerItem(diamondOmnitool, "diamondOmnitool");
|
||||
//copperOmnitool = new ItemVanillaOmnitool(copperMaterial, 850, "omnitool_copper", OreDictionary.getOres("ingotCopper").get(0).getItem()).setUnlocalizedName(ModInformation.modid + ".omnitool.copper");
|
||||
//GameRegistry.registerItem(copperOmnitool, "copperOmnitool");
|
||||
//tinOmnitool = new ItemVanillaOmnitool(tinMaterial, 640, "omnitool_tin", OreDictionary.getOres("ingotTin").get(0).getItem()).setUnlocalizedName(ModInformation.modid + ".omnitool.tin");
|
||||
//GameRegistry.registerItem(tinOmnitool, "tinOmnitool");
|
||||
//leadOmnitool = new ItemVanillaOmnitool(leadMaterial, 700, "omnitool_lead", OreDictionary.getOres("ingotLead").get(0).getItem()).setUnlocalizedName(ModInformation.modid + ".omnitool.lead");
|
||||
//GameRegistry.registerItem(leadOmnitool, "leadOmnitool");
|
||||
//bronzeOmnitool = new ItemVanillaOmnitool(bronzeMaterial, 950, "omnitool_bronze", OreDictionary.getOres("ingotBronze").get(0).getItem()).setUnlocalizedName(ModInformation.modid + ".omnitool.bronze");
|
||||
//GameRegistry.registerItem(bronzeOmnitool, "bronzeOmnitool");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,540 @@
|
||||
package tombenpotter.emt.common.items.armor;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.EventBus;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ic2.api.item.ElectricItem;
|
||||
import ic2.api.item.IC2Items;
|
||||
import ic2.api.item.IElectricItemManager;
|
||||
import ic2.core.IC2;
|
||||
import ic2.core.IC2Achievements;
|
||||
import ic2.core.IC2Potion;
|
||||
import ic2.core.Ic2Items;
|
||||
import ic2.core.Platform;
|
||||
import ic2.core.audio.AudioManager;
|
||||
import ic2.core.audio.AudioSource;
|
||||
import ic2.core.audio.PositionSpec;
|
||||
import ic2.core.init.InternalName;
|
||||
import ic2.core.init.MainConfig;
|
||||
import ic2.core.item.ItemTinCan;
|
||||
import ic2.core.item.armor.ItemArmorElectric;
|
||||
import ic2.core.util.ConfigUtil;
|
||||
import ic2.core.util.Keyboard;
|
||||
import ic2.core.util.StackUtil;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Random;
|
||||
|
||||
import tombenpotter.emt.ElectroMagicTools;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
import tombenpotter.emt.client.model.ModelCpecialArmor;
|
||||
import tombenpotter.emt.client.model.ModelWings;
|
||||
import tombenpotter.emt.common.items.ItemRegistry;
|
||||
import tombenpotter.emt.common.util.ConfigHandler;
|
||||
import tombenpotter.emt.common.util.RandomHelper;
|
||||
import tombenpotter.emt.common.util.TextHelper;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.item.EnumRarity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.FoodStats;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ISpecialArmor;
|
||||
import net.minecraftforge.common.ISpecialArmor.ArmorProperties;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.entity.living.LivingFallEvent;
|
||||
|
||||
public class ItemEMTQuantum extends ItemArmorElectric {
|
||||
|
||||
IIcon icon0;
|
||||
IIcon icon1;
|
||||
IIcon icon2;
|
||||
IIcon icon3;
|
||||
IIcon icon4;
|
||||
Random rnd;
|
||||
|
||||
protected static final Map<Integer, Integer> potionRemovalCost = new HashMap();
|
||||
public static AudioSource audioSource;
|
||||
private static boolean lastJetpackUsed = false;
|
||||
|
||||
public ItemEMTQuantum(InternalName internalName, int armorType1) {
|
||||
super(internalName, InternalName.quantum, armorType1, 2000000, 12000.0D, 4);
|
||||
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
|
||||
this.setCreativeTab(ElectroMagicTools.tabEMT);
|
||||
|
||||
potionRemovalCost.put(Integer.valueOf(Potion.poison.id), Integer.valueOf(10000));
|
||||
potionRemovalCost.put(Integer.valueOf(IC2Potion.radiation.id), Integer.valueOf(10000));
|
||||
potionRemovalCost.put(Integer.valueOf(Potion.wither.id), Integer.valueOf(25000));
|
||||
rnd = new Random();
|
||||
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IIconRegister iconRegister) {
|
||||
icon0 = iconRegister.registerIcon(ModInformation.texturePath + ":armor/armor_quantum_chest");
|
||||
icon1 = iconRegister.registerIcon(ModInformation.texturePath + ":armor/armor_quantum_chest_jetpack");
|
||||
icon2 = iconRegister.registerIcon(ModInformation.texturePath + ":armor/armor_quantum_chest_wing_t");
|
||||
icon3 = iconRegister.registerIcon(ModInformation.texturePath + ":armor/armor_quantum_chest_wing_n");
|
||||
icon4 = iconRegister.registerIcon(ModInformation.texturePath + ":armor/armor_quantum_chest_wing_q");
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onEntityLivingFallEvent(LivingFallEvent event) {
|
||||
if ((IC2.platform.isSimulating()) && ((event.entity instanceof EntityLivingBase))) {
|
||||
EntityLivingBase entity = (EntityLivingBase) event.entity;
|
||||
ItemStack armor = entity.getEquipmentInSlot(1);
|
||||
if ((armor != null) && (armor.getItem() == this)) {
|
||||
int fallDamage = Math.max((int) event.distance - 10, 0);
|
||||
double energyCost = getEnergyPerDamage() * fallDamage;
|
||||
if (energyCost <= ElectricItem.manager.getCharge(armor)) {
|
||||
ElectricItem.manager.discharge(armor, energyCost, Integer.MAX_VALUE, true, false, false);
|
||||
event.setCanceled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public double getDamageAbsorptionRatio() {
|
||||
return 1.1D;
|
||||
}
|
||||
|
||||
private double getBaseAbsorptionRatio() {
|
||||
return 0.15D;
|
||||
}
|
||||
|
||||
public int getEnergyPerDamage() {
|
||||
return 20000;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public EnumRarity getRarity(ItemStack stack) {
|
||||
return EnumRarity.rare;
|
||||
}
|
||||
|
||||
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
|
||||
NBTTagCompound nbtData = StackUtil.getOrCreateNbtData(itemStack);
|
||||
|
||||
byte toggleTimer = nbtData.getByte("toggleTimer");
|
||||
boolean ret = false;
|
||||
|
||||
IC2.platform.profilerStartSection("QuantumBodyarmor");
|
||||
|
||||
boolean jetpack = nbtData.getBoolean("jetpack");
|
||||
boolean hoverMode = nbtData.getBoolean("hoverMode");
|
||||
boolean jetpackUsed = false;
|
||||
String useother = nbtData.getString("useother");
|
||||
|
||||
if(!useother.equals("TW") && !useother.equals("NW") && !useother.equals("QW") && !useother.equals("Jetpack") && !useother.equals("None")){
|
||||
nbtData.setString("useother", "None");
|
||||
}
|
||||
|
||||
if ((IC2.keyboard.isJumpKeyDown(player)) && (IC2.keyboard.isModeSwitchKeyDown(player)) && (toggleTimer == 0)) {
|
||||
toggleTimer = 30;
|
||||
hoverMode = !hoverMode;
|
||||
if (IC2.platform.isSimulating())
|
||||
{
|
||||
nbtData.setBoolean("hoverMode", hoverMode);
|
||||
if (hoverMode)
|
||||
{
|
||||
IC2.platform.messagePlayer(player, "Hover Mode enabled.", new Object[0]);
|
||||
} else
|
||||
{
|
||||
IC2.platform.messagePlayer(player, "Hover Mode disabled.", new Object[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(player.inventory.getCurrentItem() != null){
|
||||
if(IC2.keyboard.isSneakKeyDown(player) && (player.inventory.getCurrentItem().getUnlocalizedName().equals("ic2.itemArmorJetpackElectric")) && toggleTimer == 0 && useother.equals("None")){
|
||||
toggleTimer = 30;
|
||||
if (IC2.platform.isSimulating()) {
|
||||
player.inventory.armorInventory[2].stackTagCompound.setBoolean("jetpack", true);
|
||||
IC2.platform.messagePlayer(player, "Jetpack enabled.", new Object[0]);
|
||||
if(player.inventory.armorInventory[2] == itemStack){
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "Jetpack");
|
||||
player.inventory.armorInventory[2].stackTagCompound.setInteger("jetpackCharge", (int) ElectricItem.manager.getCharge(player.inventory.getCurrentItem()));
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(player.inventory.getCurrentItem() != null){
|
||||
if(IC2.keyboard.isSneakKeyDown(player) && player.inventory.getCurrentItem().getItem() == ItemRegistry.thaumiumWing && toggleTimer == 0 && useother.equals("None")){
|
||||
toggleTimer = 30;
|
||||
if (IC2.platform.isSimulating()) {
|
||||
IC2.platform.messagePlayer(player, "Thaumium wings enabled.", new Object[0]);
|
||||
if(player.inventory.armorInventory[2] == itemStack){
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "TW");
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(player.inventory.getCurrentItem() != null){
|
||||
if(IC2.keyboard.isSneakKeyDown(player) && player.inventory.getCurrentItem().getItem() == ItemRegistry.nanoWing && toggleTimer == 0 && useother.equals("None")){
|
||||
toggleTimer = 30;
|
||||
if (IC2.platform.isSimulating()) {
|
||||
IC2.platform.messagePlayer(player, "Nano wings enabled.", new Object[0]);
|
||||
if(player.inventory.armorInventory[2] == itemStack){
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "NW");
|
||||
player.inventory.armorInventory[2].stackTagCompound.setInteger("NWCharge", (int) ElectricItem.manager.getCharge(player.inventory.getCurrentItem()));
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(player.inventory.getCurrentItem() != null){
|
||||
if(IC2.keyboard.isSneakKeyDown(player) && player.inventory.getCurrentItem().getItem() == ItemRegistry.quantumWing && toggleTimer == 0 && useother.equals("None")){
|
||||
toggleTimer = 30;
|
||||
if (IC2.platform.isSimulating()) {
|
||||
IC2.platform.messagePlayer(player, "Quantum wings enabled.", new Object[0]);
|
||||
if(player.inventory.armorInventory[2] == itemStack){
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "QW");
|
||||
player.inventory.armorInventory[2].stackTagCompound.setInteger("QWCharge", (int) ElectricItem.manager.getCharge(player.inventory.getCurrentItem()));
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(player.inventory.getCurrentItem() == null && nbtData.getBoolean("unequip") && player.isSneaking() && toggleTimer == 0 && IC2.platform.isSimulating()){
|
||||
toggleTimer = 30;
|
||||
if(player.inventory.armorInventory[2] == itemStack){
|
||||
if(player.inventory.getCurrentItem() == null){
|
||||
if(useother.equals("Jetpack")){
|
||||
IC2.platform.messagePlayer(player, "Jetpack disabled.", new Object[0]);
|
||||
jetpack = false;
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "None");
|
||||
ItemStack charged = new ItemStack(IC2Items.getItem("electricJetpack").getItem());
|
||||
if(player.inventory.armorInventory[2].stackTagCompound.getInteger("jetpackCharge") > 50)
|
||||
ElectricItem.manager.charge(charged, player.inventory.armorInventory[2].stackTagCompound.getInteger("jetpackCharge"), player.inventory.armorInventory[2].stackTagCompound.getInteger("jetpackCharge"), true, false);
|
||||
else
|
||||
ElectricItem.manager.charge(charged, 50, 50, true, false);
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, charged);
|
||||
}
|
||||
|
||||
if(useother.equals("TW")){
|
||||
IC2.platform.messagePlayer(player, "Thaumium wings disabled.", new Object[0]);
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "None");
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, new ItemStack(ItemRegistry.thaumiumWing));
|
||||
}
|
||||
|
||||
if(useother.equals("NW")){
|
||||
IC2.platform.messagePlayer(player, "Nano wings disabled.", new Object[0]);
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "None");
|
||||
ItemStack charged = new ItemStack(ItemRegistry.nanoWing);
|
||||
if(player.inventory.armorInventory[2].stackTagCompound.getInteger("NWCharge") > 1)
|
||||
ElectricItem.manager.charge(charged, player.inventory.armorInventory[2].stackTagCompound.getInteger("NWCharge"), player.inventory.armorInventory[2].stackTagCompound.getInteger("NWCharge"), true, false);
|
||||
else
|
||||
ElectricItem.manager.charge(charged, 1, 1, true, false);
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, charged);
|
||||
}
|
||||
|
||||
if(useother.equals("QW")){
|
||||
IC2.platform.messagePlayer(player, "Quantum wings disabled.", new Object[0]);
|
||||
player.inventory.armorInventory[2].stackTagCompound.setString("useother", "None");
|
||||
ItemStack charged = new ItemStack(ItemRegistry.quantumWing);
|
||||
if(player.inventory.armorInventory[2].stackTagCompound.getInteger("QWCharge") > 1)
|
||||
ElectricItem.manager.charge(charged, player.inventory.armorInventory[2].stackTagCompound.getInteger("QWCharge"), player.inventory.armorInventory[2].stackTagCompound.getInteger("QWCharge"), true, false);
|
||||
else
|
||||
ElectricItem.manager.charge(charged, 1, 1, true, false);
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, charged);
|
||||
}
|
||||
|
||||
nbtData.setBoolean("unequip", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((jetpack) && ((IC2.keyboard.isJumpKeyDown(player)) && (useother.equals("Jetpack")) || ((hoverMode) && (player.motionY < -0.029999999329447746D)))) {
|
||||
jetpackUsed = useJetpack(player, hoverMode, itemStack);
|
||||
}
|
||||
|
||||
if ((useother.equals("TW"))) {
|
||||
useWings(player, itemStack, world, 0.15f, 0.7f, 0.5f, false);
|
||||
}
|
||||
|
||||
if ((useother.equals("NW"))) {
|
||||
useWings(player, itemStack, world, 0.25f, 0.6f, 0.3f, true);
|
||||
}
|
||||
|
||||
if ((useother.equals("QW"))) {
|
||||
useWings(player, itemStack, world, 0.33f, 0.5f, 0.2f, true);
|
||||
}
|
||||
|
||||
if ((IC2.platform.isSimulating()) && (toggleTimer > 0)) {
|
||||
toggleTimer = (byte) (toggleTimer - 1);
|
||||
nbtData.setByte("toggleTimer", toggleTimer);
|
||||
}
|
||||
if ((IC2.platform.isRendering()) && (player == IC2.platform.getPlayerInstance())) {
|
||||
if (lastJetpackUsed != jetpackUsed) {
|
||||
if (jetpackUsed) {
|
||||
if (audioSource == null) {
|
||||
audioSource = IC2.audioManager.createSource(player, PositionSpec.Backpack, "Tools/Jetpack/JetpackLoop.ogg", true, false, IC2.audioManager.getDefaultVolume());
|
||||
}
|
||||
if (audioSource != null) {
|
||||
audioSource.play();
|
||||
}
|
||||
} else if (audioSource != null) {
|
||||
audioSource.remove();
|
||||
audioSource = null;
|
||||
}
|
||||
lastJetpackUsed = jetpackUsed;
|
||||
}
|
||||
if (audioSource != null) {
|
||||
audioSource.updatePosition();
|
||||
}
|
||||
}
|
||||
|
||||
if(world.isRemote){
|
||||
getIconIndex(itemStack);
|
||||
}
|
||||
ret = jetpackUsed;
|
||||
|
||||
player.extinguish();
|
||||
|
||||
IC2.platform.profilerEndSection();
|
||||
|
||||
if (ret) {
|
||||
player.inventoryContainer.detectAndSendChanges();
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public IIcon getIconIndex(ItemStack stack){
|
||||
try{
|
||||
String useother = stack.stackTagCompound.getString("useother");
|
||||
if(useother.equals("Jetpack")){
|
||||
return icon1;
|
||||
}
|
||||
if(useother.equals("TW")){
|
||||
return icon2;
|
||||
}
|
||||
if(useother.equals("NW")){
|
||||
return icon3;
|
||||
}
|
||||
if(useother.equals("QW")){
|
||||
return icon4;
|
||||
}
|
||||
}
|
||||
catch(Exception ex){
|
||||
return icon0;
|
||||
}
|
||||
|
||||
return icon0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(ItemStack stack, int renderPass, EntityPlayer player, ItemStack usingItem, int useRemaining){
|
||||
try{
|
||||
String useother = stack.stackTagCompound.getString("useother");
|
||||
if(useother.equals("Jetpack")){
|
||||
return icon1;
|
||||
}
|
||||
if(useother.equals("TW")){
|
||||
return icon2;
|
||||
}
|
||||
if(useother.equals("NW")){
|
||||
return icon3;
|
||||
}
|
||||
if(useother.equals("QW")){
|
||||
return icon4;
|
||||
}
|
||||
}
|
||||
catch(Exception e){
|
||||
return icon0;
|
||||
}
|
||||
|
||||
return icon0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemEnchantability() {
|
||||
if (ConfigHandler.enchanting == false) {
|
||||
return 0;
|
||||
} else {
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
|
||||
String useother = stack.stackTagCompound.getString("useother");
|
||||
if(useother.equals("Jetpack")){
|
||||
return ModInformation.texturePath + ":textures/models/quantum_jetpack.png";
|
||||
}
|
||||
if(useother.equals("TW")){
|
||||
return ModInformation.texturePath + ":textures/models/quantum_wings_t.png";
|
||||
}
|
||||
if(useother.equals("NW")){
|
||||
return ModInformation.texturePath + ":textures/models/quantum_wings_n.png";
|
||||
}
|
||||
if(useother.equals("QW")){
|
||||
return ModInformation.texturePath + ":textures/models/quantum_wings_q.png";
|
||||
}
|
||||
return ModInformation.texturePath + ":textures/models/quantum.png";
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public ModelBiped getArmorModel(EntityLivingBase entity, ItemStack stack, int armorSlot) {
|
||||
try{
|
||||
if(entity instanceof EntityPlayer){
|
||||
String useother = stack.stackTagCompound.getString("useother");
|
||||
if(useother.equals("Jetpack")){
|
||||
ModelCpecialArmor mbm = new ModelCpecialArmor(1, 1);
|
||||
return mbm;
|
||||
}
|
||||
if(useother.equals("TW") || useother.equals("NW") || useother.equals("QW")){
|
||||
ModelCpecialArmor mbm = new ModelCpecialArmor(1, 2);
|
||||
mbm.isJumping = stack.stackTagCompound.getBoolean("isJumping");
|
||||
return mbm;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(NullPointerException e){new ModelCpecialArmor(1, 0);}
|
||||
return new ModelCpecialArmor(1, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) {
|
||||
try{
|
||||
String useother = stack.stackTagCompound.getString("useother");
|
||||
if(useother.equals("Jetpack")){
|
||||
list.add((stack.stackTagCompound.getInteger("jetpackCharge")) + " EU JETPACK");
|
||||
}
|
||||
if(useother.equals("NW")){
|
||||
list.add((stack.stackTagCompound.getInteger("NWCharge")) + " EU NW");
|
||||
}
|
||||
if(useother.equals("QW")){
|
||||
list.add((stack.stackTagCompound.getInteger("QWCharge")) + " EU QW");
|
||||
}
|
||||
}
|
||||
catch(NullPointerException e){}
|
||||
}
|
||||
|
||||
public boolean useJetpack(EntityPlayer player, boolean hoverMode, ItemStack stack) {
|
||||
int jetpackMaxCharge = 30000;
|
||||
|
||||
ItemStack jetpack = player.inventory.armorInventory[2];
|
||||
if (stack.stackTagCompound.getInteger("jetpackCharge") == 0){
|
||||
return false;
|
||||
}
|
||||
float power = 1.0F;
|
||||
float dropPercentage = 0.05F;
|
||||
if (((float)stack.stackTagCompound.getInteger("jetpackCharge") / (float)jetpackMaxCharge) <= dropPercentage){
|
||||
power = (float) (power * (stack.stackTagCompound.getInteger("jetpackCharge") / (float)jetpackMaxCharge) * dropPercentage);
|
||||
}
|
||||
if (IC2.keyboard.isForwardKeyDown(player)) {
|
||||
float retruster = 3.5F;
|
||||
if (hoverMode) {
|
||||
retruster = 0.5F;
|
||||
}
|
||||
float forwardpower = power * retruster * 2.0F;
|
||||
if (forwardpower > 0.0F) {
|
||||
player.moveFlying(0.0F, 0.4F * forwardpower, 0.02F);
|
||||
}
|
||||
}
|
||||
|
||||
int worldHeight = IC2.getWorldHeight(player.worldObj);
|
||||
|
||||
double y = player.posY;
|
||||
if (y > worldHeight - 25) {
|
||||
if (y > worldHeight) {
|
||||
y = worldHeight;
|
||||
}
|
||||
power = (float) (power * ((worldHeight - y) / 25.0D));
|
||||
}
|
||||
double prevmotion = player.motionY;
|
||||
player.motionY = Math.min(player.motionY + power * 0.2F, 0.6000000238418579D);
|
||||
if (hoverMode) {
|
||||
float maxHoverY = -0.025F;
|
||||
if (IC2.keyboard.isSneakKeyDown(player)) {
|
||||
maxHoverY = -0.1F;
|
||||
}
|
||||
if (IC2.keyboard.isJumpKeyDown(player)) {
|
||||
maxHoverY = 0.1F;
|
||||
}
|
||||
if (player.motionY > maxHoverY) {
|
||||
player.motionY = maxHoverY;
|
||||
if (prevmotion > player.motionY) {
|
||||
player.motionY = prevmotion;
|
||||
}
|
||||
}
|
||||
}
|
||||
double consume = 8.0D;
|
||||
if (hoverMode) {
|
||||
consume = 10.0D;
|
||||
}
|
||||
stack.stackTagCompound.setInteger("jetpackCharge", (int)(stack.stackTagCompound.getInteger("jetpackCharge") - consume));
|
||||
player.fallDistance = 0.0F;
|
||||
player.distanceWalkedModified = 0.0F;
|
||||
IC2.platform.resetPlayerInAirTime(player);
|
||||
return true;
|
||||
}
|
||||
|
||||
void useWings(EntityPlayer player, ItemStack stack, World world, float motionY, float motionXZ, float f1, boolean isElectric){
|
||||
NBTTagCompound nbtData = StackUtil.getOrCreateNbtData(stack);
|
||||
|
||||
if((nbtData.getString("useother").equals("NW") && nbtData.getInteger("NWCharge") > 0) || (nbtData.getString("useother").equals("QW") && nbtData.getInteger("QWCharge") > 0) || nbtData.getString("useother").equals("TW")){
|
||||
|
||||
nbtData.setBoolean("isJumping", IC2.keyboard.isJumpKeyDown(player));
|
||||
if(nbtData.getBoolean("isJumping")){
|
||||
nbtData.setBoolean("isHolding", true);
|
||||
nbtData.setInteger("f", nbtData.getInteger("f") + 1);
|
||||
if(nbtData.getInteger("f") > 7) nbtData.setInteger("f", 7);
|
||||
}
|
||||
else if(nbtData.getBoolean("isHolding")){
|
||||
nbtData.setBoolean("isHolding", false);
|
||||
player.motionY = motionY * nbtData.getInteger("f");
|
||||
if(player.motionX < 0.7 && player.motionZ < 0.7){
|
||||
player.motionX /= motionXZ;
|
||||
player.motionZ /= motionXZ;
|
||||
}
|
||||
world.playSoundEffect(player.posX, player.posY, player.posZ, "mob.ghast.fireball", 1, 1);
|
||||
for(int i = 0; i < 4; i++){
|
||||
world.spawnParticle("cloud", player.posX - 1 + (rnd.nextInt(100) / 50d), player.posY - 1, player.posZ - 1 + (rnd.nextInt(100) / 50d), 0, -0.5, 0);
|
||||
}
|
||||
nbtData.setInteger("f", 0);
|
||||
}
|
||||
|
||||
if (nbtData.getBoolean("isJumping") && !player.onGround && player.motionY < 0)
|
||||
player.motionY *= f1;
|
||||
|
||||
if (player.isInWater() && !player.capabilities.isCreativeMode) player.motionY += -0.2;
|
||||
|
||||
if(ConfigHandler.impactOfRain){
|
||||
if ((player.worldObj.isRaining() || player.worldObj.isThundering()) && !player.capabilities.isCreativeMode)
|
||||
player.motionY = -0.3;
|
||||
}
|
||||
|
||||
if (player.isSneaking() && !player.onGround) player.motionY = -0.6;
|
||||
|
||||
if (player.fallDistance > 0.0F) player.fallDistance = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,9 @@
|
||||
package tombenpotter.emt.common.items.armor.wings;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import ic2.core.IC2;
|
||||
import ic2.core.util.StackUtil;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.Minecraft;
|
||||
@@ -10,6 +14,7 @@ import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemArmor;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import tombenpotter.emt.ElectroMagicTools;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
@@ -19,8 +24,7 @@ import tombenpotter.emt.common.util.ConfigHandler;
|
||||
public class ItemFeatherWing extends ItemArmor {
|
||||
|
||||
public int visDiscount = 0;
|
||||
public int f = 0;
|
||||
boolean isHolding = false;
|
||||
Random rnd;
|
||||
|
||||
public ItemFeatherWing(ArmorMaterial material, int par3, int par4) {
|
||||
super(material, par3, par4);
|
||||
@@ -28,6 +32,7 @@ public class ItemFeatherWing extends ItemArmor {
|
||||
this.setMaxDamage(120);
|
||||
this.setCreativeTab(ElectroMagicTools.tabEMT);
|
||||
this.isDamageable();
|
||||
rnd = new Random();
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@@ -44,39 +49,62 @@ public class ItemFeatherWing extends ItemArmor {
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) {
|
||||
return new ModelWings();
|
||||
public ModelBiped getArmorModel(EntityLivingBase entity, ItemStack stack, int armorSlot) {
|
||||
try{
|
||||
if(entity instanceof EntityPlayer){
|
||||
ModelWings mw = new ModelWings();
|
||||
mw.isJumping = stack.stackTagCompound.getBoolean("isJumping");
|
||||
return mw;
|
||||
}
|
||||
}
|
||||
catch(NullPointerException e){return new ModelWings();}
|
||||
return new ModelWings();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
|
||||
if (world.isRemote) {
|
||||
boolean isJumping = Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed();
|
||||
boolean isHoldingJump = Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
|
||||
|
||||
if(isHoldingJump){
|
||||
isHolding = true;
|
||||
f += 1;
|
||||
if(f > 7) f = 7;
|
||||
}
|
||||
else if(isHolding){
|
||||
isHolding = false;
|
||||
player.motionY = 0.09 * f;
|
||||
f = 0;
|
||||
}
|
||||
|
||||
if (isHoldingJump && !player.onGround && player.motionY < 0 && !player.capabilities.isCreativeMode)
|
||||
player.motionY *= 0.9;
|
||||
|
||||
if (player.isInWater() && !player.capabilities.isCreativeMode) player.motionY += -0.2;
|
||||
|
||||
if(ConfigHandler.impactOfRain){
|
||||
if ((player.worldObj.isRaining() || player.worldObj.isThundering()) && !player.capabilities.isCreativeMode)
|
||||
player.motionY = -0.3;
|
||||
}
|
||||
|
||||
if (player.isSneaking() && !player.onGround) player.motionY = -0.6;
|
||||
updateWings(player, stack, world, 0.09f, 0.9f, 0.9f);
|
||||
}
|
||||
|
||||
public void updateWings(EntityPlayer player, ItemStack stack, World world, float motionY, float motionXZ, float f1){
|
||||
NBTTagCompound nbtData = StackUtil.getOrCreateNbtData(stack);
|
||||
boolean isJmuping = nbtData.getBoolean("isJumping");
|
||||
boolean isHolding = nbtData.getBoolean("isHolding");
|
||||
int f = nbtData.getInteger("f");
|
||||
|
||||
nbtData.setBoolean("isJumping", IC2.keyboard.isJumpKeyDown(player));
|
||||
|
||||
if(isJmuping){
|
||||
nbtData.setBoolean("isHolding", true);
|
||||
nbtData.setInteger("f", f + 1);
|
||||
if(nbtData.getInteger("f") > 7) nbtData.setInteger("f", 7);
|
||||
}
|
||||
else if(isHolding){
|
||||
nbtData.setBoolean("isHolding", false);
|
||||
|
||||
player.motionY = motionY * f;
|
||||
if(player.motionX < 0.7 && player.motionZ < 0.7){
|
||||
player.motionX /= motionXZ;
|
||||
player.motionZ /= motionXZ;
|
||||
}
|
||||
world.playSoundEffect(player.posX, player.posY, player.posZ, "mob.ghast.fireball", 1, 1);
|
||||
for(int i = 0; i < 4; i++){
|
||||
world.spawnParticle("cloud", player.posX - 1 + (rnd.nextInt(100) / 50d), player.posY - 1, player.posZ - 1 + (rnd.nextInt(100) / 50d), 0, -0.5, 0);
|
||||
}
|
||||
nbtData.setInteger("f", 0);
|
||||
}
|
||||
|
||||
if (isJmuping && !player.onGround && player.motionY < 0)
|
||||
player.motionY *= f1;
|
||||
if (player.isInWater() && !player.capabilities.isCreativeMode) player.motionY += -0.2;
|
||||
|
||||
if(ConfigHandler.impactOfRain){
|
||||
if ((player.worldObj.isRaining() || player.worldObj.isThundering()) && !player.capabilities.isCreativeMode)
|
||||
player.motionY = -0.3;
|
||||
}
|
||||
|
||||
if (player.isSneaking() && !player.onGround) player.motionY = -0.6;
|
||||
|
||||
if (player.fallDistance > 0.0F) player.fallDistance = 0;
|
||||
}
|
||||
}
|
||||
@@ -66,36 +66,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing implements IElectri
|
||||
|
||||
@Override
|
||||
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
|
||||
if (world.isRemote) {
|
||||
boolean isJumping = Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed();
|
||||
boolean isHoldingJump = Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
|
||||
|
||||
if(isHoldingJump){
|
||||
isHolding = true;
|
||||
f += 1;
|
||||
if(f > 7) f = 7;
|
||||
}
|
||||
else if(isHolding){
|
||||
isHolding = false;
|
||||
player.motionY = 0.25 * f;
|
||||
player.motionX /= 0.7;
|
||||
player.motionZ /= 0.7;
|
||||
f = 0;
|
||||
}
|
||||
|
||||
if (isHoldingJump && !player.onGround && player.motionY < 0 && !player.capabilities.isCreativeMode)
|
||||
player.motionY *= 0.3;
|
||||
|
||||
if (player.isInWater() && !player.capabilities.isCreativeMode) player.motionY += -0.2;
|
||||
|
||||
if(ConfigHandler.impactOfRain){
|
||||
if ((player.worldObj.isRaining() || player.worldObj.isThundering()) && !player.capabilities.isCreativeMode)
|
||||
player.motionY = -0.2;
|
||||
}
|
||||
|
||||
if (player.isSneaking() && !player.onGround) player.motionY = -0.6;
|
||||
}
|
||||
if (player.fallDistance > 0.0F) player.fallDistance = 0;
|
||||
this.updateWings(player, stack, world, 0.25f, 0.6f, 0.3f);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -39,37 +39,6 @@ public class ItemQuantumWing extends ItemNanoWing {
|
||||
|
||||
@Override
|
||||
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
|
||||
if (world.isRemote) {
|
||||
boolean isJumping = Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed();
|
||||
boolean isHoldingJump = Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
|
||||
|
||||
if(isHoldingJump){
|
||||
isHolding = true;
|
||||
f += 1;
|
||||
if(f > 7) f = 7;
|
||||
}
|
||||
else if(isHolding){
|
||||
isHolding = false;
|
||||
player.motionY = 0.33 * f;
|
||||
player.motionX /= 0.6;
|
||||
player.motionZ /= 0.6;
|
||||
f = 0;
|
||||
}
|
||||
|
||||
if (isHoldingJump && !player.onGround && player.motionY < 0 && !player.capabilities.isCreativeMode)
|
||||
player.motionY *= 0.3;
|
||||
|
||||
if (player.isInWater() && !player.capabilities.isCreativeMode) player.motionY += -0.1;
|
||||
|
||||
if(ConfigHandler.impactOfRain){
|
||||
if ((player.worldObj.isRaining() || player.worldObj.isThundering()) && !player.capabilities.isCreativeMode)
|
||||
player.motionY = -0.05;
|
||||
}
|
||||
|
||||
if (player.isSneaking() && isHoldingJump) player.motionY = 0;
|
||||
|
||||
if (player.isSneaking() && !player.onGround && !isHoldingJump) player.motionY = -0.6;
|
||||
}
|
||||
if (player.fallDistance > 0.0F) player.fallDistance = 0;
|
||||
this.updateWings(player, stack, world, 0.33f, 0.5f, 0.2f);
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@ import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.IRepairable;
|
||||
import thaumcraft.api.IVisDiscountGear;
|
||||
@@ -15,6 +16,8 @@ import tombenpotter.emt.ElectroMagicTools;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
import tombenpotter.emt.common.util.ConfigHandler;
|
||||
import tombenpotter.emt.common.util.TextHelper;
|
||||
import ic2.core.IC2;
|
||||
import ic2.core.util.StackUtil;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -54,35 +57,6 @@ public class ItemThaumiumReinforcedWing extends ItemFeatherWing implements IVisD
|
||||
|
||||
@Override
|
||||
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
|
||||
if (world.isRemote) {
|
||||
boolean isJumping = Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed();
|
||||
boolean isHoldingJump = Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
|
||||
|
||||
if(isHoldingJump){
|
||||
isHolding = true;
|
||||
f += 1;
|
||||
if(f > 7) f = 7;
|
||||
}
|
||||
else if(isHolding){
|
||||
isHolding = false;
|
||||
player.motionY = 0.15 * f;
|
||||
player.motionX /= 0.8;
|
||||
player.motionZ /= 0.8;
|
||||
f = 0;
|
||||
}
|
||||
|
||||
if (isHoldingJump && !player.onGround && player.motionY < 0 && !player.capabilities.isCreativeMode)
|
||||
player.motionY *= 0.5;
|
||||
|
||||
if (player.isInWater() && !player.capabilities.isCreativeMode) player.motionY += -0.2;
|
||||
|
||||
if(ConfigHandler.impactOfRain){
|
||||
if ((player.worldObj.isRaining() || player.worldObj.isThundering()) && !player.capabilities.isCreativeMode)
|
||||
player.motionY = -0.3;
|
||||
}
|
||||
|
||||
if (player.isSneaking() && !player.onGround) player.motionY = -0.6;
|
||||
}
|
||||
if (player.fallDistance > 0.0F) player.fallDistance = 0;
|
||||
this.updateWings(player, stack, world, 0.15f, 0.7f, 0.5f);
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ public abstract class ItemBaseFocus extends ItemFocusBasic {
|
||||
public ItemBaseFocus(String unlocName, String textureName) {
|
||||
super();
|
||||
|
||||
setUnlocalizedName(ModInformation.modid + ".module." + unlocName);
|
||||
setUnlocalizedName(ModInformation.modid + unlocName);
|
||||
setCreativeTab(ElectroMagicTools.tabEMT);
|
||||
setMaxDamage(1);
|
||||
setNoRepair();
|
||||
|
||||
@@ -29,7 +29,7 @@ public class ItemChargeFocus extends ItemBaseFocus {
|
||||
private static final AspectList visCost = new AspectList().add(Aspect.FIRE, 10).add(Aspect.WATER, 10).add(Aspect.AIR, 10).add(Aspect.EARTH, 10).add(Aspect.ORDER, 10).add(Aspect.ENTROPY, 10);
|
||||
|
||||
public ItemChargeFocus() {
|
||||
super("ic2.focus.charge", "focus_charge");
|
||||
super(".focus.charge", "focus_charge");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,7 +33,7 @@ public class ItemChristmasFocus extends ItemBaseFocus {
|
||||
private static final AspectList visCost = new AspectList().add(Aspect.ORDER, 500).add(Aspect.AIR, 500);
|
||||
|
||||
public ItemChristmasFocus() {
|
||||
super("base.focus.christmas", "focus_christmas" );
|
||||
super(".focus.christmas", "focus_christmas" );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,7 +27,7 @@ public class ItemExplosionFocus extends ItemBaseFocus {
|
||||
private static final AspectList visCost = new AspectList().add(Aspect.FIRE, 200).add(Aspect.ENTROPY, 200);
|
||||
|
||||
public ItemExplosionFocus() {
|
||||
super("base.focus.explosion", "focus_explosion");
|
||||
super(".focus.explosion", "focus_explosion");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -32,7 +32,7 @@ public class ItemShieldFocus extends ItemBaseFocus {
|
||||
private static final AspectList visCost = new AspectList().add(Aspect.ORDER, 10).add(Aspect.WATER, 10).add(Aspect.AIR, 10);
|
||||
|
||||
public ItemShieldFocus() {
|
||||
super("base.focus.shield", "focus_shield");
|
||||
super(".focus.shield", "focus_shield");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -14,7 +14,7 @@ public class ItemWandChargingFocus extends ItemBaseFocus {
|
||||
AspectList visCost = new AspectList().add(Aspect.FIRE, 10).add(Aspect.WATER, 10).add(Aspect.AIR, 10).add(Aspect.EARTH, 10).add(Aspect.ORDER, 10).add(Aspect.ENTROPY, 10);
|
||||
|
||||
public ItemWandChargingFocus() {
|
||||
super("ic2.focus.charge.wand", "focus_wandCharge");
|
||||
super(".focus.charge.wand", "focus_wandCharge");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,19 +16,30 @@ import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ic2.api.item.ElectricItem;
|
||||
import ic2.api.item.IElectricItem;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemHoe;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.common.Thaumcraft;
|
||||
import thaumcraft.common.blocks.BlockCustomPlant;
|
||||
import thaumcraft.common.config.ConfigBlocks;
|
||||
import thaumcraft.common.items.equipment.ItemElementalHoe;
|
||||
import thaumcraft.common.lib.utils.Utils;
|
||||
import tombenpotter.emt.ElectroMagicTools;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ItemElectricHoeGrowth extends ItemElementalHoe implements IElectricItem {
|
||||
public class ItemElectricHoeGrowth extends ItemHoe implements IElectricItem {
|
||||
|
||||
public IIcon icon;
|
||||
public int maxCharge = 1000000;
|
||||
public int maxCharge = 10000;
|
||||
public int growthCost = 1000;
|
||||
public int tillCost = 100;
|
||||
|
||||
@@ -36,14 +47,13 @@ public class ItemElectricHoeGrowth extends ItemElementalHoe implements IElectric
|
||||
super(ToolMaterial.EMERALD);
|
||||
this.setCreativeTab(ElectroMagicTools.tabEMT);
|
||||
this.setMaxStackSize(1);
|
||||
this.growthCost = 10000;
|
||||
}
|
||||
|
||||
// Why this no work? :(
|
||||
// @SideOnly(Side.CLIENT)
|
||||
// @Override
|
||||
// public void registerIcons(IIconRegister iconRegister) {
|
||||
// this.icon = iconRegister.registerIcon(ModInformation.texturePath + ":tools/hoe_growth");
|
||||
// }
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IIconRegister iconRegister) {
|
||||
this.icon = iconRegister.registerIcon(ModInformation.texturePath + ":tools/hoe_growth");
|
||||
}
|
||||
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
@SideOnly(Side.CLIENT)
|
||||
@@ -58,17 +68,77 @@ public class ItemElectricHoeGrowth extends ItemElementalHoe implements IElectric
|
||||
itemList.add(new ItemStack(this, 1, getMaxDamage()));
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIconFromDamage(int par1)
|
||||
{
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRepairable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
|
||||
{
|
||||
if(ElectricItem.manager.getCharge(stack) > 50){
|
||||
ElectricItem.manager.discharge(stack, 50, 2, true, false, false);
|
||||
boolean did = false;
|
||||
for (int x1 = -1; x1 <= 1; x1++) {
|
||||
for (int z1 = -1; z1 <= 1; z1++) {
|
||||
if (super.onItemUse(stack, player, world, x + x1, y, z + z1, par7, par8, par9, par10))
|
||||
{
|
||||
Thaumcraft.proxy.blockSparkle(world, x + x1, y, z + z1, 8401408, 2);
|
||||
if (!did) {
|
||||
did = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!did)
|
||||
{
|
||||
did = Utils.useBonemealAtLoc(world, player, x, y, z);
|
||||
if (!did)
|
||||
{
|
||||
Block block = world.getBlock(x, y, z);
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if ((block == ConfigBlocks.blockCustomPlant) && (meta == 0) && (ElectricItem.manager.getCharge(stack) + 20 <= this.getMaxCharge(stack)))
|
||||
{
|
||||
((BlockCustomPlant)block).growGreatTree(world, x, y, z, world.rand);
|
||||
ElectricItem.manager.discharge(stack, 50, 2, true, false, false);
|
||||
Thaumcraft.proxy.blockSparkle(world, x, y, z, 0, 2);
|
||||
did = true;
|
||||
}
|
||||
else if ((block == ConfigBlocks.blockCustomPlant) && (meta == 1) && (ElectricItem.manager.getCharge(stack) + 150 <= this.getMaxCharge(stack)))
|
||||
{
|
||||
((BlockCustomPlant)block).growSilverTree(world, x, y, z, world.rand);
|
||||
ElectricItem.manager.discharge(stack, 250, 2, true, false, false);
|
||||
Thaumcraft.proxy.blockSparkle(world, x, y, z, 0, 2);
|
||||
did = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ElectricItem.manager.discharge(stack, 1, 2, true, false, false);
|
||||
Thaumcraft.proxy.blockSparkle(world, x, y, z, 0, 3);
|
||||
}
|
||||
if (did) {
|
||||
world.playSoundEffect(x + 0.5D, y + 0.5D, z + 0.5D, "thaumcraft:wand", 0.75F, 0.9F + world.rand.nextFloat() * 0.2F);
|
||||
}
|
||||
}
|
||||
return did;
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
/* IC2 API METHODS */
|
||||
|
||||
@Override
|
||||
public boolean canProvideEnergy(ItemStack itemStack) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -78,7 +148,7 @@ public class ItemElectricHoeGrowth extends ItemElementalHoe implements IElectric
|
||||
|
||||
@Override
|
||||
public int getTier(ItemStack itemStack) {
|
||||
return 3;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -88,7 +158,7 @@ public class ItemElectricHoeGrowth extends ItemElementalHoe implements IElectric
|
||||
|
||||
@Override
|
||||
public Item getChargedItem(ItemStack itemStack) {
|
||||
return this;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -68,7 +68,7 @@ public class ItemStreamChainsaw extends ItemThaumiumChainsaw {
|
||||
@Override
|
||||
public boolean onItemUse(ItemStack itemstack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10) {
|
||||
Block bi = world.getBlock(x, y, z);
|
||||
if ((!player.isSneaking()) && (Utils.isWoodLog(world, x, y, z))) {
|
||||
if ((!player.isSneaking()) && (Utils.isWoodLog(world, x, y, z)) && ElectricItem.manager.getCharge(itemstack) > cost) {
|
||||
if (!world.isRemote) {
|
||||
if (BlockUtils.breakFurthestBlock(world, x, y, z, bi, player)) {
|
||||
world.playSoundEffect(x, y, z, "thaumcraft:bubble", 0.15F, 1.0F);
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package tombenpotter.emt.common.network;
|
||||
|
||||
import tombenpotter.emt.common.items.ItemRegistry;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
|
||||
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
|
||||
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
|
||||
public class PacketEMTKeys implements IMessage, IMessageHandler<PacketEMTKeys, IMessage>{
|
||||
|
||||
@Override
|
||||
public IMessage onMessage(PacketEMTKeys message, MessageContext ctx) {
|
||||
if(ctx.getServerHandler().playerEntity.inventory.armorInventory[2] != null && ctx.getServerHandler().playerEntity.inventory.armorInventory[2].getItem() == ItemRegistry.quantumArmor){
|
||||
System.out.println("Odel.");
|
||||
ctx.getServerHandler().playerEntity.inventory.armorInventory[2].stackTagCompound.setBoolean("unequip", true);
|
||||
}
|
||||
System.out.println("Prinyal.");
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBytes(ByteBuf buf) {
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ import java.util.Random;
|
||||
|
||||
public abstract class TileEntitySolarBase extends TileEntityEMT implements IWrenchable {
|
||||
|
||||
public BasicSource energySource = new BasicSource(this, 10000, 1);
|
||||
public BasicSource energySource= new BasicSource(this, 10000, 4);
|
||||
public static Random random = new Random();
|
||||
public boolean initialized;
|
||||
public boolean theSunIsVisible;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
package tombenpotter.emt.common.tile.solars.air;
|
||||
|
||||
import ic2.api.energy.prefab.BasicSource;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tombenpotter.emt.common.blocks.BlockRegistry;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
package tombenpotter.emt.common.tile.solars.air;
|
||||
|
||||
import ic2.api.energy.prefab.BasicSource;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tombenpotter.emt.common.blocks.BlockRegistry;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
package tombenpotter.emt.common.tile.solars.air;
|
||||
|
||||
import ic2.api.energy.prefab.BasicSource;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tombenpotter.emt.common.blocks.BlockRegistry;
|
||||
|
||||
@@ -13,7 +13,6 @@ public class ConfigHandler {
|
||||
public static String CATEGORY_RESEARCH = "Research";
|
||||
public static String CATEGORY_VALUES = "Numeric Values";
|
||||
public static String CATEGORY_OUTPUTS = "Essentia Generator Outputs";
|
||||
public static String CATEGORY_MODULES = "Modules";
|
||||
|
||||
public static int essentiaGeneratorsDelay;
|
||||
public static int etherealProcessorBaseSpeed;
|
||||
@@ -105,9 +104,6 @@ public class ConfigHandler {
|
||||
public static boolean quantumWingsResearch;
|
||||
public static boolean aerGeneratorResearch;
|
||||
|
||||
public static boolean enableIC2Module;
|
||||
public static boolean enableTEModule;
|
||||
|
||||
public static void init(File file) {
|
||||
config = new Configuration(file);
|
||||
syncConfig();
|
||||
@@ -119,7 +115,6 @@ public class ConfigHandler {
|
||||
config.addCustomCategoryComment(CATEGORY_RESEARCH, "The only way to disable some researches. " + "Be careful, if you disable some researches, " + "all researches linked to it will be removed too. " + "Really, don't touch that unless you know exactly what you are doing.");
|
||||
config.addCustomCategoryComment(CATEGORY_OUTPUTS, "Change outputs linked to different Essentias here");
|
||||
config.addCustomCategoryComment(CATEGORY_RANDOM, "Options that don't fit into the other categories.");
|
||||
config.addCustomCategoryComment(CATEGORY_MODULES, "Currently does nothing. Here for dev purposes.");
|
||||
|
||||
capesOn = config.get(CATEGORY_RANDOM, "Enable capes", true, "This config option is to enable or disable capes for people who have them. " + "Seriously, you shouldn't touch that unless you have another cape and " + "it conflicts with it.").getBoolean(capesOn);
|
||||
toolsInBore = config.get(CATEGORY_RANDOM, "Tools for Arcane Bore", false, "This will augment the durablilty of the tools, and will also decrease the EU cost to 1. " + "The tools should have the same number of uses than before.").getBoolean(toolsInBore);
|
||||
@@ -205,9 +200,6 @@ public class ConfigHandler {
|
||||
quantumWingsResearch = config.get(CATEGORY_RESEARCH, "Quantum Wings", false).getBoolean(quantumWingsResearch);
|
||||
aerGeneratorResearch = config.get(CATEGORY_RESEARCH, "Aer Generator", false).getBoolean(aerGeneratorResearch);
|
||||
|
||||
enableIC2Module = config.get(CATEGORY_MODULES, "IC2 Module", true).getBoolean(enableIC2Module);
|
||||
enableTEModule = config.get(CATEGORY_MODULES, "TE Module", true).getBoolean(enableTEModule);
|
||||
|
||||
if (config.hasChanged()) {
|
||||
config.save();
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public class DungeonChestGenerator {
|
||||
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(ItemRegistry.taintedThorHammer), 0, 1, ConfigHandler.chanceTaintedMjolnir));
|
||||
}
|
||||
if (!ConfigHandler.oneRingSpawn) {
|
||||
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(ItemRegistry.emtBauble, 1, 2), 0, 1, ConfigHandler.chanceOneRing));
|
||||
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(ItemRegistry.onering), 0, 1, ConfigHandler.chanceOneRing));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,4 +25,4 @@ public class EntityEventHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,8 @@ package tombenpotter.emt.common.util;
|
||||
import cpw.mods.fml.client.event.ConfigChangedEvent;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.PlayerEvent;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.ClientTickEvent;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.monster.EntityCreeper;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -23,8 +25,11 @@ import net.minecraftforge.event.entity.living.LivingDropsEvent;
|
||||
import thaumcraft.common.entities.monster.EntityTaintChicken;
|
||||
import tombenpotter.emt.ElectroMagicTools;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
import tombenpotter.emt.client.EMTKeys;
|
||||
import tombenpotter.emt.common.items.ItemRegistry;
|
||||
import tombenpotter.emt.common.items.ItemShardCarver;
|
||||
import tombenpotter.emt.common.network.PacketEMTKeys;
|
||||
import tombenpotter.emt.proxies.ClientProxy;
|
||||
|
||||
public class EventHandlerEMT {
|
||||
|
||||
@@ -51,8 +56,8 @@ public class EventHandlerEMT {
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs) {
|
||||
if (eventArgs.modID.equals(ModInformation.modid)) {
|
||||
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) {
|
||||
if (event.modID.equals(ModInformation.modid)) {
|
||||
ConfigHandler.syncConfig();
|
||||
ElectroMagicTools.logger.info(TextHelper.localize("console.EMT.config.refresh"));
|
||||
}
|
||||
@@ -67,4 +72,11 @@ public class EventHandlerEMT {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void clientTick(ClientTickEvent e) {
|
||||
if(EMTKeys.getKey("UnEquip").getIsKeyPressed()){
|
||||
ElectroMagicTools.INSTANCE.sendToServer(new PacketEMTKeys());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,11 @@
|
||||
package tombenpotter.emt.common.util;
|
||||
|
||||
import ic2.api.item.ElectricItem;
|
||||
import tombenpotter.emt.common.items.ItemRegistry;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
@@ -9,6 +15,15 @@ import net.minecraftforge.event.ForgeEventFactory;
|
||||
|
||||
public class RandomHelper {
|
||||
|
||||
public static boolean isRKMPressed(World world){
|
||||
if(FMLCommonHandler.instance().getSide().isClient()){
|
||||
return Minecraft.getMinecraft().gameSettings.keyBindUseItem.getIsKeyPressed();
|
||||
}
|
||||
|
||||
|
||||
else return true;
|
||||
}
|
||||
|
||||
public static boolean placeTorch(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float xOffset, float yOffset, float zOffset) {
|
||||
for (int i = 0; i < player.inventory.mainInventory.length; i++) {
|
||||
ItemStack torchStack = player.inventory.mainInventory[i];
|
||||
@@ -29,4 +44,10 @@ public class RandomHelper {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static ItemStack getChargedItem(Item item, int charge){
|
||||
ItemStack stack = new ItemStack(item);
|
||||
ElectricItem.manager.charge(stack, charge, charge, true, false);
|
||||
return stack;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package tombenpotter.emt.common.util;
|
||||
|
||||
import tombenpotter.emt.EMTResearch;
|
||||
import tombenpotter.emt.common.EMTResearch;
|
||||
|
||||
|
||||
public class RegistryHandler {
|
||||
|
||||
|
||||
@@ -12,7 +12,12 @@
|
||||
|
||||
package tombenpotter.emt.proxies;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import net.minecraft.client.settings.KeyBinding;
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import tombenpotter.emt.client.EMTKeys;
|
||||
import tombenpotter.emt.client.renderer.RenderArcher;
|
||||
import tombenpotter.emt.client.renderer.RenderLaser;
|
||||
import tombenpotter.emt.common.entities.EntityArcher;
|
||||
@@ -23,6 +28,7 @@ public class ClientProxy extends CommonProxy {
|
||||
@Override
|
||||
public void load() {
|
||||
registerRenders();
|
||||
EMTKeys.registerKeys();
|
||||
}
|
||||
|
||||
public void registerRenders() {
|
||||
|
||||
@@ -60,7 +60,7 @@ item.EMT.emtitems.uumatterDrop.name=Crystallized UU-Matter Drop
|
||||
|
||||
item.EMT.emtbauble.euMaker.armor.name=Armor Charging Ring
|
||||
item.EMT.emtbauble.euMaker.inventory.name=Inventory Charging Ring
|
||||
item.EMT.emtbauble.oneRing.name=The One Ring
|
||||
item.EMT.item.bauble.oneRing.name=The One Ring
|
||||
|
||||
item.EMT.goggles.electric.name=Electric Goggles of Revealing
|
||||
item.EMT.goggles.nano.name=Nanosuit Goggles of Revealing
|
||||
@@ -77,6 +77,7 @@ item.EMT.wing.feather.name=Feather Duct-Taped Wings
|
||||
item.EMT.wing.thaumium.name=Thaumium Reinforced Wings
|
||||
item.EMT.wing.nano.name=Nanosuit Wings
|
||||
item.EMT.wing.quantum.name=Quantum Wings
|
||||
ic2.EMT.quantum=Infused Quantum Chestplate
|
||||
|
||||
item.EMT.hammer.broken.name=Broken Relic of Mjolnir
|
||||
item.EMT.hammer.name=Mjolnir
|
||||
@@ -95,83 +96,11 @@ item.EMT.chainsaw.stream.name=Chainsaw of the Stream
|
||||
item.EMT.drill.rockbreaker.name=Drill of the Rockbreaker
|
||||
item.EMT.hoeofgrowth.electric.name=Electric Hoe of Growth
|
||||
|
||||
item.EMT.module.base.focus.explosion.name=Wand Focus: Explosion
|
||||
item.EMT.module.base.focus.christmas.name=Wand Focus: Kris-tmas
|
||||
item.EMT.module.base.focus.shield.name=Wand Focus: Shield
|
||||
item.EMT.module.ic2.focus.charge.name=Wand Focus: Charging
|
||||
item.EMT.module.ic2.focus.charge.wand.name=Wand Focus: Wand Charging
|
||||
|
||||
item.EMT.drill.wood.name=Wooden Drill
|
||||
item.EMT.drill.stone.name=Stone Drill
|
||||
item.EMT.drill.iron.name=Iron Drill
|
||||
item.EMT.drill.gold.name=Golden Drill
|
||||
item.EMT.drill.diamond.name=Diamond Drill
|
||||
item.EMT.drill.copper.name=Copper Drill
|
||||
item.EMT.drill.tin.name=Tin Drill
|
||||
item.EMT.drill.lead.name=Lead Drill
|
||||
item.EMT.drill.bronze.name=Bronze Drill
|
||||
|
||||
item.EMT.chainsaw.wood.name=Wooden Chainsaw
|
||||
item.EMT.chainsaw.stone.name=Stone Chainsaw
|
||||
item.EMT.chainsaw.iron.name=Iron Chainsaw
|
||||
item.EMT.chainsaw.gold.name=Golden Chainsaw
|
||||
item.EMT.chainsaw.diamond.name=Diamond Chainsaw
|
||||
item.EMT.chainsaw.copper.name=Copper Chainsaw
|
||||
item.EMT.chainsaw.tin.name=Tin Chainsaw
|
||||
item.EMT.chainsaw.lead.name=Lead Chainsaw
|
||||
item.EMT.chainsaw.bronze.name=Bronze Chainsaw
|
||||
|
||||
item.EMT.omnitool.iron.name=Iron Omnitool
|
||||
item.EMT.omnitool.gold.name=Golden Omnitool
|
||||
item.EMT.omnitool.diamond.name=Diamond Omnitool
|
||||
item.EMT.omnitool.copper.name=Copper Omnitool
|
||||
item.EMT.omnitool.tin.name=Tin Omnitool
|
||||
item.EMT.omnitool.lead.name=Lead Omnitool
|
||||
item.EMT.omnitool.bronze.name=Bronze Omnitool
|
||||
|
||||
item.EMT.module.base.components.drillTop.wood.name=Wooden Drill Top
|
||||
item.EMT.module.base.components.drillTop.stone.name=Stone Drill Top
|
||||
item.EMT.module.base.components.drillTop.iron.name=Iron Drill Top
|
||||
item.EMT.module.base.components.drillTop.gold.name=Golden Drill Top
|
||||
item.EMT.module.base.components.drillTop.diamond.name=Diamond Drill Top
|
||||
item.EMT.module.base.components.drillTop.tin.name=Tin Drill Top
|
||||
item.EMT.module.base.components.drillTop.copper.name=Copper Drill Top
|
||||
item.EMT.module.base.components.drillTop.lead.name=Lead Drill Top
|
||||
item.EMT.module.base.components.drillTop.bronze.name=Bronze Drill Top
|
||||
|
||||
item.EMT.module.base.components.chainsawTop.wood.name=Wooden Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.stone.name=Stone Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.iron.name=Iron Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.gold.name=Golden Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.diamond.name=Diamond Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.tin.name=Tin Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.copper.name=Copper Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.lead.name=Lead Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.bronze.name=Bronze Chainsaw Top
|
||||
|
||||
item.EMT.module.base.components.omnitoolTop.iron.name=Iron Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.gold.name=Golden Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.diamond.name=Diamond Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.copper.name=Copper Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.tin.name=Tin Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.lead.name=Lead Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.bronze.name=Bronze Omnitool Top
|
||||
|
||||
item.EMT.module.base.components.shard.wood.name=Wooden Shard
|
||||
item.EMT.module.base.components.shard.stone.name=Stone Shard
|
||||
item.EMT.module.base.components.shard.iron.name=Iron Shard
|
||||
item.EMT.module.base.components.shard.gold.name=Golden Shard
|
||||
item.EMT.module.base.components.shard.obsidian.name=Obsidian Shard
|
||||
item.EMT.module.base.components.shard.copper.name=Copper Shard
|
||||
item.EMT.module.base.components.shard.tin.name=Tin Shard
|
||||
item.EMT.module.base.components.shard.lead.name=Lead Shard
|
||||
item.EMT.module.base.components.shard.bronze.name=Bronze Shard
|
||||
|
||||
item.EMT.carver.wood.name=Wooden Shard Carver
|
||||
item.EMT.carver.stone.name=Stone Shard Carver
|
||||
item.EMT.carver.iron.name=Iron Shard Carver
|
||||
item.EMT.carver.obsidian.name=Obsidian Shard Carver
|
||||
item.EMT.carver.diamond.name=Diamond Shard Carver
|
||||
item.EMT.focus.explosion.name=Wand Focus: Explosion
|
||||
item.EMT.focus.christmas.name=Wand Focus: Kris-tmas
|
||||
item.EMT.focus.shield.name=Wand Focus: Shield
|
||||
item.EMT.focus.charge.name=Wand Focus: Charging
|
||||
item.EMT.focus.charge.wand.name=Wand Focus: Wand Charging
|
||||
|
||||
#=============Block Names=============
|
||||
tile.EMT.shield.name=Shield Block
|
||||
@@ -260,7 +189,8 @@ emt.tag.The One Ring=Forged inside the pit of the volcanic Mount Doom...
|
||||
emt.tag.Feather Wings=It only works in anime...
|
||||
emt.tag.Thaumium Reinforced Wings=Already much better
|
||||
emt.tag.Nanosuit Wings=Nanotechnologies to the rescue!
|
||||
emt.tag.Quantum Wings=The last step is here...
|
||||
emt.tag.Quantum Wings=Quantum technologies.
|
||||
emt.tag.InfusedQuantumArmor=The last step is here...
|
||||
|
||||
#=============Thaumonomicon Texts=============
|
||||
emt.rsname.Electric Magic Tools=Electric Magic Tools
|
||||
@@ -381,7 +311,7 @@ emt.rsname.Order Infused Solar Panels=Order Infused Solar Panels
|
||||
emt.text.Order Infused Solar Panels=Harnessing the power of Order, you have managed to triple the output of your Solar Panels at day!
|
||||
|
||||
emt.rsname.Fire Infused Solar Panels=Fire Infused Solar Panels
|
||||
emt.text.Fire Infused Solar Panels=Fascinated by the Nether, you created a monster. These Solar Panels work like normal in the Overworld, but also produce more energy when they are located in the Nether! A monster I tell you..
|
||||
emt.text.Fire Infused Solar Panels=Fascinated by the Nether, you created a monster. These Solar Panels work like normal in the Overworld, but also produce more energy when they are located in the Nether! A monster I tell you...
|
||||
|
||||
emt.rsname.Air Infused Solar Panels=Air Infused Solar Panels
|
||||
emt.text.Air Infused Solar Panels=Your adventurous mind and the natural amount of air existing at the top of the world make these Solar Panels yield more energy when located over Y = 160.
|
||||
@@ -424,6 +354,9 @@ emt.text.Nanosuit Wings=Combining the magic harnessed by Thaumium with the nanot
|
||||
|
||||
emt.rsname.Quantum Wings=Quantum Wings
|
||||
emt.text.Quantum Wings=After exploring all the possibilities of nanotechnologies, you decided to do the last jump. Quantum. You can thrust yourself many blocks high, have a very good protection, and your fall is slowed down a lot. However, the quantum unpredictability happened once again. Your fall will be completely stopped when spacebar and sneak are maintained. You don't know why, but it works. Included: fall damage reduction, 100%.
|
||||
|
||||
emt.rsname.InfusedQuantumArmor=Infused Quantum Сhestplate.
|
||||
emt.text.InfusedQuantumArmor=You had been nothing to do and you decided to do something useful. You had an idea in your head of making armor which you can fasten the wings or backpack for being protected in flight. Take the wings or backpack in your hands and sit down to put their on armor. To remove them, hold Shift + "Unequip"(see in options).
|
||||
#=============Console Logging=============
|
||||
console.EMT.preInit.begin=Starting planning the world domination
|
||||
console.EMT.preInit.configRead=Creating/Reading the config file
|
||||
|
||||
@@ -60,7 +60,7 @@ item.EMT.emtitems.uumatterDrop.name=Кристаллизированная ка
|
||||
|
||||
item.EMT.emtbauble.euMaker.armor.name=Кольцо для зарядки брони
|
||||
item.EMT.emtbauble.euMaker.inventory.name=Кольцо для зарядки инвентаря
|
||||
item.EMT.module.base.bauble.oneRing.name=Кольцо Всевластия
|
||||
item.EMT.item.bauble.oneRing.name=Кольцо Всевластия
|
||||
|
||||
item.EMT.goggles.electric.name=Электрические очки откровения
|
||||
item.EMT.goggles.nano.name=Нано-очки откровения
|
||||
@@ -77,6 +77,7 @@ item.EMT.wing.feather.name=Склеенные крылья из картона
|
||||
item.EMT.wing.thaumium.name=Укреплённые таум-крылья
|
||||
item.EMT.wing.nano.name=Нано-крылья
|
||||
item.EMT.wing.quantum.name=Квантовые крылья
|
||||
ic2.EMT.quantum=Наполненный квантовый нагрудник
|
||||
|
||||
item.EMT.hammer.broken.name=Сломанная реликвия Мьёлнира
|
||||
item.EMT.hammer.name=Мьёлнир
|
||||
@@ -95,83 +96,11 @@ item.EMT.chainsaw.stream.name=Электропила Потока
|
||||
item.EMT.drill.rockbreaker.name=Бур Камнелома
|
||||
item.EMT.hoeofgrowth.electric.name=Электрическая мотыга Роста
|
||||
|
||||
item.EMT.module.base.focus.explosion.name=Набалдашник: Взрыв
|
||||
item.EMT.module.base.focus.christmas.name=Набалдашник: Рождество
|
||||
item.EMT.module.base.focus.shield.name=Набалдашник: Щит
|
||||
item.EMT.module.ic2.focus.charge.name=Набалдашник: Зарядка
|
||||
item.EMT.module.ic2.focus.charge.wand.name=Набалдашник: Зарядка жезла
|
||||
|
||||
item.EMT.drill.wood.name
|
||||
item.EMT.drill.stone.name
|
||||
item.EMT.drill.iron.name
|
||||
item.EMT.drill.gold.name
|
||||
item.EMT.drill.diamond.name
|
||||
item.EMT.drill.copper.name
|
||||
item.EMT.drill.tin.name
|
||||
item.EMT.drill.lead.name
|
||||
item.EMT.drill.bronze.name
|
||||
|
||||
item.EMT.chainsaw.wood.name
|
||||
item.EMT.chainsaw.stone.name
|
||||
item.EMT.chainsaw.iron.name
|
||||
item.EMT.chainsaw.gold.name
|
||||
item.EMT.chainsaw.diamond.name
|
||||
item.EMT.chainsaw.copper.name
|
||||
item.EMT.chainsaw.tin.name
|
||||
item.EMT.chainsaw.lead.name
|
||||
item.EMT.chainsaw.bronze.name
|
||||
|
||||
item.EMT.omnitool.iron.name
|
||||
item.EMT.omnitool.gold.name
|
||||
item.EMT.omnitool.diamond.name
|
||||
item.EMT.omnitool.copper.name
|
||||
item.EMT.omnitool.tin.name
|
||||
item.EMT.omnitool.lead.name
|
||||
item.EMT.omnitool.bronze.name
|
||||
|
||||
item.EMT.module.base.components.drillTop.wood.name=Wooden Drill Top
|
||||
item.EMT.module.base.components.drillTop.stone.name=Stone Drill Top
|
||||
item.EMT.module.base.components.drillTop.iron.name=Iron Drill Top
|
||||
item.EMT.module.base.components.drillTop.gold.name=Golden Drill Top
|
||||
item.EMT.module.base.components.drillTop.diamond.name=Diamond Drill Top
|
||||
item.EMT.module.base.components.drillTop.tin.name=Tin Drill Top
|
||||
item.EMT.module.base.components.drillTop.copper.name=Copper Drill Top
|
||||
item.EMT.module.base.components.drillTop.lead.name=Lead Drill Top
|
||||
item.EMT.module.base.components.drillTop.bronze.name=Bronze Drill Top
|
||||
|
||||
item.EMT.module.base.components.chainsawTop.wood.name=Wooden Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.stone.name=Stone Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.iron.name=Iron Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.gold.name=Golden Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.diamond.name=Diamond Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.tin.name=Tin Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.copper.name=Copper Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.lead.name=Lead Chainsaw Top
|
||||
item.EMT.module.base.components.chainsawTop.bronze.name=Bronze Chainsaw Top
|
||||
|
||||
item.EMT.module.base.components.omnitoolTop.iron.name=Iron Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.gold.name=Golden Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.diamond.name=Diamond Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.copper.name=Copper Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.tin.name=Tin Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.lead.name=Lead Omnitool Top
|
||||
item.EMT.module.base.components.omnitoolTop.bronze.name=Bronze Omnitool Top
|
||||
|
||||
item.EMT.module.base.components.shard.wood.name
|
||||
item.EMT.module.base.components.shard.stone.name
|
||||
item.EMT.module.base.components.shard.iron.name
|
||||
item.EMT.module.base.components.shard.gold.name
|
||||
item.EMT.module.base.components.shard.obsidian.name
|
||||
item.EMT.module.base.components.shard.copper.name
|
||||
item.EMT.module.base.components.shard.tin.name
|
||||
item.EMT.module.base.components.shard.lead.name
|
||||
item.EMT.module.base.components.shard.bronze.name
|
||||
|
||||
item.EMT.carver.wood.name=Деревянный резчик по осколкам
|
||||
item.EMT.carver.stone.name=Каменный резчик по осколкам
|
||||
item.EMT.carver.iron.name=Железный резчик по осколкам
|
||||
item.EMT.carver.obsidian.name=Обсидиановый резчик по осколкам
|
||||
item.EMT.carver.diamond.name=Алмазный резчик по осколкам
|
||||
item.EMT.focus.explosion.name=Набалдашник: Взрыв
|
||||
item.EMT.focus.christmas.name=Набалдашник: Рождество
|
||||
item.EMT.focus.shield.name=Набалдашник: Щит
|
||||
item.EMT.focus.charge.name=Набалдашник: Зарядка
|
||||
item.EMT.focus.charge.wand.name=Набалдашник: Зарядка жезла
|
||||
|
||||
#=============Block Names=============
|
||||
tile.EMT.shield.name=Щит-блок
|
||||
@@ -420,8 +349,12 @@ emt.tag.Nanosuit Wings=Нанотехнологии в помощь!
|
||||
emt.text.Nanosuit Wings=Объединение магии таум-металла с нанотехнологиями в Ваших крыльях.. кажется логичным. Вы можете взлететь намного выше, чем когда-либо, и падать намного медленнее, если пробел зажат. Также включает: уменьшение урона от падения на 75%.
|
||||
|
||||
emt.rsname.Quantum Wings=Квантовые крылья
|
||||
emt.tag.Quantum Wings=Последний шаг...
|
||||
emt.text.Quantum Wings=После исследования всех возможностей нанотехнологий, Вы решили сделать последний прыжок. Квантовый. Вы можете взмыть на много блоков вверх, имея очень хорошую защиту и Ваше падение будет замедленно. Однако квантовая непредсказуемость случается. Ваше падение будет полностью остановлено, когда кнопки пробел и приседания зажаты. Вы не знаете, почему, но это работает. Также включает: уменьшение урона от падения на 100%.
|
||||
emt.tag.Quantum Wings=А вот и квантовые технологии!
|
||||
emt.text.Quantum Wings=После исследования всех возможностей нанотехнологий, Вы решили сделать последний прыжок. Квантовый. Вы можете взмыть на много блоков вверх, имея очень хорошую защиту и Ваше падение будет замедленно. Однако квантовая непредсказуемость случается. Ваше падение будет полностью остановлено, когда кнопки пробел и приседания зажаты. Вы не знаете почему, но это работает. Также включает: уменьшение урона от падения на 100%.
|
||||
|
||||
emt.rsname.InfusedQuantumArmor=Наполненный квантовый нагрудник.
|
||||
emt.tag.InfusedQuantumArmor=Последний шаг...
|
||||
emt.text.InfusedQuantumArmor=Вам было нечего делать, и Вы решили заняться хоть чем-то полезным. Вам в голову пришла идея создания брони, на которую можно нацепить крылья или ранец, чтобы быть защищёнными в полёте. Возмите в руку крылья или ранец, и присядьте чтобы надеть их на броню. Чтобы снять их, зажмите Shift + "Снять"(Смотрите в настройках).
|
||||
|
||||
#=============Console Logging=============
|
||||
console.EMT.preInit.begin=Начало планирования над мировым господством
|
||||
|
||||
@@ -5,7 +5,7 @@ itemGroup.EMT.creativeTab=电子魔法工具
|
||||
tc.research_category.EMT=电子魔法工具
|
||||
|
||||
#=============GUI=============
|
||||
gui.EMT.config.title=Electro-Magic Tools Configuration
|
||||
gui.EMT.config.title=选项
|
||||
gui.EMT.etherealMacerator.title=天域加工机
|
||||
gui.EMT.wandRecharge.title=工业法杖充能站
|
||||
gui.EMT.inventory=物品栏
|
||||
@@ -14,6 +14,7 @@ gui.EMT.book.aspect.output.essentia.eu=源质发电功率
|
||||
|
||||
#=============Tooltips=============
|
||||
#This comes after a player name. The 's is depicting ownership.
|
||||
tooltip.EMT.hammer.broken.The Hammer of Thor=破碎的雷神之锤
|
||||
tooltip.EMT.hammer.electric=%player%的雷神之锤
|
||||
tooltip.EMT.hammer.broken.thor=它曾经是属于托尔的雷神之锤
|
||||
tooltip.EMT.hammer.broken.danger=现在它充满着危险的能量
|
||||
@@ -35,8 +36,8 @@ tooltip.EMT.output.double.half.height=处于160层上方发电量
|
||||
tooltip.EMT.output.double.half.low=处于10层以下发电量
|
||||
|
||||
#=============Entity Names=============
|
||||
entity.Tombenpotter's Electro-Magic Tools.entityLaser.name=激光
|
||||
entity.Tombenpotter's Electro-Magic Tools.entityArcher.name=守卫雪人
|
||||
entity.EMT.entityLaser.name=镭射器
|
||||
entity.EMT.entityArcher.name=雪人守卫
|
||||
|
||||
#=============Item Names=============
|
||||
item.EMT.emtitems.oreClusterUranium=铀矿簇
|
||||
@@ -45,7 +46,7 @@ item.EMT.emtitems.purifiedOreAmber.name=纯净的粉碎琥珀矿
|
||||
item.EMT.emtitems.crushedOreCinnabar.name=粉碎朱砂矿
|
||||
item.EMT.emtitems.purifiedOreCinnabar.name=纯净的粉碎朱砂矿
|
||||
item.EMT.emtitems.thaumiumPlate.name=神秘板
|
||||
item.EMT.emtitems.lightningSummoner.name=雷电召唤者
|
||||
item.EMT.emtitems.lightningSummoner.name=雷电碎片
|
||||
item.EMT.emtitems.featherMesh.name=织羽
|
||||
item.EMT.emtitems.glue.name=粘合剂
|
||||
item.EMT.emtitems.ductTape.name=布基胶带
|
||||
@@ -54,12 +55,12 @@ item.EMT.emtitems.cardboard.name=硬纸板
|
||||
item.EMT.emtitems.featherGluedCardboardWing.name=纸板羽翼
|
||||
item.EMT.emtitems.denseIronSheet.name=致密铁片
|
||||
item.EMT.emtitems.taintedFeather.name=腐化羽毛
|
||||
item.EMT.emtitems.thaumiumWing.name=神秘增强翼
|
||||
item.EMT.emtitems.thaumiumWing.name=神秘增强羽翼
|
||||
item.EMT.emtitems.uumatterDrop.name=结晶UU物质液滴
|
||||
|
||||
item.EMT.emtbauble.euMaker.armor.name=装备充电戒指
|
||||
item.EMT.emtbauble.euMaker.inventory.name=物品充电戒指
|
||||
item.EMT.emtbauble.oneRing.name=魔戒
|
||||
item.EMT.emtbauble.euMaker.armor.name=装备充电指环
|
||||
item.EMT.emtbauble.euMaker.inventory.name=物品充电指环
|
||||
item.EMT.item.bauble.oneRing.name=魔戒
|
||||
|
||||
item.EMT.goggles.electric.name=电子护目镜
|
||||
item.EMT.goggles.nano.name=纳米揭示护目镜
|
||||
@@ -73,18 +74,19 @@ item.EMT.boots.traveller.quantum.name=量子旅行者之靴
|
||||
item.EMT.scribingtools.electric.name=电子笔与墨
|
||||
|
||||
item.EMT.wing.feather.name=粘合纸板羽翼
|
||||
item.EMT.wing.thaumium.name=神秘翼
|
||||
item.EMT.wing.nano.name=纳米翼
|
||||
item.EMT.wing.quantum.name=量子翼
|
||||
item.EMT.wing.thaumium.name=神秘羽翼
|
||||
item.EMT.wing.nano.name=纳米羽翼
|
||||
item.EMT.wing.quantum.name=量子羽翼
|
||||
ic2.EMT.quantum=注魔量子胸甲
|
||||
|
||||
item.EMT.hammer.broken.name=破损的雷神之锤
|
||||
item.EMT.hammer.name=雷神之锤
|
||||
item.EMT.hammer.electric.name=高压雷神之锤
|
||||
|
||||
item.EMT.drill.thaumium.name=神秘电钻
|
||||
item.EMT.drill.thaumium.name=神秘钻头
|
||||
|
||||
item.EMT.chainsaw.diamond.name=钻石电锯
|
||||
item.EMT.chainsaw.thaumium.name=神秘电锯
|
||||
item.EMT.chainsaw.diamond.name=钻石链锯
|
||||
item.EMT.chainsaw.thaumium.name=神秘链锯
|
||||
|
||||
item.EMT.omnitool.iron.name=铁制钻锯
|
||||
item.EMT.omnitool.diamond.name=钻石钻锯
|
||||
@@ -94,92 +96,20 @@ item.EMT.chainsaw.stream.name=奔雷电锯
|
||||
item.EMT.drill.rockbreaker.name=破岩者电钻
|
||||
item.EMT.hoeofgrowth.electric.name=电子句芒锄
|
||||
|
||||
item.EMT.focus.explosion.name=法杖核心:爆炸
|
||||
item.EMT.focus.christmas.name=法杖核心:圣诞
|
||||
item.EMT.focus.shield.name=法杖核心:护盾
|
||||
item.EMT.focus.charge.name=法杖核心:充电
|
||||
item.EMT.focus.charge.wand.name=法杖核心: 化魔
|
||||
|
||||
item.EMT.drill.wood.name=木电钻
|
||||
item.EMT.drill.stone.name=石电钻
|
||||
item.EMT.drill.iron.name=铁制电钻
|
||||
item.EMT.drill.gold.name=金电钻
|
||||
item.EMT.drill.diamond.name=钻石电钻
|
||||
item.EMT.drill.copper.name=铜电钻
|
||||
item.EMT.drill.tin.name=锡电钻
|
||||
item.EMT.drill.lead.name=铅电钻
|
||||
item.EMT.drill.bronze.name=青铜电钻
|
||||
|
||||
item.EMT.chainsaw.wood.name=木电锯
|
||||
item.EMT.chainsaw.stone.name=石电锯
|
||||
item.EMT.chainsaw.iron.name=铁制电锯
|
||||
item.EMT.chainsaw.gold.name=金电锯
|
||||
item.EMT.chainsaw.diamond.name=钻石电锯
|
||||
item.EMT.chainsaw.copper.name=铜电锯
|
||||
item.EMT.chainsaw.tin.name=锡电锯
|
||||
item.EMT.chainsaw.lead.name=铅电锯
|
||||
item.EMT.chainsaw.bronze.name=青铜电锯
|
||||
|
||||
item.EMT.omnitool.iron.name=铁制钻锯
|
||||
item.EMT.omnitool.gold.name=金钻锯
|
||||
item.EMT.omnitool.diamond.name=钻石钻锯
|
||||
item.EMT.omnitool.copper.name=铜钻锯
|
||||
item.EMT.omnitool.tin.name=锡钻锯
|
||||
item.EMT.omnitool.lead.name=铅钻锯
|
||||
item.EMT.omnitool.bronze.name=青铜钻锯
|
||||
|
||||
item.EMT.module.base.components.drillTop.wood.name=木钻头
|
||||
item.EMT.module.base.components.drillTop.stone.name=石钻头
|
||||
item.EMT.module.base.components.drillTop.iron.name=铁钻头
|
||||
item.EMT.module.base.components.drillTop.gold.name=金钻头
|
||||
item.EMT.module.base.components.drillTop.diamond.name=钻石钻头
|
||||
item.EMT.module.base.components.drillTop.tin.name=锡钻头
|
||||
item.EMT.module.base.components.drillTop.copper.name=铜钻头
|
||||
item.EMT.module.base.components.drillTop.lead.name=铅钻头
|
||||
item.EMT.module.base.components.drillTop.bronze.name=青铜钻头
|
||||
|
||||
item.EMT.module.base.components.chainsawTop.wood.name=木锯刃
|
||||
item.EMT.module.base.components.chainsawTop.stone.name=石锯刃
|
||||
item.EMT.module.base.components.chainsawTop.iron.name=铁锯刃
|
||||
item.EMT.module.base.components.chainsawTop.gold.name=金锯刃
|
||||
item.EMT.module.base.components.chainsawTop.diamond.name=钻石锯刃
|
||||
item.EMT.module.base.components.chainsawTop.tin.name=锡锯刃
|
||||
item.EMT.module.base.components.chainsawTop.copper.name=铜锯刃
|
||||
item.EMT.module.base.components.chainsawTop.lead.name=铅锯刃
|
||||
item.EMT.module.base.components.chainsawTop.bronze.name=青铜锯刃
|
||||
|
||||
item.EMT.module.base.components.omnitoolTop.iron.name=铁钻锯头
|
||||
item.EMT.module.base.components.omnitoolTop.gold.name=金钻锯头
|
||||
item.EMT.module.base.components.omnitoolTop.diamond.name=钻石钻锯头
|
||||
item.EMT.module.base.components.omnitoolTop.copper.name=铜钻锯头
|
||||
item.EMT.module.base.components.omnitoolTop.tin.name=锡钻锯头
|
||||
item.EMT.module.base.components.omnitoolTop.lead.name=铅钻锯头
|
||||
item.EMT.module.base.components.omnitoolTop.bronze.name=青铜钻锯头
|
||||
|
||||
item.EMT.module.base.components.shard.wood.name=木锯片
|
||||
item.EMT.module.base.components.shard.stone.name=石锯片
|
||||
item.EMT.module.base.components.shard.iron.name=铁锯片
|
||||
item.EMT.module.base.components.shard.gold.name=金锯片
|
||||
item.EMT.module.base.components.shard.obsidian.name=黑曜石锯片
|
||||
item.EMT.module.base.components.shard.copper.name=铜锯片
|
||||
item.EMT.module.base.components.shard.tin.name=锡锯片
|
||||
item.EMT.module.base.components.shard.lead.name=铅锯片
|
||||
item.EMT.module.base.components.shard.bronze.name=青铜锯片
|
||||
|
||||
item.EMT.carver.wood.name=木锯片模板
|
||||
item.EMT.carver.stone.name=石锯片模板
|
||||
item.EMT.carver.iron.name=铁锯片模板
|
||||
item.EMT.carver.obsidian.name=黑曜石锯片模板
|
||||
item.EMT.carver.diamond.name=钻石锯片模板
|
||||
item.EMT.focus.explosion.name=法杖核心:爆炸
|
||||
item.EMT.focus.christmas.name=法杖核心:圣诞
|
||||
item.EMT.focus.shield.name=法杖核心:护盾
|
||||
item.EMT.focus.charge.name=法杖核心:充电
|
||||
item.EMT.focus.charge.wand.name=法杖核心:化魔
|
||||
|
||||
#=============Block Names=============
|
||||
tile.EMT.shield.name=护盾方块
|
||||
tile.EMT.portablenode.name=便携式节点
|
||||
tile.EMT.essentiaGens.potentia.name=能量源质发电机
|
||||
tile.EMT.essentiaGens.ignis.name=火源质发电机
|
||||
tile.EMT.essentiaGens.ignis.name=火之源质发电机
|
||||
tile.EMT.essentiaGens.auram.name=灵气源质发电机
|
||||
tile.EMT.essentiaGens.arbor.name=树木源质发电机
|
||||
tile.EMT.essentiaGens.aer.name=风源质发电机
|
||||
tile.EMT.essentiaGens.arbor.name=木之源质发电机
|
||||
tile.EMT.essentiaGens.aer.name=风之源质发电机
|
||||
tile.EMT.emtmachines.wandrecharge.name=工业法杖充能站
|
||||
tile.EMT.emtmachines.etheralprocessor.name=天域加工机
|
||||
tile.EMT.emtsolars.compressed.name=压缩太阳能
|
||||
@@ -216,7 +146,7 @@ emt.tag.Iron Omnitool=为农夫准备的便利工具
|
||||
emt.tag.Diamond Omnitool=万能的工具
|
||||
emt.tag.Thaumium Omnitool=神秘的复合工具
|
||||
emt.tag.Explosion Focus=请在开阔处使用
|
||||
emt.tag.Kris-tmas Focus=吼!吼!吼!
|
||||
emt.tag.Kris-tmas Focus=吼!吼!吼!
|
||||
emt.tag.Shield Focus=结界张开
|
||||
emt.tag.Potentia Generator=利用要素源质来发电
|
||||
emt.tag.Ignis Generator=如果你不能掌控那热量...
|
||||
@@ -234,7 +164,7 @@ emt.tag.Supercharged Mjolnir=将它据为己有
|
||||
emt.tag.Industrial Wand Charging Station=用工业的方式为你的法杖充能
|
||||
emt.tag.Compressed Solars=增加发电效率!
|
||||
emt.tag.Solar Helmet of Revealing=阳光太刺眼了
|
||||
emt.tag.Diamond Chainsaw=更硬,更好,更快,更强
|
||||
emt.tag.Diamond Chainsaw=更硬,更好,更快,更强
|
||||
emt.tag.Thaumium Plate=神秘锭的工业处理
|
||||
emt.tag.Macerating Native Ore Clusters=增加你的矿物产量
|
||||
emt.tag.Electric Boots of the Traveller=我充满了力量
|
||||
@@ -259,64 +189,174 @@ emt.tag.The One Ring=在末日山的坑中所埋藏...
|
||||
emt.tag.Feather Wings=在动漫里才会起效...
|
||||
emt.tag.Thaumium Reinforced Wings=好多了
|
||||
emt.tag.Nanosuit Wings=纳米大法好!
|
||||
emt.tag.Quantum Wings=最后的一步...
|
||||
emt.tag.Quantum Wings=量子科技
|
||||
emt.tag.InfusedQuantumArmor=最后的一步...
|
||||
|
||||
#=============Thaumonomicon Texts=============
|
||||
emt.text.Electric Magic Tools=谁说魔法和科技不能共同工作? 我们的研究者们集合了魔法学院顶尖的神秘使们带来了魔法与电子工具的组合.
|
||||
emt.text.Thaumium Drill=你已发现了一种向神秘力量注入普通电子的方法。将神秘材料融入钻石产生了一个能快速采集石头的高性能工具<BR><BR>尽管神秘板是十分有用并强力的材料, 它还不能与铱相比。它更像是一个过渡工具。<BR><BR>这个工具不是最强的,但你觉得你未来能升级它。
|
||||
emt.text.Thaumium Chainsaw=你发现了一个将神秘力量融入钻石电锯的方法,使得它能更快的砍伐树并储存更多电力。然而这种改良并不是没有缺陷的:在加入这些材料的过程中,电锯失去了处理树叶,草堆和伤害动物的能力。<BR><BR>你觉得不远的未来你还能升级这个工具。
|
||||
emt.text.Electric Goggles=你已发现了一种用纯电子设备观测灵气的方法,这意味着你不必再消耗神秘的能量。你现在可以制作出一副能被充电的揭示护目镜,你能像之前那样用它观测节点。为了给电路提供空间并保护敏感的魔力感知电路你需要一个钻石头盔,这也提供了额外的护甲保护。
|
||||
emt.text.Nanosuit Goggles of Revealing=你已发现了一种无需移动太多就能将你珍贵的魔力感应器和纳米头盔结合的方法。通过给纳米头盔注魔, 你将能用它看见灵气节点。在这个魔法过程中,夜视用的控制芯片被用于代替吸收多余魔法能量的电容和魔力感应微芯片。以防你不小心关闭了夜视。
|
||||
emt.text.Quantum Goggles of Revealing=这期间出现了许多的尝试和错误,但你已找到了一种方法来将魔力感应器加入量子头盔里。通过给量子头盔注魔,你将能用它看见灵气节点。在设计的过程中,你加入了几个包含夜视和自动补充饱食度的控制芯片和感应器。你发现使用激光采矿枪时它能安全地确认准星并控制爆炸的冲击。玩的愉快。有了它再也不用夜视药水和补充食物了。
|
||||
emt.text.Iron Omnitool=当你研究是否能用魔法融合你所用的一些工具的用途时,你已发现了一种结合电钻和电锯的方法,结果你得到了一个同时可采矿,砍树和御敌的工具!在处理普通金属矿物时,并不需要什么魔法效应。
|
||||
emt.text.Diamond Omnitool=铁制钻锯的发现让你试着将同样的结合用在一些更强力的设备上。你已发现了一种结合钻石电锯和电钻的方法,结果得到了一个拥有砍树和挖矿并御敌的工具,同时保持着钻石工具的特性。由于钻石在被制成电钻电锯这样的工具后很难被重塑,所以你将需要一点魔法的力量来融合它们。
|
||||
emt.text.Thaumium Omnitool=在创作了钻石钻锯和铁钻锯之后,下一步就是用在神秘材料上了。不幸的是,这不是一个容易事,你发现了一种结合神秘电钻和神秘电锯的方法,而得到了一个有挖矿和砍树能力的工具。这些工具已被注入魔力。你不确定下次注入时将会发生什么。
|
||||
emt.text.Explosion Focus=你已发现了一种通过将蝙蝠换为更具爆炸性的采矿激光来修改九狱核心的方法。这个核心工作时类似激光采矿枪但是它使用魔力而不是电力。这个核心很不稳定所以记着小心点。
|
||||
emt.text.Kris-tmas Focus=圣诞快乐!<BR><BR>你已发现了一条用于寒霜核心的笔记。你可以召唤你的雪人朋友们来对你庆祝节日的邻居们砸雪球,圣诞节的魔法!
|
||||
emt.text.Shield Focus=通过对便携式洞穴的试验,你已发现了更多关于在多次元空间移动物体的方法。你相信你能反过来使用,从异次元召唤出一些方块来在各种危险情况下保护你。注意在使用这个核心将这些方块带入我们的次元时,将会从次元出现的地方转置任何方块,不会再返还。而且在盾牌方块存在时你将无法移动。
|
||||
emt.text.Potentia Generator=在许多的学习与研究后,你终于发现了如何从多余的要素源质中提取电力。<BR><BR>这个发电机消耗每单位的能量要素源质会提供3000~3500EU的电力,这使得它十分有效率。只需要在机器边8格范围内放置一个装有能量要素源质的罐子他就会吸收要素源质产生电力。<BR><BR>尽管能量是产生电力最合理的的选择,但你相信经过一些探索在未来你能从其他不同的要素源质中获得电力。
|
||||
emt.text.Ignis Generator=就如你所想的,通过一点调整,你已经找到了代替火要素源质产生能量的方法。在机器内部,它会消耗火要素来加热水。通过这种热量产生的蒸汽驱动涡轮机运作,就像一个典型的发电机。
|
||||
emt.text.Auram Generator=尽管比你最初的想法用了更多的努力,你已经发现了一种用灵气要素源质产生电力的方法。这需要一个完全的机器改造,依靠灵气脉动的魔法能量来带动发电机工作。
|
||||
emt.text.Arbor Generator=总有许多多余的树木要素源质在你的身边。不需要更多了!通过修改最初的能量要素源质发电机,你已经发现了使用树木要素源质发电的方法。
|
||||
emt.text.Aer Generator=你研究了蕴藏在风中的巨大能量, 并试着修改最初的能量源质发电机, 使其具有压缩风源质的能力, 并提供300EU的电力.
|
||||
emt.text.Chainsaw of the Stream=在研究了奔雷斧和神秘电锯后,你试着将它们两者的能力结合,得到了一个能轻松砍完一棵树的电子工具。
|
||||
emt.text.Drill of the Rockbreaker=在研究了炽心镐,后土铲和神秘电钻后,你试着将他们的能力结合而得到一个能开采3X3X1区域材料的电子工具,开采十分迅速。<BR><BR>这个非凡的设备能通过右击找出最近的矿物,当然那会消耗一些电力。
|
||||
emt.text.Shield Block=研究了盾牌核心制造出的方块后,你已发现了如何自己制作它们,再也不用需要核心来召唤。它们有很高的爆炸抗性,并且甚至能防止核弹的破坏。然而,在一次核爆炸试验中,尽管盾方块毫发无损,它周围的方块却不是。<BR><BR>这些方块不稳定并且破坏时不会掉落,就算你使用精准采集也是如此。
|
||||
emt.text.Tiny Uranium=在你将自己所有的矿物都用在了核反应堆的材料上后,你终于用尽了用来做你所需燃料棒的铀。在很长时间的研究后,你试着将你剩下的铀转化为更有用的粒!<BR><BR>不幸的是,这个过程有些浪费,不过你相信它会有所值。
|
||||
emt.text.Mjolnir=你走遍了世界,为了找到这个可能存在的雷神之锤。一天,你偶然发现了它的碎片,你很沮丧。经过长时间辛苦的研究,你找到了让这个魔法工具重现昔日荣光的方法。<BR><BR>你有种感觉(似乎常常有这种感觉),尽管这个工具十分强力,但你还能做更多。
|
||||
emt.text.The Legend=你总是听到关于锤子的那个传说。<BR><BR>传说有一个闪电之神,托尔,有一把能够召唤闪电的锤子。<BR><BR>传说神在他的次元隐退,留下了他的锤子,在某个被保护好的地牢里藏了起来,只有有能力的家伙才能找到它。<BR><BR>你有很多时间去探索这个世界,去试着找到这把锤子。
|
||||
emt.text.Lightning Summoner=这个物品是你的死敌:高压苦力怕所掉落的。你觉得它以后会派上用场。
|
||||
emt.text.Supercharged Mjolnir=在对于所有的地牢进行探索之后,你已经找到了一种方法来制服“托尔的力量”,使得他的锤子变为你的所有物。此外,你可以你的锤子召唤守卫雪傀儡来保护你。然而这把锤子失去了在你所指之处召唤闪电的力量,并且使用时会在你的周围召唤一圈闪电。
|
||||
emt.text.Industrial Wand Charging Station=你已试着将法杖充能基座和强大的UU物质结合起来。结果得到了一个能再生法杖魔力的机器,回复每种要素魔力1vis将会消耗50000EU。
|
||||
emt.text.Compressed Solars=你找到了一种将9普通太阳能压缩为1个魔法太阳能的方法,它工作起来就像是10个普通太阳能发电10eu/t。你将这个过程在压缩太阳能上重复以增加每个方块的产能。你也可以用魔法注魔做出三重压缩的太阳能大大提高发电效率。
|
||||
emt.text.Solar Helmet of Revealing=你现在有了一顶像你的量子揭示护目镜一样工作的头盔,也能给你背包黑穿着的装备充电!在白天以128EU/t功率发电, 夜晚不发电。
|
||||
emt.text.Diamond Chainsaw=你不知道为何用钻石升级电锯就像钻石升级电钻那样的想法从未出现在脑海中。这个升级使得电锯能储存更多的电力并且更快的破坏方块。
|
||||
emt.text.Thaumium Plate=就如每个电子工程师所知道的,板材是许多设备的基础。我们知道把神秘锭压制成板材将会是把魔法方便地融入工具的必要途径,但这让魔法学院的魔法师们十分心烦。他们不愿意让我们对珍贵的金属材料瞎捣鼓。你可以像所示的那样制作出这些贵重的板材,或是在金属成型机内制作,只需要一个神秘锭。但别让那些恼火的魔法师们看见。
|
||||
emt.text.Macerating Native Ore Clusters=你可以磨粉所有的矿簇,除了朱砂矿簇。你将会从每个矿簇中得到22个小堆粉。
|
||||
emt.text.Electric Boots of the Traveller=通过许多精密机械部件和对魔法的接触,你用更稳定的形式重现了旅行者之靴。这些靴子,不像初始的,不会因长时间穿着而损坏,用电力代替耐久。这些靴子免疫一切掉落伤害(不消耗电力),并保有旅行者之靴的所有特性。
|
||||
emt.text.Nano Boots of the Traveller=你的电子旅行者之靴还不错,但你觉得你能做的更好。你已发现了一种将这些靴子升级到纳米的方法,改良机械零件和靴子的符文。这些靴子提供了比以往更高的跳跃高度和更快的奔跑速度。
|
||||
emt.text.Quantum Boots of the Traveller=你利用量子物理学来改良,使得这些量子旅行者之靴如此之快,让你总能在第一时间达到各个地点。但是别忘了薛定谔的猫发生了什么....
|
||||
emt.text.Electric Scribing Tools=你不想再杀墨鱼了。因此你研究出了一种补充书写工具的方法,使得他们不再需要墨水。通过静电和圆珠笔技术你做出了能在内部快速回复墨水的工具,只需要充电就能持续使用。
|
||||
emt.text.Etheral Processor=在你为了处理众多矿物而开发炼狱熔炉的地狱能量后,你脑子中出现了一些完全不同的想法。现在你使用名为“古德”的力量,来自天空和叫做天堂的这些。这个天域加工机使得每个冶炼的产物双倍,并且有10%的几率产生一个神秘粒作为奖励。你知道他有两个缺点:尽管它使冶炼产物双倍,但这也要双倍于一个物品的冶炼时间。并且由于它是高级魔法的发明,一些普通的冶炼合成会失效。你相信圆石不能在这个奇妙的机器里被烧成石头。
|
||||
emt.text.Water Infused Solar Panels=你总是讨厌下雨,他别是当你所有的能源来自太阳能时。你如此讨厌它于是你决定寻找一种让太阳能在雨天工作的方法。你做出来了...这种..水注魔太阳能能在下雨时工作,并且只在下雨时发电。
|
||||
emt.text.Entropy Infused Solar Panels=你知道了太阳能晚上会停止工作。为了解决这个问题,你找到了一种让你的太阳能在晚上工作的方法!(只能在晚上工作)
|
||||
emt.text.Order Infused Solar Panels=利用秩序的力量,你已经有办法让你的太阳能在白天输出三倍的电力!
|
||||
emt.text.Fire Infused Solar Panels=你被下界所吸引,做出了一个怪物。这些太阳能在主世界正常工作,但放在下界也能发电!它真是个怪物...
|
||||
emt.text.Air Infused Solar Panels=你的大胆的想法和在高空存在的大量的风使得这些太阳能在Y=160层以上能提供更多的电力。
|
||||
emt.text.Earth Infused Solar Panels=你已决定向地心更进一步。这些太阳能在Y=10层以下的地方工作,但是记住它们仍需要在太阳的沐浴下才能工作。
|
||||
emt.text.UU-Matter Infusion=你总是觉得UU物质拥有的力量十分奇特,甚至...看起来像魔法般神奇,特别是大量种类的正确排列能合成物质。然后现在,你已发现了通过注魔合成塑造uu液体的方法。你能使用许多种合成,并且他们大都消耗4~32单位每种基础要素源质。
|
||||
emt.text.Portable Node=在对缸中节点进行深入研究后,你成功制作出了一个能生成随机节点的道具。然而,由于你无法理解节点的一些魔法部分所以这个便携及节点将会是凋零且不稳定的。 <BR><BR>你只能通过shift+右键去除它,并且你觉得你应该早些处理它,因为不稳定节点是...十分无法预料的。
|
||||
emt.text.Electric Hoe of Growth=你试着升级你的句芒锄。现在它对土地和植物就像之前的句芒锄一样工作。<BR><BR>然而,对你来说这个工具里的魔力过于强力难以全部转为使用一般电力的性能,在它用坏前你还会有几次使用的次数,它是可充电的。
|
||||
emt.text.Wand Focus: Charging=你意识到你总是随身带着一支法杖和你的电子设备。但有时,你用光了电子工具里的电。因此你做出了这个核心。它很简单也很实用,将法杖的魔力转化为一般的电力来给物品充电。
|
||||
emt.text.Wand Focus: Wand Charging=你发现了一种方法利用工业充能站的能力并将其嵌入法杖核心,逆转原有的过程。现在它会从物品中抽取电力给你的法杖充能,尽管消耗率很高.此外,你意识到你需要一整套符文护甲才能启动法杖充能的过程。
|
||||
emt.text.Inventory Charging Ring=尽管其他神秘使使用指环给符文护盾充能,你觉得它们还有更好的应用。给凡人指环注入能量源,你就能对物品栏里的耗电物品使用它的充电效果。它的发电效率仅有32 EU/t,但那不就说明还有提升的空间么。
|
||||
emt.text.Armor Charging Ring=新指环低但稳定的充电率比预期的还要有用。当没有工具需要能量时它给护甲充电还是不错的。通过注入多一点的能量源和一点护甲你做到了。可惜的是,这个新的能量源没有增加充电效率,但不都是慢慢来的么。
|
||||
emt.text.The One Ring=天下精灵铸三戒,地底矮人得七戒,寿定凡人持九戒,魔多妖境暗影伏,闇王坐拥至尊戒。至尊戒,驭众戒;至尊戒,寻众戒,魔戒至尊引众戒,禁锢众戒黑暗中,魔多妖境暗影伏。 -J.R.R. Tolkien指环王题词.<BR>你梦想着从隐于众目,免于一切的攻击。你听说这个戒指在某处的遗迹中遗留着, 时间流逝恒久不变...
|
||||
emt.text.Feather Wings=把羽毛黏上硬纸板再做成翅膀的形状听着是个好主意。至少,你可以按住空格键在空中推动自己。虽然不是太明显但会起效。但在水下和下雨天使用翅膀听起来可不好。摔落伤害减免:25%.
|
||||
emt.text.Thaumium Reinforced Wings=注入魔力的神秘锭是众所周知的。因此,用神秘锭来强化你的纸板翼是个好主意。按下空格键会将你推得更高,如果一直按住则会缓慢下降。潜行则会快速下降。摔落伤害减免:50%.
|
||||
emt.text.Nanosuit Wings=利用神秘锭将魔法与纳米科技结合到你的飞行翼上.. 听着很符合逻辑。现在你可以推的比之前还要高,按住空格下落的也比之前要慢。摔落伤害减免:75%.
|
||||
emt.text.Quantum Wings=在探索完纳米科技所有的可能性后,你决定做最后一搏,量子。你可以在空中再跳几格的高度, 极好的防护,并且的下降的过程极大减缓了。然而,量子的不可预测又一次发生了。同时按住潜行键和空格键时你的下降会完全停止。你不知道为何会这样,但它就是这样。摔落伤害减免:100%.
|
||||
emt.rsname.Electric Magic Tools=电力魔法工具
|
||||
emt.text.Electric Magic Tools=谁说魔法和科技不能共同工作?我们的研究者们集合了魔法学院顶尖的神秘使们带来了魔法与电子工具的组合.
|
||||
|
||||
emt.rsname.Thaumium Drill=神秘钻头
|
||||
emt.text.Thaumium Drill=你已发现了一种向神秘力量注入普通电子的方法.将神秘材料融入钻石产生了一个能快速采集石头的高性能工具<BR><BR>尽管神秘板是十分有用并强力的材料,它还不能与铱相比.它更像是一个过渡工具.<BR><BR>这个工具不是最强的,但你觉得你未来能升级它.
|
||||
|
||||
emt.rsname.Thaumium Chainsaw=神秘链锯
|
||||
emt.text.Thaumium Chainsaw=你发现了一个将神秘力量融入钻石电锯的方法,使得它能更快的砍伐树并储存更多电力.然而这种改良并不是没有缺陷的:在加入这些材料的过程中,电锯失去了处理树叶,草堆和伤害动物的能力.<BR><BR>你觉得不远的未来你还能升级这个工具.
|
||||
|
||||
emt.rsname.Electric Goggles=电子护目镜
|
||||
emt.text.Electric Goggles=你已发现了一种用纯电子设备观测灵气的方法,这意味着你不必再消耗神秘的能量.你现在可以制作出一副能被充电的揭示护目镜,你能像之前那样用它观测节点.为了给电路提供空间并保护敏感的魔力感知电路你需要一个钻石头盔,这也提供了额外的护甲保护.
|
||||
|
||||
emt.rsname.Nanosuit Goggles of Revealing=纳米揭示护目镜
|
||||
emt.text.Nanosuit Goggles of Revealing=你已发现了一种无需移动太多就能将你珍贵的魔力感应器和纳米头盔结合的方法.通过给纳米头盔注魔,你将能用它看见灵气节点.在这个魔法过程中,夜视用的控制芯片被用于代替吸收多余魔法能量的电容和魔力感应微芯片.以防你不小心关闭了夜视.
|
||||
|
||||
emt.rsname.Quantum Goggles of Revealing=量子揭示护目镜
|
||||
emt.text.Quantum Goggles of Revealing=这期间出现了许多的尝试和错误,但你已找到了一种方法来将魔力感应器加入量子头盔里.通过给量子头盔注魔,你将能用它看见灵气节点.在设计的过程中,你加入了几个包含夜视和自动补充饱食度的控制芯片和感应器.你发现使用激光采矿枪时它能安全地确认准星并控制爆炸的冲击.玩的愉快.有了它再也不用夜视药水和补充食物了.
|
||||
|
||||
emt.rsname.Iron Omnitool=铁制钻锯
|
||||
emt.text.Iron Omnitool=当你研究是否能用魔法融合你所用的一些工具的用途时,你已发现了一种结合电钻和电锯的方法,结果你得到了一个同时可采矿,砍树和御敌的工具!在处理普通金属矿物时,并不需要什么魔法效应.
|
||||
|
||||
emt.rsname.Diamond Omnitool=钻石钻锯
|
||||
emt.text.Diamond Omnitool=铁制钻锯的发现让你试着将同样的结合用在一些更强力的设备上.你已发现了一种结合钻石电锯和电钻的方法,结果得到了一个拥有砍树和挖矿并御敌的工具,同时保持着钻石工具的特性.由于钻石在被制成电钻电锯这样的工具后很难被重塑,所以你将需要一点魔法的力量来融合它们.
|
||||
|
||||
emt.rsname.Thaumium Omnitool=神秘钻锯
|
||||
emt.text.Thaumium Omnitool=在创作了钻石钻锯和铁钻锯之后,下一步就是用在神秘材料上了.不幸的是,这不是一个容易事,你发现了一种结合神秘电钻和神秘电锯的方法,而得到了一个有挖矿和砍树能力的工具.这些工具已被注入魔力.你不确定下次注入时将会发生什么.
|
||||
|
||||
emt.rsname.Explosion Focus=法杖核心:爆炸
|
||||
emt.text.Explosion Focus=你已发现了一种通过将蝙蝠换为更具爆炸性的采矿激光来修改九狱核心的方法.这个核心工作时类似激光采矿枪但是它使用魔力而不是电力.这个核心很不稳定所以记着小心点.
|
||||
|
||||
emt.rsname.Kris-tmas Focus=法杖核心:圣诞
|
||||
emt.text.Kris-tmas Focus=圣诞快乐!<BR><BR>你已发现了一条用于寒霜核心的笔记.你可以召唤你的雪人朋友们来对你庆祝节日的邻居们砸雪球,圣诞节的魔法!
|
||||
|
||||
emt.rsname.Shield Focus=法杖核心:护盾
|
||||
emt.text.Shield Focus=通过对便携式洞穴的试验,你已发现了更多关于在多次元空间移动物体的方法.你相信你能反过来使用,从异次元召唤出一些方块来在各种危险情况下保护你.注意在使用这个核心将这些方块带入我们的次元时,将会从次元出现的地方转置任何方块,不会再返还.而且在盾牌方块存在时你将无法移动.
|
||||
|
||||
emt.rsname.Potentia Generator=能量源质发电机
|
||||
emt.text.Potentia Generator=在许多的学习与研究后,你终于发现了如何从多余的要素源质中提取电力.<BR><BR>这个发电机消耗每单位的能量要素源质会提供3000~3500EU的电力,这使得它十分有效率.只需要在机器边8格范围内放置一个装有能量要素源质的罐子他就会吸收要素源质产生电力.<BR><BR>尽管能量是产生电力最合理的的选择,但你相信经过一些探索在未来你能从其他不同的要素源质中获得电力.
|
||||
|
||||
emt.rsname.Ignis Generator=火之源质发电机
|
||||
emt.text.Ignis Generator=就如你所想的,通过一点调整,你已经找到了代替火要素源质产生能量的方法.在机器内部,它会消耗火要素来加热水.通过这种热量产生的蒸汽驱动涡轮机运作,就像一个典型的发电机.
|
||||
|
||||
emt.rsname.Auram Generator=灵气源质发电机
|
||||
emt.text.Auram Generator=尽管比你最初的想法用了更多的努力,你已经发现了一种用灵气要素源质产生电力的方法.这需要一个完全的机器改造,依靠灵气脉动的魔法能量来带动发电机工作.
|
||||
|
||||
emt.rsname.Arbor Generator=木之源质发电机
|
||||
emt.text.Arbor Generator=总有许多多余的树木要素源质在你的身边.不需要更多了!通过修改最初的能量要素源质发电机,你已经发现了使用树木要素源质发电的方法.
|
||||
|
||||
emt.rsname.Aer Generator=风之源质发电机
|
||||
emt.text.Aer Generator=你研究了蕴藏在风中的巨大能量,并试着修改最初的能量源质发电机,使其具有压缩风源质的能力,并提供300EU的电力.
|
||||
|
||||
emt.rsname.Chainsaw of the Stream=蒸汽链锯
|
||||
emt.text.Chainsaw of the Stream=在研究了奔雷斧和神秘电锯后,你试着将它们两者的能力结合,得到了一个能轻松砍完一棵树的电子工具.
|
||||
|
||||
emt.rsname.Drill of the Rockbreaker=岩石粉碎者
|
||||
emt.text.Drill of the Rockbreaker=在研究了炽心镐,后土铲和神秘电钻后,你试着将他们的能力结合而得到一个能开采3X3X1区域材料的电子工具,开采十分迅速.<BR><BR>这个非凡的设备能通过右击找出最近的矿物,当然那会消耗一些电力.
|
||||
|
||||
emt.rsname.Shield Block=坚盾方块
|
||||
emt.text.Shield Block=研究了盾牌核心制造出的方块后,你已发现了如何自己制作它们,再也不用需要核心来召唤.它们有很高的爆炸抗性,并且甚至能防止核弹的破坏.然而,在一次核爆炸试验中,尽管盾方块毫发无损,它周围的方块却不是.<BR><BR>这些方块不稳定并且破坏时不会掉落,就算你使用精准采集也是如此.
|
||||
|
||||
emt.rsname.Tiny Uranium=小堆铀
|
||||
emt.text.Tiny Uranium=在你将自己所有的矿物都用在了核反应堆的材料上后,你终于用尽了用来做你所需燃料棒的铀.在很长时间的研究后,你试着将你剩下的铀转化为更有用的粒!<BR><BR>不幸的是,这个过程有些浪费,不过你相信它会有所值.
|
||||
|
||||
emt.rsname.Mjolnir=雷神之锤
|
||||
emt.text.Mjolnir=你走遍了世界,为了找到这个可能存在的雷神之锤.一天,你偶然发现了它的碎片,你很沮丧.经过长时间辛苦的研究,你找到了让这个魔法工具重现昔日荣光的方法.<BR><BR>你有种感觉(似乎常常有这种感觉),尽管这个工具十分强力,但你还能做更多.
|
||||
|
||||
emt.rsname.The Legend=传说之物
|
||||
emt.text.The Legend=你总是听到关于那个锤子的传说.<BR><BR>传说有一个闪电之神,托尔,有一把能够召唤闪电的锤子.<BR><BR>传说神在他的次元隐退,留下了他的锤子,在某个被保护好的地牢里藏了起来,只有有能力的家伙才能找到它.<BR><BR>你有很多时间去探索这个世界,去试着找到这把锤子.
|
||||
|
||||
emt.rsname.Lightning Summoner=闪电碎片
|
||||
emt.text.Lightning Summoner=这个物品是你的死敌:高压苦力怕所掉落的.你觉得它以后会派上用场.
|
||||
|
||||
emt.rsname.Supercharged Mjolnir=高压雷神之锤
|
||||
emt.text.Supercharged Mjolnir=在对于所有的地牢进行探索之后,你已经找到了一种方法来制服“托尔的力量”,使得他的锤子变为你的所有物.此外,你可以你的锤子召唤守卫雪傀儡来保护你.然而这把锤子失去了在你所指之处召唤闪电的力量,并且使用时会在你的周围召唤一圈闪电.
|
||||
|
||||
emt.rsname.Industrial Wand Charging Station=I工业法杖充能站
|
||||
emt.text.Industrial Wand Charging Station=你已试着将法杖充能基座和强大的UU物质结合起来.结果得到了一个能再生法杖魔力的机器,回复每种要素魔力1vis将会消耗50000EU.
|
||||
|
||||
emt.rsname.Compressed Solars=压缩太阳能发电机
|
||||
emt.text.Compressed Solars=你找到了一种将9普通太阳能压缩为1个魔法太阳能的方法,它工作起来就像是10个普通太阳能发电10eu/t.你将这个过程在压缩太阳能上重复以增加每个方块的产能.你也可以用魔法注魔做出三重压缩的太阳能大大提高发电效率.
|
||||
|
||||
emt.rsname.Solar Helmet of Revealing=太阳能揭示护目镜
|
||||
emt.text.Solar Helmet of Revealing=你现在有了一顶像你的量子揭示护目镜一样工作的头盔,也能给你背包黑穿着的装备充电!在白天以128EU/t功率发电, 夜晚不发电.
|
||||
|
||||
emt.rsname.Diamond Chainsaw=钻石链锯
|
||||
emt.text.Diamond Chainsaw=你不知道为何用钻石升级电锯就像钻石升级电钻那样的想法从未出现在脑海中.这个升级使得电锯能储存更多的电力并且更快的破坏方块.
|
||||
|
||||
emt.rsname.Thaumium Plate=神秘板
|
||||
emt.text.Thaumium Plate=就如每个电子工程师所知道的,板材是许多设备的基础.我们知道把神秘锭压制成板材将会是把魔法方便地融入工具的必要途径,但这让魔法学院的魔法师们十分心烦.他们不愿意让我们对珍贵的金属材料瞎捣鼓.你可以像所示的那样制作出这些贵重的板材,或是在金属成型机内制作,只需要一个神秘锭.但别让那些恼火的魔法师们看见.
|
||||
|
||||
emt.rsname.Macerating Native Ore Clusters=矿簇粉碎工艺
|
||||
emt.text.Macerating Native Ore Clusters=你可以磨粉所有的矿簇,除了朱砂矿簇.你将会从每个矿簇中得到22个小堆粉.
|
||||
|
||||
emt.rsname.Electric Boots of the Traveller=电子旅行者之靴
|
||||
emt.text.Electric Boots of the Traveller=通过许多精密机械部件和对魔法的接触,你用更稳定的形式重现了旅行者之靴.这些靴子,不像初始的,不会因长时间穿着而损坏,用电力代替耐久.这些靴子免疫一切掉落伤害(不消耗电力),并保有旅行者之靴的所有特性.
|
||||
|
||||
emt.rsname.Nano Boots of the Traveller=纳米旅行者之靴
|
||||
emt.text.Nano Boots of the Traveller=你的电子旅行者之靴还不错,但你觉得你能做的更好.你已发现了一种将这些靴子升级到纳米的方法,改良机械零件和靴子的符文.这些靴子提供了比以往更高的跳跃高度和更快的奔跑速度.
|
||||
|
||||
emt.rsname.Quantum Boots of the Traveller=量子旅行者之靴
|
||||
emt.text.Quantum Boots of the Traveller=你利用量子物理学来改良,使得这些量子旅行者之靴如此之快,让你总能在第一时间达到各个地点.但是别忘了薛定谔的猫发生了什么....
|
||||
|
||||
emt.rsname.Electric Scribing Tools=电子笔与墨
|
||||
emt.text.Electric Scribing Tools=你不想再杀墨鱼了.因此你研究出了一种补充书写工具的方法,使得他们不再需要墨水.通过静电和圆珠笔技术你做出了能在内部快速回复墨水的工具,只需要充电就能持续使用.
|
||||
|
||||
emt.rsname.Etheral Processor=天域加工机
|
||||
emt.text.Etheral Processor=在你为了处理众多矿物而开发炼狱熔炉的地狱能量后,你脑子中出现了一些完全不同的想法.现在你使用名为“古德”的力量,来自天空和叫做天堂的这些.这个天域加工机使得每个冶炼的产物双倍,并且有10%的几率产生一个神秘粒作为奖励.你知道他有两个缺点:尽管它使冶炼产物双倍,但这也要双倍于一个物品的冶炼时间.并且由于它是高级魔法的发明,一些普通的冶炼合成会失效.你相信圆石不能在这个奇妙的机器里被烧成石头.
|
||||
|
||||
emt.rsname.Water Infused Solar Panels=注魔太阳能发电机(水)
|
||||
emt.text.Water Infused Solar Panels=你总是讨厌下雨,他别是当你所有的能源来自太阳能时.你如此讨厌它于是你决定寻找一种让太阳能在雨天工作的方法.你做出来了...这种..水注魔太阳能能在下雨时工作,并且只在下雨时发电.
|
||||
|
||||
emt.rsname.Entropy Infused Solar Panels=注魔太阳能发电机(混沌)
|
||||
emt.text.Entropy Infused Solar Panels=你知道太阳能晚上会停止工作.为了解决这个问题,你找到了一种让你的太阳能在晚上工作的方法!(只能在晚上工作)
|
||||
|
||||
emt.rsname.Order Infused Solar Panels=注魔太阳能发电机(秩序)
|
||||
emt.text.Order Infused Solar Panels=利用秩序的力量,你已经有办法让你的太阳能在白天输出三倍的电力!
|
||||
|
||||
emt.rsname.Fire Infused Solar Panels=注魔太阳能发电机(火)
|
||||
emt.text.Fire Infused Solar Panels=你被下界所吸引,做出了一个怪物.这些太阳能在主世界正常工作,但放在下界也能发电!它真是个怪物...
|
||||
|
||||
emt.rsname.Air Infused Solar Panels=注魔太阳能发电机(风)
|
||||
emt.text.Air Infused Solar Panels=你的大胆的想法和在高空存在的大量的风使得这些太阳能在Y=160层以上能提供更多的电力.
|
||||
|
||||
emt.rsname.Earth Infused Solar Panels=注魔太阳能发电机(地)
|
||||
emt.text.Earth Infused Solar Panels=你已决定向地心更进一步.这些太阳能在Y=10层以下的地方工作,但是记住它们仍需要在太阳的沐浴下才能工作.
|
||||
|
||||
emt.rsname.UU-Matter Infusion=UU物质注魔
|
||||
emt.text.UU-Matter Infusion=你总是觉得UU物质拥有的力量十分奇特,甚至...看起来像魔法般神奇,特别是大量种类的正确排列能合成物质.然后现在,你已发现了通过注魔合成塑造uu液体的方法.你能使用许多种合成,并且他们大都消耗4~32单位每种基础要素源质.
|
||||
|
||||
emt.rsname.Portable Node=便携式节点
|
||||
emt.text.Portable Node=在对缸中节点进行深入研究后,你成功制作出了一个能生成随机节点的道具.然而,由于你无法理解节点的一些魔法部分所以这个便携及节点将会是凋零且不稳定的.<BR><BR>你只能通过shift+右键去除它,并且你觉得你应该早些处理它,因为不稳定节点是...十分无法预料的.
|
||||
|
||||
emt.rsname.Electric Hoe of Growth=电力勾芒锄
|
||||
emt.text.Electric Hoe of Growth=你试着升级你的句芒锄.现在它对土地和植物就像之前的句芒锄一样工作.<BR><BR>然而,对你来说这个工具里的魔力过于强力难以全部转为使用一般电力的性能,在它用坏前你还会有几次使用的次数,它是可充电的.
|
||||
|
||||
emt.rsname.Wand Focus: Charging=法杖核心:化魔
|
||||
emt.text.Wand Focus: Charging=你意识到你总是随身带着一支法杖和你的电子设备.但有时,你用光了电子工具里的电.因此你做出了这个核心.它很简单也很实用,将法杖的魔力转化为一般的电力来给物品充电.
|
||||
|
||||
emt.rsname.Wand Focus: Wand Charging=法杖核心:充电
|
||||
emt.text.Wand Focus: Wand Charging=你发现了一种方法利用工业充能站的能力并将其嵌入法杖核心,逆转原有的过程.现在它会从物品中抽取电力给你的法杖充能,尽管消耗率很高.此外,你意识到你需要一整套符文护甲才能启动法杖充能的过程.
|
||||
|
||||
emt.rsname.Inventory Charging Ring=物品充能指环
|
||||
emt.text.Inventory Charging Ring=尽管其他神秘使使用指环给符文护盾充能,你觉得它们还有更好的应用.给凡人指环注入能量源,你就能对物品栏里的耗电物品使用它的充电效果.它的发电效率仅有32EU/t,但那不就说明还有提升的空间么.
|
||||
|
||||
emt.rsname.Armor Charging Ring=装备充能指环
|
||||
emt.text.Armor Charging Ring=新指环低但稳定的充电率比预期的还要有用.当没有工具需要能量时它给护甲充电还是不错的.通过注入多一点的能量源和一点护甲你做到了.可惜的是,这个新的能量源没有增加充电效率,但不都是慢慢来的么.
|
||||
|
||||
emt.rsname.The One Ring=魔戒
|
||||
emt.text.The One Ring=天下精灵铸三戒,地底矮人得七戒,寿定凡人持九戒,魔多妖境暗影伏,闇王坐拥至尊戒.至尊戒,驭众戒;至尊戒,寻众戒,魔戒至尊引众戒,禁锢众戒黑暗中,魔多妖境暗影伏.-J.R.R.Tolkien指环王题词.<BR>你梦想着从隐于众目,免于一切的攻击.你听说这个戒指在某处的遗迹中遗留着, 时间流逝恒久不变...
|
||||
|
||||
emt.rsname.Feather Wings=羽毛羽翼
|
||||
emt.text.Feather Wings=把羽毛黏上硬纸板再做成翅膀的形状听着是个好主意.至少,你可以按住空格键在空中推动自己.虽然不是太明显但会起效.但在水下和下雨天使用翅膀听起来可不好.摔落伤害减免:25%.
|
||||
|
||||
emt.rsname.Thaumium Reinforced Wings=神秘强化羽翼
|
||||
emt.text.Thaumium Reinforced Wings=注入魔力的神秘锭是众所周知的.因此,用神秘锭来强化你的纸板翼是个好主意.按下空格键会将你推得更高,如果一直按住则会缓慢下降.潜行则会快速下降.摔落伤害减免:50%.
|
||||
|
||||
emt.rsname.Nanosuit Wings=纳米羽翼
|
||||
emt.text.Nanosuit Wings=利用神秘锭将魔法与纳米科技结合到你的飞行翼上..听着很符合逻辑.现在你可以推的比之前还要高,按住空格下落的也比之前要慢.摔落伤害减免:75%.
|
||||
|
||||
emt.rsname.Quantum Wings=量子羽翼
|
||||
emt.text.Quantum Wings=在探索完纳米科技所有的可能性后,你决定做最后一搏,量子.你可以在空中再跳几格的高度, 极好的防护,并且的下降的过程极大减缓了.然而,量子的不可预测又一次发生了.同时按住潜行键和空格键时你的下降会完全停止.你不知道为何会这样,但它就是这样.摔落伤害减免:100%.
|
||||
|
||||
emt.rsname.InfusedQuantumArmor=注魔量子胸甲
|
||||
emt.text.InfusedQuantumArmor=你已经无事可做,但是你决定做一些有用的东西.你的脑海中浮现出一个想法,在制作盔甲时可以把羽翼或者背包系在一起以保证飞行的安全.持有羽翼或者背包时在潜行状态下右击可以将它们系在盔甲上.要将它们拿下来时只需要按住Shift + Ctrl.
|
||||
#=============Console Logging=============
|
||||
console.EMT.preInit.begin=谋略如何统治世界
|
||||
console.EMT.preInit.configRead=创建/读取配置文件中
|
||||
@@ -334,11 +374,11 @@ console.EMT.init.end=盟军已汇聚一堂
|
||||
console.EMT.postInit.begin=即将占领世界
|
||||
console.EMT.postInit.recipes=增加合成配方
|
||||
console.EMT.postInit.recipes.uumatter=添加UU注魔配方
|
||||
console.EMT.postInit.end=世界已被我们占领. 敬请享受!
|
||||
console.EMT.postInit.end=世界已被我们占领.敬请享受!
|
||||
|
||||
console.EMT.config.refresh=正在刷新配置文件
|
||||
|
||||
console.EMT.recipes.amberConflict=移除冲突的琥珀矿合成配方
|
||||
console.EMT.recipes.cinnabarConflict=移除冲突的朱砂矿合成配方
|
||||
|
||||
console.EMT.modLoaded.GT=检测到格雷科技. 已禁用钻石电钻的合成公式
|
||||
console.EMT.modLoaded.GT=检测到格雷科技.已禁用钻石电钻的合成公式
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 340 B |
|
After Width: | Height: | Size: 424 B |
|
After Width: | Height: | Size: 459 B |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 464 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 612 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 737 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 331 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 342 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 501 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 533 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 572 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 700 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 710 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 651 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 515 B |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |