mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
Upload my Code Changes/Format/imports
This commit is contained in:
1 parent
5bcdb7ca46
commit
5d4e38c0cb
264 files changed
+4014
-3972
No files matched your search
@@ -137,8 +137,9 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class TContent implements IFuelHandler
|
||||
{
|
||||
//Temporary items
|
||||
//public static Item armorTest = new ArmorStandard(2445, 4, EnumArmorPart.HELMET).setCreativeTab(CreativeTabs.tabAllSearch);
|
||||
// Temporary items
|
||||
// public static Item armorTest = new ArmorStandard(2445, 4,
|
||||
// EnumArmorPart.HELMET).setCreativeTab(CreativeTabs.tabAllSearch);
|
||||
|
||||
public TContent()
|
||||
{
|
||||
@@ -165,15 +166,17 @@ public class TContent implements IFuelHandler
|
||||
EntityRegistry.registerModEntity(ArrowEntity.class, "Arrow", 4, TConstruct.instance, 32, 5, true);
|
||||
EntityRegistry.registerModEntity(EntityLandmineFirework.class, "LandmineFirework", 5, TConstruct.instance, 32, 5, true);
|
||||
EntityRegistry.registerModEntity(ExplosivePrimed.class, "SlimeExplosive", 6, TConstruct.instance, 32, 5, true);
|
||||
//EntityRegistry.registerModEntity(CartEntity.class, "Small Wagon", 1, TConstruct.instance, 32, 5, true);
|
||||
// EntityRegistry.registerModEntity(CartEntity.class, "Small Wagon", 1,
|
||||
// TConstruct.instance, 32, 5, true);
|
||||
|
||||
EntityRegistry.registerModEntity(BlueSlime.class, "EdibleSlime", 12, TConstruct.instance, 64, 5, true);
|
||||
//EntityRegistry.registerModEntity(MetalSlime.class, "MetalSlime", 13, TConstruct.instance, 64, 5, true);
|
||||
// EntityRegistry.registerModEntity(MetalSlime.class, "MetalSlime", 13,
|
||||
// TConstruct.instance, 64, 5, true);
|
||||
}
|
||||
|
||||
void registerBlocks ()
|
||||
{
|
||||
//Tool Station
|
||||
// Tool Station
|
||||
TRepo.toolStationWood = new ToolStationBlock(Material.wood).setBlockName("ToolStation");
|
||||
TRepo.toolForge = new ToolForgeBlock(Material.iron).setBlockName("ToolForge");
|
||||
TRepo.craftingStationWood = new CraftingStationBlock(Material.wood).setBlockName("CraftingStation");
|
||||
@@ -202,7 +205,7 @@ public class TContent implements IFuelHandler
|
||||
TRepo.woolSlab2 = new SlabBase(Material.cloth, Blocks.wool, 8, 8).setBlockName("cloth");
|
||||
TRepo.woolSlab2.setStepSound(Block.soundTypeCloth).setCreativeTab(CreativeTabs.tabDecorations);
|
||||
|
||||
//Smeltery
|
||||
// Smeltery
|
||||
TRepo.smeltery = new SmelteryBlock().setBlockName("Smeltery");
|
||||
TRepo.smelteryNether = new SmelteryBlock("nether").setBlockName("Smeltery");
|
||||
TRepo.lavaTank = new LavaTankBlock().setBlockName("LavaTank");
|
||||
@@ -216,7 +219,7 @@ public class TContent implements IFuelHandler
|
||||
|
||||
TRepo.tankAir = new TankAirBlock(Material.leaves).setBlockUnbreakable().setBlockName("tconstruct.tank.air");
|
||||
|
||||
//Traps
|
||||
// Traps
|
||||
TRepo.landmine = new BlockLandmine().setHardness(0.5F).setResistance(0F).setStepSound(Block.soundTypeMetal).setCreativeTab(CreativeTabs.tabRedstone).setBlockName("landmine");
|
||||
TRepo.punji = new Punji().setBlockName("trap.punji");
|
||||
TRepo.barricadeOak = new BarricadeBlock(Blocks.log, 0).setBlockName("trap.barricade.oak");
|
||||
@@ -227,7 +230,7 @@ public class TContent implements IFuelHandler
|
||||
|
||||
TRepo.dryingRack = new DryingRack().setBlockName("Armor.DryingRack");
|
||||
|
||||
//Liquids
|
||||
// Liquids
|
||||
TRepo.liquidMetal = new MaterialLiquid(MapColor.tntColor);
|
||||
|
||||
TRepo.moltenIronFluid = new Fluid("iron.molten");
|
||||
@@ -430,7 +433,7 @@ public class TContent implements IFuelHandler
|
||||
FluidContainerRegistry.registerFluidContainer(new FluidContainerData(new FluidStack(TRepo.moltenEnderFluid, 1000), new ItemStack(TRepo.buckets, 1, 23), new ItemStack(Items.bucket)));
|
||||
}
|
||||
|
||||
//Slime
|
||||
// Slime
|
||||
TRepo.slimeStep = new StepSoundSlime("mob.slime", 1.0f, 1.0f);
|
||||
|
||||
TRepo.blueSlimeFluid = new Fluid("slime.blue");
|
||||
@@ -441,7 +444,7 @@ public class TContent implements IFuelHandler
|
||||
TRepo.blueSlimeFluid.setBlock(TRepo.slimePool);
|
||||
FluidContainerRegistry.registerFluidContainer(new FluidContainerData(new FluidStack(TRepo.blueSlimeFluid, 1000), new ItemStack(TRepo.buckets, 1, 24), new ItemStack(Items.bucket)));
|
||||
|
||||
//Glue
|
||||
// Glue
|
||||
TRepo.glueFluid = new Fluid("glue").setDensity(6000).setViscosity(6000).setTemperature(200);
|
||||
if (!FluidRegistry.registerFluid(TRepo.glueFluid))
|
||||
TRepo.glueFluid = FluidRegistry.getFluid("glue");
|
||||
@@ -462,7 +465,7 @@ public class TContent implements IFuelHandler
|
||||
TRepo.fluidBlocks = new Block[] { TRepo.moltenIron, TRepo.moltenGold, TRepo.moltenCopper, TRepo.moltenTin, TRepo.moltenAluminum, TRepo.moltenCobalt, TRepo.moltenArdite, TRepo.moltenBronze,
|
||||
TRepo.moltenAlubrass, TRepo.moltenManyullyn, TRepo.moltenAlumite, TRepo.moltenObsidian, TRepo.moltenSteel, TRepo.moltenGlass, TRepo.moltenStone, TRepo.moltenEmerald, TRepo.blood,
|
||||
TRepo.moltenNickel, TRepo.moltenLead, TRepo.moltenSilver, TRepo.moltenShiny, TRepo.moltenInvar, TRepo.moltenElectrum, TRepo.moltenEnder, TRepo.slimePool, TRepo.glueFluidBlock };
|
||||
//Slime Islands
|
||||
// Slime Islands
|
||||
TRepo.slimeGel = new SlimeGel().setStepSound(TRepo.slimeStep).setLightOpacity(0).setBlockName("slime.gel");
|
||||
TRepo.slimeGrass = new SlimeGrass().setStepSound(Block.soundTypeGrass).setLightOpacity(0).setBlockName("slime.grass");
|
||||
TRepo.slimeTallGrass = new SlimeTallGrass().setStepSound(Block.soundTypeGrass).setBlockName("slime.grass.tall");
|
||||
@@ -472,13 +475,13 @@ public class TContent implements IFuelHandler
|
||||
TRepo.bloodChannel = new ConveyorBase(Material.water, "liquid_cow").setHardness(0.3f).setStepSound(TRepo.slimeStep).setBlockName("blood.channel");
|
||||
TRepo.slimePad = new SlimePad(Material.cloth).setStepSound(TRepo.slimeStep).setHardness(0.3f).setBlockName("slime.pad");
|
||||
|
||||
//Decoration
|
||||
// Decoration
|
||||
TRepo.stoneTorch = new StoneTorch().setBlockName("decoration.stonetorch");
|
||||
TRepo.stoneLadder = new StoneLadder().setBlockName("decoration.stoneladder");
|
||||
TRepo.multiBrick = new MultiBrick().setBlockName("Decoration.Brick");
|
||||
TRepo.multiBrickFancy = new MultiBrickFancy().setBlockName("Decoration.BrickFancy");
|
||||
|
||||
//Ores
|
||||
// Ores
|
||||
String[] berryOres = new String[] { "berry_iron", "berry_gold", "berry_copper", "berry_tin", "berry_iron_ripe", "berry_gold_ripe", "berry_copper_ripe", "berry_tin_ripe" };
|
||||
TRepo.oreBerry = (OreberryBush) new OreberryBush(berryOres, 0, 4, new String[] { "oreIron", "oreGold", "oreCopper", "oreTin" }).setBlockName("ore.berries.one");
|
||||
String[] berryOresTwo = new String[] { "berry_aluminum", "berry_essence", "", "", "berry_aluminum_ripe", "berry_essence_ripe", "", "" };
|
||||
@@ -502,7 +505,7 @@ public class TContent implements IFuelHandler
|
||||
|
||||
TRepo.speedBlock = new SpeedBlock().setBlockName("SpeedBlock");
|
||||
|
||||
//Glass
|
||||
// Glass
|
||||
TRepo.clearGlass = new GlassBlockConnected("clear", false).setBlockName("GlassBlock");
|
||||
TRepo.clearGlass.stepSound = Block.soundTypeGlass;
|
||||
TRepo.glassPane = new GlassPaneConnected("clear", false);
|
||||
@@ -511,7 +514,7 @@ public class TContent implements IFuelHandler
|
||||
TRepo.stainedGlassClear.stepSound = Block.soundTypeGlass;
|
||||
TRepo.stainedGlassClearPane = new GlassPaneStained();
|
||||
|
||||
//Rail
|
||||
// Rail
|
||||
TRepo.woodenRail = new WoodRail().setStepSound(Block.soundTypeWood).setCreativeTab(TConstructRegistry.blockTab).setBlockName("rail.wood");
|
||||
|
||||
}
|
||||
@@ -529,16 +532,18 @@ public class TContent implements IFuelHandler
|
||||
TRepo.toolShard = new ToolShard("_chunk").setUnlocalizedName("tconstruct.ToolShard");
|
||||
TRepo.woodPattern = new Pattern("pattern_", "materials/").setUnlocalizedName("tconstruct.Pattern");
|
||||
TRepo.metalPattern = new MetalPattern("cast_", "materials/").setUnlocalizedName("tconstruct.MetalPattern");
|
||||
//armorPattern = new ArmorPattern(PHConstruct.armorPattern, "armorcast_", "materials/").setUnlocalizedName("tconstruct.ArmorPattern");
|
||||
// armorPattern = new ArmorPattern(PHConstruct.armorPattern,
|
||||
// "armorcast_",
|
||||
// "materials/").setUnlocalizedName("tconstruct.ArmorPattern");
|
||||
GameRegistry.registerItem(TRepo.materials, "materials");
|
||||
GameRegistry.registerItem(TRepo.woodPattern, "woodPattern");
|
||||
GameRegistry.registerItem(TRepo.metalPattern, "metalPattern");
|
||||
//GameRegistry.registerItem(TRepo.armorPattern, "armorPattern");
|
||||
// GameRegistry.registerItem(TRepo.armorPattern, "armorPattern");
|
||||
|
||||
TConstructRegistry.addItemToDirectory("blankPattern", TRepo.blankPattern);
|
||||
TConstructRegistry.addItemToDirectory("woodPattern", TRepo.woodPattern);
|
||||
TConstructRegistry.addItemToDirectory("metalPattern", TRepo.metalPattern);
|
||||
//TConstructRegistry.addItemToDirectory("armorPattern", armorPattern);
|
||||
// TConstructRegistry.addItemToDirectory("armorPattern", armorPattern);
|
||||
|
||||
String[] patternTypes = { "ingot", "toolRod", "pickaxeHead", "shovelHead", "hatchetHead", "swordBlade", "wideGuard", "handGuard", "crossbar", "binding", "frypanHead", "signHead",
|
||||
"knifeBlade", "chiselHead", "toughRod", "toughBinding", "largePlate", "broadAxeHead", "scytheHead", "excavatorHead", "largeBlade", "hammerHead", "fullGuard" };
|
||||
@@ -551,11 +556,12 @@ public class TContent implements IFuelHandler
|
||||
{
|
||||
TConstructRegistry.addItemStackToDirectory(patternTypes[i] + "Cast", new ItemStack(TRepo.metalPattern, 1, i));
|
||||
}
|
||||
/*String[] armorPartTypes = { "helmet", "chestplate", "leggings", "boots" };
|
||||
for (int i = 1; i < armorPartTypes.length; i++)
|
||||
{
|
||||
TConstructRegistry.addItemStackToDirectory(armorPartTypes[i] + "Cast", new ItemStack(armorPattern, 1, i));
|
||||
}*/
|
||||
/*
|
||||
* String[] armorPartTypes = { "helmet", "chestplate", "leggings",
|
||||
* "boots" }; for (int i = 1; i < armorPartTypes.length; i++) {
|
||||
* TConstructRegistry.addItemStackToDirectory(armorPartTypes[i] +
|
||||
* "Cast", new ItemStack(armorPattern, 1, i)); }
|
||||
*/
|
||||
|
||||
TRepo.manualBook = new Manual();
|
||||
GameRegistry.registerItem(TRepo.manualBook, "manualBook");
|
||||
@@ -638,7 +644,8 @@ public class TContent implements IFuelHandler
|
||||
|
||||
for (int i = 0; i < toolParts.length; i++)
|
||||
{
|
||||
GameRegistry.registerItem(toolParts[i], toolPartStrings[i]); // 1.7 compat
|
||||
GameRegistry.registerItem(toolParts[i], toolPartStrings[i]); // 1.7
|
||||
// compat
|
||||
TConstructRegistry.addItemToDirectory(toolPartStrings[i], toolParts[i]);
|
||||
}
|
||||
|
||||
@@ -658,17 +665,20 @@ public class TContent implements IFuelHandler
|
||||
TRepo.jerky = new Jerky(foodOverhaul).setUnlocalizedName("tconstruct.jerky");
|
||||
GameRegistry.registerItem(TRepo.jerky, "jerky");
|
||||
|
||||
//Wearables
|
||||
//heavyHelmet = new TArmorBase(PHConstruct.heavyHelmet, 0).setUnlocalizedName("tconstruct.HeavyHelmet");
|
||||
// Wearables
|
||||
// heavyHelmet = new TArmorBase(PHConstruct.heavyHelmet,
|
||||
// 0).setUnlocalizedName("tconstruct.HeavyHelmet");
|
||||
TRepo.heartCanister = new HeartCanister().setUnlocalizedName("tconstruct.canister");
|
||||
//heavyBoots = new TArmorBase(PHConstruct.heavyBoots, 3).setUnlocalizedName("tconstruct.HeavyBoots");
|
||||
//glove = new Glove(PHConstruct.glove).setUnlocalizedName("tconstruct.Glove");
|
||||
// heavyBoots = new TArmorBase(PHConstruct.heavyBoots,
|
||||
// 3).setUnlocalizedName("tconstruct.HeavyBoots");
|
||||
// glove = new
|
||||
// Glove(PHConstruct.glove).setUnlocalizedName("tconstruct.Glove");
|
||||
TRepo.knapsack = new Knapsack().setUnlocalizedName("tconstruct.storage");
|
||||
TRepo.goldHead = new GoldenHead(4, 1.2F, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 10, 0, 1.0F).setUnlocalizedName("goldenhead");
|
||||
//GameRegistry.registerItem(TRepo.heavyHelmet, "heavyHelmet");
|
||||
// GameRegistry.registerItem(TRepo.heavyHelmet, "heavyHelmet");
|
||||
GameRegistry.registerItem(TRepo.heartCanister, "heartCanister");
|
||||
//GameRegistry.registerItem(TRepo.heavyBoots, "heavyBoots");
|
||||
//GameRegistry.registerItem(TRepo.glove, "glove");
|
||||
// GameRegistry.registerItem(TRepo.heavyBoots, "heavyBoots");
|
||||
// GameRegistry.registerItem(TRepo.glove, "glove");
|
||||
GameRegistry.registerItem(TRepo.knapsack, "knapsack");
|
||||
GameRegistry.registerItem(TRepo.goldHead, "goldHead");
|
||||
|
||||
@@ -712,17 +722,17 @@ public class TContent implements IFuelHandler
|
||||
TConstructRegistry.addItemStackToDirectory("miniRedHeart", new ItemStack(TRepo.heartCanister, 1, 1));
|
||||
TConstructRegistry.addItemStackToDirectory("canisterRedHeart", new ItemStack(TRepo.heartCanister, 1, 2));
|
||||
|
||||
//Vanilla stack sizes
|
||||
// Vanilla stack sizes
|
||||
Items.wooden_door.setMaxStackSize(16);
|
||||
Items.iron_door.setMaxStackSize(16);
|
||||
Items.snowball.setMaxStackSize(64);
|
||||
Items.boat.setMaxStackSize(16);
|
||||
Items.minecart.setMaxStackSize(3);
|
||||
//Items.minecartEmpty.setMaxStackSize(3);
|
||||
//Items.minecartCrate.setMaxStackSize(3);
|
||||
//Items.minecartPowered.setMaxStackSize(3);
|
||||
// Items.minecartEmpty.setMaxStackSize(3);
|
||||
// Items.minecartCrate.setMaxStackSize(3);
|
||||
// Items.minecartPowered.setMaxStackSize(3);
|
||||
Items.cake.setMaxStackSize(16);
|
||||
//Block.torchWood.setTickRandomly(false);
|
||||
// Block.torchWood.setTickRandomly(false);
|
||||
}
|
||||
|
||||
void registerMaterials ()
|
||||
@@ -747,53 +757,54 @@ public class TContent implements IFuelHandler
|
||||
TConstructRegistry.addToolMaterial(17, "BlueSlime", "Slime ", 0, 1200, 150, 0, 2.0F, 0, 0f, "\u00A7b", "");
|
||||
TConstructRegistry.addToolMaterial(18, "PigIron", "Pig Iron ", 3, 250, 600, 2, 1.3F, 1, 0f, "\u00A7c", "Tasty");
|
||||
|
||||
TConstructRegistry.addBowMaterial(0, 384, 20, 1.0f); //Wood
|
||||
TConstructRegistry.addBowMaterial(1, 10, 80, 0.2f); //Stone
|
||||
TConstructRegistry.addBowMaterial(2, 576, 40, 1.2f); //Iron
|
||||
TConstructRegistry.addBowMaterial(3, 10, 80, 0.2f); //Flint
|
||||
TConstructRegistry.addBowMaterial(4, 384, 20, 1.0f); //Cactus
|
||||
TConstructRegistry.addBowMaterial(5, 192, 30, 1.0f); //Bone
|
||||
TConstructRegistry.addBowMaterial(6, 10, 80, 0.2f); //Obsidian
|
||||
TConstructRegistry.addBowMaterial(7, 10, 80, 0.2f); //Netherrack
|
||||
TConstructRegistry.addBowMaterial(8, 1536, 20, 1.2f); //Slime
|
||||
TConstructRegistry.addBowMaterial(9, 48, 25, 0.5f); //Paper
|
||||
TConstructRegistry.addBowMaterial(10, 1152, 40, 1.2f); //Cobalt
|
||||
TConstructRegistry.addBowMaterial(11, 960, 40, 1.2f); //Ardite
|
||||
TConstructRegistry.addBowMaterial(12, 1536, 40, 1.2f); //Manyullyn
|
||||
TConstructRegistry.addBowMaterial(13, 384, 40, 1.2f); //Copper
|
||||
TConstructRegistry.addBowMaterial(14, 576, 40, 1.2f); //Bronze
|
||||
TConstructRegistry.addBowMaterial(15, 768, 40, 1.2f); //Alumite
|
||||
TConstructRegistry.addBowMaterial(16, 768, 40, 1.2f); //Steel
|
||||
TConstructRegistry.addBowMaterial(17, 576, 20, 1.2f); //Blue Slime
|
||||
TConstructRegistry.addBowMaterial(18, 384, 20, 1.2f); //Slime
|
||||
TConstructRegistry.addBowMaterial(0, 384, 20, 1.0f); // Wood
|
||||
TConstructRegistry.addBowMaterial(1, 10, 80, 0.2f); // Stone
|
||||
TConstructRegistry.addBowMaterial(2, 576, 40, 1.2f); // Iron
|
||||
TConstructRegistry.addBowMaterial(3, 10, 80, 0.2f); // Flint
|
||||
TConstructRegistry.addBowMaterial(4, 384, 20, 1.0f); // Cactus
|
||||
TConstructRegistry.addBowMaterial(5, 192, 30, 1.0f); // Bone
|
||||
TConstructRegistry.addBowMaterial(6, 10, 80, 0.2f); // Obsidian
|
||||
TConstructRegistry.addBowMaterial(7, 10, 80, 0.2f); // Netherrack
|
||||
TConstructRegistry.addBowMaterial(8, 1536, 20, 1.2f); // Slime
|
||||
TConstructRegistry.addBowMaterial(9, 48, 25, 0.5f); // Paper
|
||||
TConstructRegistry.addBowMaterial(10, 1152, 40, 1.2f); // Cobalt
|
||||
TConstructRegistry.addBowMaterial(11, 960, 40, 1.2f); // Ardite
|
||||
TConstructRegistry.addBowMaterial(12, 1536, 40, 1.2f); // Manyullyn
|
||||
TConstructRegistry.addBowMaterial(13, 384, 40, 1.2f); // Copper
|
||||
TConstructRegistry.addBowMaterial(14, 576, 40, 1.2f); // Bronze
|
||||
TConstructRegistry.addBowMaterial(15, 768, 40, 1.2f); // Alumite
|
||||
TConstructRegistry.addBowMaterial(16, 768, 40, 1.2f); // Steel
|
||||
TConstructRegistry.addBowMaterial(17, 576, 20, 1.2f); // Blue Slime
|
||||
TConstructRegistry.addBowMaterial(18, 384, 20, 1.2f); // Slime
|
||||
|
||||
//Material ID, mass, fragility
|
||||
TConstructRegistry.addArrowMaterial(0, 0.69F, 1.0F, 100F); //Wood
|
||||
TConstructRegistry.addArrowMaterial(1, 2.5F, 5.0F, 100F); //Stone
|
||||
TConstructRegistry.addArrowMaterial(2, 7.2F, 0.5F, 100F); //Iron
|
||||
TConstructRegistry.addArrowMaterial(3, 2.65F, 1.0F, 100F); //Flint
|
||||
TConstructRegistry.addArrowMaterial(4, 0.76F, 1.0F, 100F); //Cactus
|
||||
TConstructRegistry.addArrowMaterial(5, 0.69F, 1.0F, 100); //Bone
|
||||
TConstructRegistry.addArrowMaterial(6, 2.4F, 1.0F, 100F); //Obsidian
|
||||
TConstructRegistry.addArrowMaterial(7, 3.5F, 1.0F, 100F); //Netherrack
|
||||
TConstructRegistry.addArrowMaterial(8, 0.42F, 0.0F, 100F); //Slime
|
||||
TConstructRegistry.addArrowMaterial(9, 1.1F, 3.0F, 90F); //Paper
|
||||
TConstructRegistry.addArrowMaterial(10, 8.9F, 0.25F, 100F); //Cobalt
|
||||
TConstructRegistry.addArrowMaterial(11, 7.2F, 0.25F, 100F); //Ardite
|
||||
TConstructRegistry.addArrowMaterial(12, 10.6F, 0.1F, 100F); //Manyullyn
|
||||
TConstructRegistry.addArrowMaterial(13, 8.96F, 0.5F, 100F); //Copper
|
||||
TConstructRegistry.addArrowMaterial(14, 7.9F, 0.25F, 100F); //Bronze
|
||||
TConstructRegistry.addArrowMaterial(15, 4.7F, 0.25F, 100F); //Alumite
|
||||
TConstructRegistry.addArrowMaterial(16, 7.6F, 0.25F, 100F); //Steel
|
||||
TConstructRegistry.addArrowMaterial(17, 0.42F, 0.0F, 100F); //Blue Slime
|
||||
TConstructRegistry.addArrowMaterial(18, 6.8F, 0.5F, 100F); //Iron
|
||||
// Material ID, mass, fragility
|
||||
TConstructRegistry.addArrowMaterial(0, 0.69F, 1.0F, 100F); // Wood
|
||||
TConstructRegistry.addArrowMaterial(1, 2.5F, 5.0F, 100F); // Stone
|
||||
TConstructRegistry.addArrowMaterial(2, 7.2F, 0.5F, 100F); // Iron
|
||||
TConstructRegistry.addArrowMaterial(3, 2.65F, 1.0F, 100F); // Flint
|
||||
TConstructRegistry.addArrowMaterial(4, 0.76F, 1.0F, 100F); // Cactus
|
||||
TConstructRegistry.addArrowMaterial(5, 0.69F, 1.0F, 100); // Bone
|
||||
TConstructRegistry.addArrowMaterial(6, 2.4F, 1.0F, 100F); // Obsidian
|
||||
TConstructRegistry.addArrowMaterial(7, 3.5F, 1.0F, 100F); // Netherrack
|
||||
TConstructRegistry.addArrowMaterial(8, 0.42F, 0.0F, 100F); // Slime
|
||||
TConstructRegistry.addArrowMaterial(9, 1.1F, 3.0F, 90F); // Paper
|
||||
TConstructRegistry.addArrowMaterial(10, 8.9F, 0.25F, 100F); // Cobalt
|
||||
TConstructRegistry.addArrowMaterial(11, 7.2F, 0.25F, 100F); // Ardite
|
||||
TConstructRegistry.addArrowMaterial(12, 10.6F, 0.1F, 100F); // Manyullyn
|
||||
TConstructRegistry.addArrowMaterial(13, 8.96F, 0.5F, 100F); // Copper
|
||||
TConstructRegistry.addArrowMaterial(14, 7.9F, 0.25F, 100F); // Bronze
|
||||
TConstructRegistry.addArrowMaterial(15, 4.7F, 0.25F, 100F); // Alumite
|
||||
TConstructRegistry.addArrowMaterial(16, 7.6F, 0.25F, 100F); // Steel
|
||||
TConstructRegistry.addArrowMaterial(17, 0.42F, 0.0F, 100F); // Blue
|
||||
// Slime
|
||||
TConstructRegistry.addArrowMaterial(18, 6.8F, 0.5F, 100F); // Iron
|
||||
|
||||
TConstructRegistry.addBowstringMaterial(0, 2, new ItemStack(Items.string), new ItemStack(TRepo.bowstring, 1, 0), 1F, 1F, 1f); //String
|
||||
TConstructRegistry.addFletchingMaterial(0, 2, new ItemStack(Items.feather), new ItemStack(TRepo.fletching, 1, 0), 100F, 0F, 0.05F); //Feather
|
||||
TConstructRegistry.addBowstringMaterial(0, 2, new ItemStack(Items.string), new ItemStack(TRepo.bowstring, 1, 0), 1F, 1F, 1f); // String
|
||||
TConstructRegistry.addFletchingMaterial(0, 2, new ItemStack(Items.feather), new ItemStack(TRepo.fletching, 1, 0), 100F, 0F, 0.05F); // Feather
|
||||
for (int i = 0; i < 4; i++)
|
||||
TConstructRegistry.addFletchingMaterial(1, 2, new ItemStack(Blocks.leaves, 1, i), new ItemStack(TRepo.fletching, 1, 1), 75F, 0F, 0.2F); //All four vanialla Leaves
|
||||
TConstructRegistry.addFletchingMaterial(2, 2, new ItemStack(TRepo.materials, 1, 1), new ItemStack(TRepo.fletching, 1, 2), 100F, 0F, 0.12F); //Slime
|
||||
TConstructRegistry.addFletchingMaterial(3, 2, new ItemStack(TRepo.materials, 1, 17), new ItemStack(TRepo.fletching, 1, 3), 100F, 0F, 0.12F); //BlueSlime
|
||||
TConstructRegistry.addFletchingMaterial(1, 2, new ItemStack(Blocks.leaves, 1, i), new ItemStack(TRepo.fletching, 1, 1), 75F, 0F, 0.2F); // All four vanialla Leaves
|
||||
TConstructRegistry.addFletchingMaterial(2, 2, new ItemStack(TRepo.materials, 1, 1), new ItemStack(TRepo.fletching, 1, 2), 100F, 0F, 0.12F); // Slime
|
||||
TConstructRegistry.addFletchingMaterial(3, 2, new ItemStack(TRepo.materials, 1, 17), new ItemStack(TRepo.fletching, 1, 3), 100F, 0F, 0.12F); // BlueSlime
|
||||
|
||||
PatternBuilder pb = PatternBuilder.instance;
|
||||
if (PHConstruct.enableTWood)
|
||||
@@ -876,13 +887,13 @@ public class TContent implements IFuelHandler
|
||||
compound.getCompoundTag("InfiTool").setInteger("RenderAccessory", 10);
|
||||
tool.setTagCompound(compound);
|
||||
|
||||
//TConstruct.
|
||||
// TConstruct.
|
||||
TConstructRegistry.toolTab.init(tool);
|
||||
}
|
||||
|
||||
public void addLoot ()
|
||||
{
|
||||
//Item, min, max, weight
|
||||
// Item, min, max, weight
|
||||
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(TRepo.heartCanister, 1, 1), 1, 1, 5));
|
||||
ChestGenHooks.getInfo(ChestGenHooks.PYRAMID_DESERT_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(TRepo.heartCanister, 1, 1), 1, 1, 10));
|
||||
ChestGenHooks.getInfo(ChestGenHooks.PYRAMID_JUNGLE_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(TRepo.heartCanister, 1, 1), 1, 1, 10));
|
||||
@@ -923,7 +934,7 @@ public class TContent implements IFuelHandler
|
||||
{
|
||||
HashMap<String, Achievement> achievements = TAchievements.achievements;
|
||||
|
||||
achievements.put("tconstruct.beginner", new Achievement("" + 2741, "tconstruct.beginner", 0, 0, TRepo.manualBook, null));//.setIndependent());
|
||||
achievements.put("tconstruct.beginner", new Achievement("" + 2741, "tconstruct.beginner", 0, 0, TRepo.manualBook, null));// .setIndependent());
|
||||
achievements.put("tconstruct.pattern", new Achievement("" + 2742, "tconstruct.pattern", 2, 1, TRepo.blankPattern, achievements.get("tconstruct.beginner")));
|
||||
achievements.put("tconstruct.tinkerer", new Achievement("" + 2743, "tconstruct.tinkerer", 2, 2, new ItemStack(TRepo.titleIcon, 1, 4096), achievements.get("tconstruct.pattern")));
|
||||
achievements.put("tconstruct.preparedFight", new Achievement("" + 2744, "tconstruct.preparedFight", 1, 3, new ItemStack(TRepo.titleIcon, 1, 4097), achievements.get("tconstruct.tinkerer")));
|
||||
|
||||
@@ -28,10 +28,10 @@ public class TProxyCommon implements IGuiHandler
|
||||
|
||||
public static int smelteryGuiID = 7;
|
||||
public static int furnaceID = 8;
|
||||
// public static int drawbridgeID = 9; // Moved to TMechworks
|
||||
// public static int drawbridgeID = 9; // Moved to TMechworks
|
||||
public static int landmineID = 10;
|
||||
public static int craftingStationID = 11;
|
||||
// public static int advDrawbridgeID = 12; // Moved to TMechworks
|
||||
// public static int advDrawbridgeID = 12; // Moved to TMechworks
|
||||
public static int inventoryGui = 100;
|
||||
public static int armorGuiID = 101;
|
||||
public static int knapsackGuiID = 102;
|
||||
@@ -61,7 +61,7 @@ public class TProxyCommon implements IGuiHandler
|
||||
{
|
||||
if (ID == inventoryGui)
|
||||
{
|
||||
//GuiInventory inv = new GuiInventory(player);
|
||||
// GuiInventory inv = new GuiInventory(player);
|
||||
return player.inventoryContainer;
|
||||
}
|
||||
if (ID == armorGuiID)
|
||||
@@ -86,7 +86,7 @@ public class TProxyCommon implements IGuiHandler
|
||||
|
||||
public void registerTickHandler ()
|
||||
{
|
||||
//TickRegistry.registerTickHandler(new TimeTicker(), Side.SERVER);
|
||||
// TickRegistry.registerTickHandler(new TimeTicker(), Side.SERVER);
|
||||
}
|
||||
|
||||
/* Registers any rendering code. Does nothing server-side */
|
||||
@@ -97,7 +97,8 @@ public class TProxyCommon implements IGuiHandler
|
||||
/* Ties an internal name to a visible one. */
|
||||
public void addNames ()
|
||||
{
|
||||
// As of 1.6.x, this is now handled by Minecraft itself for the most part.
|
||||
// As of 1.6.x, this is now handled by Minecraft itself for the most
|
||||
// part.
|
||||
|
||||
LanguageRegistry.addName(TRepo.potionLauncher, "Potion Launcher");
|
||||
LanguageRegistry.addName(TRepo.knapsack, "Knapsack");
|
||||
|
||||
@@ -120,7 +120,7 @@ public class TRecipes
|
||||
{
|
||||
static void registerBlockRecipes ()
|
||||
{
|
||||
//Tool Tables
|
||||
// Tool Tables
|
||||
GameRegistry.registerBlock(TRepo.toolStationWood, ToolStationItemBlock.class, "ToolStationBlock");
|
||||
GameRegistry.registerTileEntity(ToolStationLogic.class, "ToolStation");
|
||||
GameRegistry.registerTileEntity(PartBuilderLogic.class, "PartCrafter");
|
||||
@@ -154,7 +154,7 @@ public class TRecipes
|
||||
GameRegistry.registerBlock(TRepo.woolSlab1, WoolSlab1Item.class, "WoolSlab1");
|
||||
GameRegistry.registerBlock(TRepo.woolSlab2, WoolSlab2Item.class, "WoolSlab2");
|
||||
|
||||
//Smeltery stuff
|
||||
// Smeltery stuff
|
||||
GameRegistry.registerBlock(TRepo.smeltery, SmelteryItemBlock.class, "Smeltery");
|
||||
GameRegistry.registerBlock(TRepo.smelteryNether, SmelteryItemBlock.class, "SmelteryNether");
|
||||
if (PHConstruct.newSmeltery)
|
||||
@@ -184,7 +184,7 @@ public class TRecipes
|
||||
GameRegistry.registerBlock(TRepo.tankAir, "TankAir");
|
||||
GameRegistry.registerTileEntity(TankAirLogic.class, "tconstruct.tank.air");
|
||||
|
||||
//Traps
|
||||
// Traps
|
||||
GameRegistry.registerBlock(TRepo.landmine, ItemBlockLandmine.class, "Redstone.Landmine");
|
||||
GameRegistry.registerTileEntity(TileEntityLandmine.class, "Landmine");
|
||||
GameRegistry.registerBlock(TRepo.punji, "trap.punji");
|
||||
@@ -196,9 +196,9 @@ public class TRecipes
|
||||
|
||||
GameRegistry.registerBlock(TRepo.dryingRack, "Armor.DryingRack");
|
||||
GameRegistry.registerTileEntity(DryingRackLogic.class, "Armor.DryingRack");
|
||||
//fluids
|
||||
// fluids
|
||||
|
||||
//Slime Islands
|
||||
// Slime Islands
|
||||
GameRegistry.registerBlock(TRepo.slimeGel, SlimeGelItemBlock.class, "slime.gel");
|
||||
GameRegistry.registerBlock(TRepo.slimeGrass, SlimeGrassItemBlock.class, "slime.grass");
|
||||
GameRegistry.registerBlock(TRepo.slimeTallGrass, SlimeTallGrassItem.class, "slime.grass.tall");
|
||||
@@ -207,18 +207,19 @@ public class TRecipes
|
||||
GameRegistry.registerBlock(TRepo.slimeChannel, "slime.channel");
|
||||
GameRegistry.registerBlock(TRepo.bloodChannel, "blood.channel");
|
||||
GameRegistry.registerBlock(TRepo.slimePad, "slime.pad");
|
||||
//TODO fix this
|
||||
/*TConstructRegistry.drawbridgeState[TRepo.slimePad] = 1;
|
||||
TConstructRegistry.drawbridgeState[TRepo.bloodChannel] = 1;
|
||||
*/
|
||||
// TODO fix this
|
||||
/*
|
||||
* TConstructRegistry.drawbridgeState[TRepo.slimePad] = 1;
|
||||
* TConstructRegistry.drawbridgeState[TRepo.bloodChannel] = 1;
|
||||
*/
|
||||
|
||||
//Decoration
|
||||
// Decoration
|
||||
GameRegistry.registerBlock(TRepo.stoneTorch, "decoration.stonetorch");
|
||||
GameRegistry.registerBlock(TRepo.stoneLadder, "decoration.stoneladder");
|
||||
GameRegistry.registerBlock(TRepo.multiBrick, MultiBrickItem.class, "decoration.multibrick");
|
||||
GameRegistry.registerBlock(TRepo.multiBrickFancy, MultiBrickFancyItem.class, "decoration.multibrickfancy");
|
||||
|
||||
//Ores
|
||||
// Ores
|
||||
GameRegistry.registerBlock(TRepo.oreBerry, OreberryBushItem.class, "ore.berries.one");
|
||||
GameRegistry.registerBlock(TRepo.oreBerrySecond, OreberryBushSecondItem.class, "ore.berries.two");
|
||||
GameRegistry.registerBlock(TRepo.oreSlag, MetalOreItemBlock.class, "SearedBrick");
|
||||
@@ -226,13 +227,13 @@ public class TRecipes
|
||||
|
||||
GameRegistry.registerBlock(TRepo.speedBlock, SpeedBlockItem.class, "SpeedBlock");
|
||||
|
||||
//Glass
|
||||
// Glass
|
||||
GameRegistry.registerBlock(TRepo.clearGlass, GlassBlockItem.class, "GlassBlock");
|
||||
GameRegistry.registerBlock(TRepo.glassPane, GlassPaneItem.class, "GlassPane");
|
||||
GameRegistry.registerBlock(TRepo.stainedGlassClear, StainedGlassClearItem.class, "GlassBlock.StainedClear");
|
||||
GameRegistry.registerBlock(TRepo.stainedGlassClearPane, StainedGlassClearPaneItem.class, "GlassPaneClearStained");
|
||||
|
||||
//Rail
|
||||
// Rail
|
||||
GameRegistry.registerBlock(TRepo.woodenRail, "rail.wood");
|
||||
}
|
||||
|
||||
@@ -275,7 +276,7 @@ public class TRecipes
|
||||
registerPatternMaterial("block" + ft.toString(), 18, ft.toString());
|
||||
}
|
||||
}
|
||||
//Obsidian, different dust amount
|
||||
// Obsidian, different dust amount
|
||||
{
|
||||
FluidType ft = FluidType.Obsidian;
|
||||
Smeltery.addDictionaryMelting("nugget" + ft.toString(), ft, -100, TConstruct.nuggetLiquidValue);
|
||||
@@ -304,7 +305,7 @@ public class TRecipes
|
||||
}
|
||||
}
|
||||
|
||||
//Compressed materials
|
||||
// Compressed materials
|
||||
for (int i = 1; i <= 8; i++)
|
||||
{
|
||||
Smeltery.addDictionaryMelting("compressedCobblestone" + i + "x", FluidType.Stone, 0, TConstruct.ingotLiquidValue / 18 * (9 ^ i));
|
||||
@@ -444,21 +445,21 @@ public class TRecipes
|
||||
ItemStack ingotcast = new ItemStack(TRepo.metalPattern, 1, 0);
|
||||
ItemStack gemcast = new ItemStack(TRepo.metalPattern, 1, 26);
|
||||
LiquidCasting tableCasting = TConstructRegistry.instance.getTableCasting();
|
||||
//Blank
|
||||
// Blank
|
||||
tableCasting.addCastingRecipe(new ItemStack(TRepo.blankPattern, 1, 1), new FluidStack(TRepo.moltenAlubrassFluid, TConstruct.ingotLiquidValue), 80);
|
||||
tableCasting.addCastingRecipe(new ItemStack(TRepo.blankPattern, 1, 2), new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), 80);
|
||||
tableCasting.addCastingRecipe(gemcast, new FluidStack(TRepo.moltenAlubrassFluid, TConstruct.ingotLiquidValue), new ItemStack(Items.emerald), 80);
|
||||
tableCasting.addCastingRecipe(gemcast, new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), new ItemStack(Items.emerald), 80);
|
||||
|
||||
//Ingots
|
||||
tableCasting.addCastingRecipe(new ItemStack(TRepo.materials, 1, 2), new FluidStack(TRepo.moltenStoneFluid, TConstruct.ingotLiquidValue / 4), ingotcast, 80); //stone
|
||||
// Ingots
|
||||
tableCasting.addCastingRecipe(new ItemStack(TRepo.materials, 1, 2), new FluidStack(TRepo.moltenStoneFluid, TConstruct.ingotLiquidValue / 4), ingotcast, 80); // stone
|
||||
|
||||
//Misc
|
||||
// Misc
|
||||
tableCasting.addCastingRecipe(new ItemStack(Items.emerald), new FluidStack(TRepo.moltenEmeraldFluid, 640), gemcast, 80);
|
||||
tableCasting.addCastingRecipe(new ItemStack(TRepo.materials, 1, 36), new FluidStack(TRepo.glueFluid, TConstruct.ingotLiquidValue), null, 50);
|
||||
tableCasting.addCastingRecipe(new ItemStack(TRepo.strangeFood, 1, 1), new FluidStack(TRepo.bloodFluid, 160), null, 50);
|
||||
|
||||
//Buckets
|
||||
// Buckets
|
||||
ItemStack bucket = new ItemStack(Items.bucket);
|
||||
|
||||
for (int sc = 0; sc < 24; sc++)
|
||||
@@ -474,7 +475,9 @@ public class TRecipes
|
||||
TRepo.liquids = new FluidStack[] { new FluidStack(TRepo.moltenIronFluid, 1), new FluidStack(TRepo.moltenCopperFluid, 1), new FluidStack(TRepo.moltenCobaltFluid, 1),
|
||||
new FluidStack(TRepo.moltenArditeFluid, 1), new FluidStack(TRepo.moltenManyullynFluid, 1), new FluidStack(TRepo.moltenBronzeFluid, 1), new FluidStack(TRepo.moltenAlumiteFluid, 1),
|
||||
new FluidStack(TRepo.moltenObsidianFluid, 1), new FluidStack(TRepo.moltenSteelFluid, 1), new FluidStack(TRepo.pigIronFluid, 1) };
|
||||
int[] liquidDamage = new int[] { 2, 13, 10, 11, 12, 14, 15, 6, 16, 18 }; //ItemStack damage value
|
||||
int[] liquidDamage = new int[] { 2, 13, 10, 11, 12, 14, 15, 6, 16, 18 }; // ItemStack
|
||||
// damage
|
||||
// value
|
||||
int fluidAmount = 0;
|
||||
Fluid fs = null;
|
||||
|
||||
@@ -527,15 +530,19 @@ public class TRecipes
|
||||
|
||||
protected static void addRecipesForFurnace ()
|
||||
{
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 3), new ItemStack(TRepo.craftedSoil, 1, 4), 0.2f); //Concecrated Soil
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 3), new ItemStack(TRepo.craftedSoil, 1, 4), 0.2f); // Concecrated
|
||||
// Soil
|
||||
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 0), new ItemStack(TRepo.materials, 1, 1), 2f); //Slime
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 1), new ItemStack(TRepo.materials, 1, 2), 2f); //Seared brick item
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 2), new ItemStack(TRepo.materials, 1, 17), 2f); //Blue Slime
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 6), new ItemStack(TRepo.materials, 1, 37), 2f); //Nether seared brick
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 0), new ItemStack(TRepo.materials, 1, 1), 2f); // Slime
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 1), new ItemStack(TRepo.materials, 1, 2), 2f); // Seared brick item
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 2), new ItemStack(TRepo.materials, 1, 17), 2f); // Blue Slime
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.craftedSoil, 6), new ItemStack(TRepo.materials, 1, 37), 2f); // Nether seared
|
||||
// brick
|
||||
|
||||
//FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag, 1, new ItemStack(TRepo.materials, 1, 3), 3f);
|
||||
//FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag, 2, new ItemStack(TRepo.materials, 1, 4), 3f);
|
||||
// FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag,
|
||||
// 1, new ItemStack(TRepo.materials, 1, 3), 3f);
|
||||
// FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag,
|
||||
// 2, new ItemStack(TRepo.materials, 1, 4), 3f);
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag, 3), new ItemStack(TRepo.materials, 1, 9), 0.5f);
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag, 4), new ItemStack(TRepo.materials, 1, 10), 0.5f);
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreSlag, 5), new ItemStack(TRepo.materials, 1, 11), 0.5f);
|
||||
@@ -545,7 +552,9 @@ public class TRecipes
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreBerries, 2), new ItemStack(TRepo.materials, 1, 20), 0.2f);
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreBerries, 3), new ItemStack(TRepo.materials, 1, 21), 0.2f);
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreBerries, 4), new ItemStack(TRepo.materials, 1, 22), 0.2f);
|
||||
//FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreBerries, 5, new ItemStack(TRepo.materials, 1, 23), 0.2f);
|
||||
// FurnaceRecipes.smelting().func_151394_a(new
|
||||
// ItemStack(TRepo.oreBerries, 5, new ItemStack(TRepo.materials, 1, 23),
|
||||
// 0.2f);
|
||||
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreGravel, 0), new ItemStack(Items.iron_ingot), 0.2f);
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TRepo.oreGravel, 1), new ItemStack(Items.gold_ingot), 0.2f);
|
||||
@@ -657,7 +666,8 @@ public class TRecipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 3), patBlock, '#', new ItemStack(TRepo.materials, 1, 9)); // Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 5), patBlock, '#', new ItemStack(TRepo.materials, 1, 10)); // Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 6), patBlock, '#', new ItemStack(TRepo.materials, 1, 11)); // Aluminum
|
||||
//GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 6), patBlock, '#', new ItemStack(TRepo.materials, 1, 12)); // Aluminum
|
||||
// GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 6),
|
||||
// patBlock, '#', new ItemStack(TRepo.materials, 1, 12)); // Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 4), patBlock, '#', new ItemStack(TRepo.materials, 1, 13)); // Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 7), patBlock, '#', new ItemStack(TRepo.materials, 1, 14)); // AluBrass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 0), patBlock, '#', new ItemStack(TRepo.materials, 1, 3)); // Cobalt
|
||||
@@ -665,45 +675,47 @@ public class TRecipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 2), patBlock, '#', new ItemStack(TRepo.materials, 1, 5)); // Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 8), patBlock, '#', new ItemStack(TRepo.materials, 1, 15)); // Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.metalBlock, 1, 9), patBlock, '#', new ItemStack(TRepo.materials, 1, 16)); // Steel
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 11), patBlock, '#', new ItemStack(TRepo.materials, 1, 12)); //Aluminum raw -> ingot
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 11), patBlock, '#', new ItemStack(TRepo.materials, 1, 12)); // Aluminum raw ->
|
||||
// ingot
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 9), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 3)); //Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 10), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 5)); //Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 11), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 6)); //Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 13), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 4)); //Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 14), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 7)); //AluBrass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 3), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 0)); //Cobalt
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 4), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 1)); //Ardite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 5), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 2)); //Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 15), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 8)); //Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 16), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 9)); //Steel
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 9), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 3)); // Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 10), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 5)); // Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 11), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 6)); // Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 13), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 4)); // Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 14), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 7)); // AluBrass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 3), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 0)); // Cobalt
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 4), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 1)); // Ardite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 5), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 2)); // Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 15), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 8)); // Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 16), "m", 'm', new ItemStack(TRepo.metalBlock, 1, 9)); // Steel
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(Items.iron_ingot), patBlock, '#', new ItemStack(TRepo.materials, 1, 19)); //Iron
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 9), patBlock, '#', new ItemStack(TRepo.materials, 1, 20)); //Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 10), patBlock, '#', new ItemStack(TRepo.materials, 1, 21)); //Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 11), patBlock, '#', new ItemStack(TRepo.materials, 1, 22)); //Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 14), patBlock, '#', new ItemStack(TRepo.materials, 1, 24)); //Aluminum Brass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 18), patBlock, '#', new ItemStack(TRepo.materials, 1, 27)); //Obsidian
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 3), patBlock, '#', new ItemStack(TRepo.materials, 1, 28)); //Cobalt
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 4), patBlock, '#', new ItemStack(TRepo.materials, 1, 29)); //Ardite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 5), patBlock, '#', new ItemStack(TRepo.materials, 1, 30)); //Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 13), patBlock, '#', new ItemStack(TRepo.materials, 1, 31)); //Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 15), patBlock, '#', new ItemStack(TRepo.materials, 1, 32)); //Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 16), patBlock, '#', new ItemStack(TRepo.materials, 1, 33)); //Steel
|
||||
GameRegistry.addRecipe(new ItemStack(Items.iron_ingot), patBlock, '#', new ItemStack(TRepo.materials, 1, 19)); // Iron
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 9), patBlock, '#', new ItemStack(TRepo.materials, 1, 20)); // Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 10), patBlock, '#', new ItemStack(TRepo.materials, 1, 21)); // Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 11), patBlock, '#', new ItemStack(TRepo.materials, 1, 22)); // Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 14), patBlock, '#', new ItemStack(TRepo.materials, 1, 24)); // Aluminum Brass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 18), patBlock, '#', new ItemStack(TRepo.materials, 1, 27)); // Obsidian
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 3), patBlock, '#', new ItemStack(TRepo.materials, 1, 28)); // Cobalt
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 4), patBlock, '#', new ItemStack(TRepo.materials, 1, 29)); // Ardite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 5), patBlock, '#', new ItemStack(TRepo.materials, 1, 30)); // Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 13), patBlock, '#', new ItemStack(TRepo.materials, 1, 31)); // Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 15), patBlock, '#', new ItemStack(TRepo.materials, 1, 32)); // Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 1, 16), patBlock, '#', new ItemStack(TRepo.materials, 1, 33)); // Steel
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 19), "m", 'm', new ItemStack(Items.iron_ingot)); //Iron
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 20), "m", 'm', new ItemStack(TRepo.materials, 1, 9)); //Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 21), "m", 'm', new ItemStack(TRepo.materials, 1, 10)); //Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 22), "m", 'm', new ItemStack(TRepo.materials, 1, 11)); //Aluminum
|
||||
//GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 22), "m", 'm', new ItemStack(TRepo.materials, 1, 12)); //Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 24), "m", 'm', new ItemStack(TRepo.materials, 1, 14)); //Aluminum Brass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 27), "m", 'm', new ItemStack(TRepo.materials, 1, 18)); //Obsidian
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 28), "m", 'm', new ItemStack(TRepo.materials, 1, 3)); //Cobalt
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 29), "m", 'm', new ItemStack(TRepo.materials, 1, 4)); //Ardite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 30), "m", 'm', new ItemStack(TRepo.materials, 1, 5)); //Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 31), "m", 'm', new ItemStack(TRepo.materials, 1, 13)); //Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 32), "m", 'm', new ItemStack(TRepo.materials, 1, 15)); //Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 33), "m", 'm', new ItemStack(TRepo.materials, 1, 16)); //Steel
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 19), "m", 'm', new ItemStack(Items.iron_ingot)); // Iron
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 20), "m", 'm', new ItemStack(TRepo.materials, 1, 9)); // Copper
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 21), "m", 'm', new ItemStack(TRepo.materials, 1, 10)); // Tin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 22), "m", 'm', new ItemStack(TRepo.materials, 1, 11)); // Aluminum
|
||||
// GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 22), "m",
|
||||
// 'm', new ItemStack(TRepo.materials, 1, 12)); //Aluminum
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 24), "m", 'm', new ItemStack(TRepo.materials, 1, 14)); // Aluminum Brass
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 27), "m", 'm', new ItemStack(TRepo.materials, 1, 18)); // Obsidian
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 28), "m", 'm', new ItemStack(TRepo.materials, 1, 3)); // Cobalt
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 29), "m", 'm', new ItemStack(TRepo.materials, 1, 4)); // Ardite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 30), "m", 'm', new ItemStack(TRepo.materials, 1, 5)); // Manyullyn
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 31), "m", 'm', new ItemStack(TRepo.materials, 1, 13)); // Bronze
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 32), "m", 'm', new ItemStack(TRepo.materials, 1, 15)); // Alumite
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.materials, 9, 33), "m", 'm', new ItemStack(TRepo.materials, 1, 16)); // Steel
|
||||
|
||||
// stained Glass Recipes
|
||||
String[] dyeTypes = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple", "dyeCyan", "dyeLightGray", "dyeGray", "dyePink", "dyeLime", "dyeYellow", "dyeLightBlue",
|
||||
@@ -731,28 +743,28 @@ public class TRecipes
|
||||
|
||||
// Smeltery Components Recipes
|
||||
ItemStack searedBrick = new ItemStack(TRepo.materials, 1, 2);
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smeltery, 1, 0), "bbb", "b b", "bbb", 'b', searedBrick); //Controller
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smeltery, 1, 1), "b b", "b b", "b b", 'b', searedBrick); //Drain
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smeltery, 1, 2), "bb", "bb", 'b', searedBrick); //Bricks
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTank, 1, 0), patSurround, '#', searedBrick, 'm', "glass")); //Tank
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTank, 1, 1), "bgb", "ggg", "bgb", 'b', searedBrick, 'g', "glass")); //Glass
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTank, 1, 2), "bgb", "bgb", "bgb", 'b', searedBrick, 'g', "glass")); //Window
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlock, 1, 0), "bbb", "b b", "b b", 'b', searedBrick); //Table
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlock, 1, 1), "b b", " b ", 'b', searedBrick); //Faucet
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlock, 1, 2), "b b", "b b", "bbb", 'b', searedBrick); //Basin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.castingChannel, 4, 0), "b b", "bbb", 'b', searedBrick); //Channel
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smeltery, 1, 0), "bbb", "b b", "bbb", 'b', searedBrick); // Controller
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smeltery, 1, 1), "b b", "b b", "b b", 'b', searedBrick); // Drain
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smeltery, 1, 2), "bb", "bb", 'b', searedBrick); // Bricks
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTank, 1, 0), patSurround, '#', searedBrick, 'm', "glass")); // Tank
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTank, 1, 1), "bgb", "ggg", "bgb", 'b', searedBrick, 'g', "glass")); // Glass
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTank, 1, 2), "bgb", "bgb", "bgb", 'b', searedBrick, 'g', "glass")); // Window
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlock, 1, 0), "bbb", "b b", "b b", 'b', searedBrick); // Table
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlock, 1, 1), "b b", " b ", 'b', searedBrick); // Faucet
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlock, 1, 2), "b b", "b b", "bbb", 'b', searedBrick); // Basin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.castingChannel, 4, 0), "b b", "bbb", 'b', searedBrick); // Channel
|
||||
|
||||
searedBrick = new ItemStack(TRepo.materials, 1, 37);
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smelteryNether, 1, 0), "bbb", "b b", "bbb", 'b', searedBrick); //Controller
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smelteryNether, 1, 1), "b b", "b b", "b b", 'b', searedBrick); //Drain
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smelteryNether, 1, 2), "bb", "bb", 'b', searedBrick); //Bricks
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTankNether, 1, 0), patSurround, '#', searedBrick, 'm', "glass")); //Tank
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTankNether, 1, 1), "bgb", "ggg", "bgb", 'b', searedBrick, 'g', "glass")); //Glass
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTankNether, 1, 2), "bgb", "bgb", "bgb", 'b', searedBrick, 'g', "glass")); //Window
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlockNether, 1, 0), "bbb", "b b", "b b", 'b', searedBrick); //Table
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlockNether, 1, 1), "b b", " b ", 'b', searedBrick); //Faucet
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlockNether, 1, 2), "b b", "b b", "bbb", 'b', searedBrick); //Basin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.castingChannel, 4, 0), "b b", "bbb", 'b', searedBrick); //Channel
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smelteryNether, 1, 0), "bbb", "b b", "bbb", 'b', searedBrick); // Controller
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smelteryNether, 1, 1), "b b", "b b", "b b", 'b', searedBrick); // Drain
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.smelteryNether, 1, 2), "bb", "bb", 'b', searedBrick); // Bricks
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTankNether, 1, 0), patSurround, '#', searedBrick, 'm', "glass")); // Tank
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTankNether, 1, 1), "bgb", "ggg", "bgb", 'b', searedBrick, 'g', "glass")); // Glass
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.lavaTankNether, 1, 2), "bgb", "bgb", "bgb", 'b', searedBrick, 'g', "glass")); // Window
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlockNether, 1, 0), "bbb", "b b", "b b", 'b', searedBrick); // Table
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlockNether, 1, 1), "b b", " b ", 'b', searedBrick); // Faucet
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.searedBlockNether, 1, 2), "b b", "b b", "bbb", 'b', searedBrick); // Basin
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.castingChannel, 4, 0), "b b", "bbb", 'b', searedBrick); // Channel
|
||||
|
||||
// Jack o'Latern Recipe - Stone Torch
|
||||
GameRegistry.addRecipe(new ItemStack(Blocks.lit_pumpkin, 1, 0), "p", "s", 'p', new ItemStack(Blocks.pumpkin), 's', new ItemStack(TRepo.stoneTorch));
|
||||
@@ -765,16 +777,18 @@ public class TRecipes
|
||||
// Stonesticks Recipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.toolRod, 4, 1), "c", "c", 'c', new ItemStack(Blocks.stone));
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.toolRod, 2, 1), "c", "c", 'c', new ItemStack(Blocks.cobblestone));
|
||||
//
|
||||
//
|
||||
ItemStack aluBrass = new ItemStack(TRepo.materials, 1, 14);
|
||||
// Clock Recipe - Vanilla alternativ
|
||||
GameRegistry.addRecipe(new ItemStack(Items.clock), " i ", "iri", " i ", 'i', aluBrass, 'r', new ItemStack(Items.redstone));
|
||||
// Gold Pressure Plate - Vanilla alternativ
|
||||
// Gold Pressure Plate - Vanilla alternativ
|
||||
GameRegistry.addRecipe(new ItemStack(Blocks.light_weighted_pressure_plate), "ii", 'i', aluBrass);
|
||||
//Accessories
|
||||
// Accessories
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.heartCanister, 1, 0), "##", "##", '#', "ingotAluminum"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.heartCanister, 1, 0), "##", "##", '#', "ingotAluminium"));
|
||||
//GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.heartCanister, 1, 0), "##", "##", '#', "ingotNaturalAluminum"));
|
||||
// GameRegistry.addRecipe(new ShapedOreRecipe(new
|
||||
// ItemStack(TRepo.heartCanister, 1, 0), "##", "##", '#',
|
||||
// "ingotNaturalAluminum"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.heartCanister, 1, 0), " # ", "#B#", " # ", '#', "ingotTin", 'B', Items.bone));
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.diamondApple), " d ", "d#d", " d ", 'd', new ItemStack(Items.diamond), '#', new ItemStack(Items.apple));
|
||||
@@ -785,7 +799,7 @@ public class TRecipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.knapsack, 1, 0), "###", "rmr", "###", '#', new ItemStack(Items.leather), 'r', new ItemStack(TRepo.toughRod, 1, 2), 'm', aluBrass);
|
||||
// Drying Rack Recipes
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.dryingRack, 1, 0), "bbb", 'b', "slabWood"));
|
||||
//Landmine Recipes
|
||||
// Landmine Recipes
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.landmine, 1, 0), "mcm", "rpr", 'm', "plankWood", 'c', new ItemStack(TRepo.blankPattern, 1, 1), 'r', Items.redstone, 'p',
|
||||
Blocks.stone_pressure_plate));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.landmine, 1, 1), "mcm", "rpr", 'm', Blocks.stone, 'c', new ItemStack(TRepo.blankPattern, 1, 1), 'r', Items.redstone, 'p',
|
||||
@@ -795,7 +809,7 @@ public class TRecipes
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.landmine, 1, 3), "mcm", "rpr", 'm', Items.repeater, 'c', new ItemStack(TRepo.blankPattern, 1, 1), 'r', Items.redstone, 'p',
|
||||
Blocks.stone_pressure_plate));
|
||||
|
||||
//Ultra hardcore recipes
|
||||
// Ultra hardcore recipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.goldHead), patSurround, '#', new ItemStack(Items.gold_ingot), 'm', new ItemStack(Items.skull, 1, 3));
|
||||
|
||||
// Slab Smeltery Components Recipes
|
||||
@@ -822,7 +836,7 @@ public class TRecipes
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(Blocks.wool, 1, sc + 8), new ItemStack(TRepo.woolSlab2, 1, sc), new ItemStack(TRepo.woolSlab2, 1, sc));
|
||||
}
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Blocks.wool, 1, 0), "slabCloth", "slabCloth"));
|
||||
//Trap Recipes
|
||||
// Trap Recipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.punji, 5, 0), "b b", " b ", "b b", 'b', new ItemStack(Items.reeds));
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.barricadeSpruce, 1, 0), "b", "b", 'b', new ItemStack(Blocks.log, 1, 1));
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.barricadeBirch, 1, 0), "b", "b", 'b', new ItemStack(Blocks.log, 1, 2));
|
||||
@@ -831,7 +845,7 @@ public class TRecipes
|
||||
// Advanced WorkBench Recipes
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.craftingStationWood, 1, 0), "b", 'b', "crafterWood"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.craftingStationWood, 1, 0), "b", 'b', "craftingTableWood"));
|
||||
//Slab crafters
|
||||
// Slab crafters
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.craftingSlabWood, 6, 0), "bbb", 'b', "crafterWood"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(TRepo.craftingSlabWood, 6, 0), "bbb", 'b', "craftingTableWood"));
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.craftingSlabWood, 1, 0), "b", 'b', new ItemStack(TRepo.craftingStationWood, 1, 0));
|
||||
@@ -847,12 +861,12 @@ public class TRecipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.craftingSlabWood, 1, 3), "b", 'b', new ItemStack(TRepo.toolStationWood, 1, 13));
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.craftingSlabWood, 1, 5), "b", 'b', new ItemStack(TRepo.toolForge, 1, Short.MAX_VALUE));
|
||||
// EssenceExtractor Recipe
|
||||
//Slime Recipes
|
||||
// Slime Recipes
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.slimeGel, 1, 0), "##", "##", '#', TRepo.strangeFood);
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.strangeFood, 4, 0), "#", '#', new ItemStack(TRepo.slimeGel, 1, 0));
|
||||
GameRegistry.addRecipe(new ItemStack(TRepo.slimeGel, 1, 1), "##", "##", '#', Items.slime_ball);
|
||||
GameRegistry.addRecipe(new ItemStack(Items.slime_ball, 4, 0), "#", '#', new ItemStack(TRepo.slimeGel, 1, 1));
|
||||
//slimeExplosive
|
||||
// slimeExplosive
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.slimeExplosive, 1, 0), Items.slime_ball, Blocks.tnt);
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.slimeExplosive, 1, 2), TRepo.strangeFood, Blocks.tnt);
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(TRepo.slimeExplosive, 1, 0), "slimeball", Blocks.tnt));
|
||||
@@ -866,17 +880,19 @@ public class TRecipes
|
||||
|
||||
protected static void addRecipesForDryingRack ()
|
||||
{
|
||||
//Drying rack
|
||||
// Drying rack
|
||||
DryingRackRecipes.addDryingRecipe(Items.beef, 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 0));
|
||||
DryingRackRecipes.addDryingRecipe(Items.chicken, 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 1));
|
||||
DryingRackRecipes.addDryingRecipe(Items.porkchop, 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 2));
|
||||
//DryingRackRecipes.addDryingRecipe(Item.muttonRaw, 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 3));
|
||||
// DryingRackRecipes.addDryingRecipe(Item.muttonRaw, 20 * 60 * 5, new
|
||||
// ItemStack(TRepo.jerky, 1, 3));
|
||||
DryingRackRecipes.addDryingRecipe(Items.fish, 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 4));
|
||||
DryingRackRecipes.addDryingRecipe(Items.rotten_flesh, 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 5));
|
||||
DryingRackRecipes.addDryingRecipe(new ItemStack(TRepo.strangeFood, 1, 0), 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 6));
|
||||
DryingRackRecipes.addDryingRecipe(new ItemStack(TRepo.strangeFood, 1, 1), 20 * 60 * 5, new ItemStack(TRepo.jerky, 1, 7));
|
||||
|
||||
//DryingRackRecipes.addDryingRecipe(new ItemStack(TRepo.jerky, 1, 5), 20 * 60 * 10, Item.leather);
|
||||
// DryingRackRecipes.addDryingRecipe(new ItemStack(TRepo.jerky, 1, 5),
|
||||
// 20 * 60 * 10, Item.leather);
|
||||
}
|
||||
|
||||
protected static void addRecipesForChisel ()
|
||||
@@ -894,8 +910,10 @@ public class TRecipes
|
||||
chiseling.addDetailing(Blocks.sandstone, 0, Blocks.sandstone, 2, TRepo.chisel);
|
||||
chiseling.addDetailing(Blocks.sandstone, 2, Blocks.sandstone, 1, TRepo.chisel);
|
||||
chiseling.addDetailing(Blocks.sandstone, 1, TRepo.multiBrick, 1, TRepo.chisel);
|
||||
//chiseling.addDetailing(Block.netherrack, 0, TRepo.multiBrick, 2, TRepo.chisel);
|
||||
//chiseling.addDetailing(Block.stone_refined, 0, TRepo.multiBrick, 3, TRepo.chisel);
|
||||
// chiseling.addDetailing(Block.netherrack, 0, TRepo.multiBrick, 2,
|
||||
// TRepo.chisel);
|
||||
// chiseling.addDetailing(Block.stone_refined, 0, TRepo.multiBrick, 3,
|
||||
// TRepo.chisel);
|
||||
chiseling.addDetailing(Items.iron_ingot, 0, TRepo.multiBrick, 4, TRepo.chisel);
|
||||
chiseling.addDetailing(Items.gold_ingot, 0, TRepo.multiBrick, 5, TRepo.chisel);
|
||||
chiseling.addDetailing(Items.dye, 4, TRepo.multiBrick, 6, TRepo.chisel);
|
||||
@@ -916,8 +934,11 @@ public class TRecipes
|
||||
chiseling.addDetailing(Blocks.stonebrick, 0, TRepo.multiBrickFancy, 15, TRepo.chisel);
|
||||
chiseling.addDetailing(TRepo.multiBrickFancy, 15, TRepo.multiBrickFancy, 14, TRepo.chisel);
|
||||
chiseling.addDetailing(TRepo.multiBrickFancy, 14, Blocks.stonebrick, 3, TRepo.chisel);
|
||||
/*chiseling.addDetailing(TRepo.multiBrick, 14, TRepo.multiBrickFancy, 14, TRepo.chisel);
|
||||
chiseling.addDetailing(TRepo.multiBrick, 15, TRepo.multiBrickFancy, 15, TRepo.chisel);*/
|
||||
/*
|
||||
* chiseling.addDetailing(TRepo.multiBrick, 14, TRepo.multiBrickFancy,
|
||||
* 14, TRepo.chisel); chiseling.addDetailing(TRepo.multiBrick, 15,
|
||||
* TRepo.multiBrickFancy, 15, TRepo.chisel);
|
||||
*/
|
||||
|
||||
chiseling.addDetailing(TRepo.smeltery, 4, TRepo.smeltery, 6, TRepo.chisel);
|
||||
chiseling.addDetailing(TRepo.smeltery, 6, TRepo.smeltery, 11, TRepo.chisel);
|
||||
@@ -1028,7 +1049,7 @@ public class TRecipes
|
||||
|
||||
BlockDispenser.dispenseBehaviorRegistry.putObject(TRepo.arrow, new TDispenserBehaviorArrow());
|
||||
|
||||
//Vanilla stuff
|
||||
// Vanilla stuff
|
||||
OreDictionary.registerOre("slimeball", new ItemStack(Items.slime_ball));
|
||||
OreDictionary.registerOre("slimeball", new ItemStack(TRepo.strangeFood, 1, 0));
|
||||
OreDictionary.registerOre("slimeball", new ItemStack(TRepo.strangeFood, 1, 1));
|
||||
@@ -1190,59 +1211,67 @@ public class TRecipes
|
||||
{
|
||||
LiquidCasting basinCasting = TConstructRegistry.getBasinCasting();
|
||||
// Block Casting
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.iron_block), new FluidStack(TRepo.moltenIronFluid, TConstruct.blockLiquidValue), null, true, 100); //Iron
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.gold_block), new FluidStack(TRepo.moltenGoldFluid, TConstruct.blockLiquidValue), null, true, 100); //gold
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 3), new FluidStack(TRepo.moltenCopperFluid, TConstruct.blockLiquidValue), null, true, 100); //copper
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 5), new FluidStack(TRepo.moltenTinFluid, TConstruct.blockLiquidValue), null, true, 100); //tin
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 6), new FluidStack(TRepo.moltenAluminumFluid, TConstruct.blockLiquidValue), null, true, 100); //aluminum
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 0), new FluidStack(TRepo.moltenCobaltFluid, TConstruct.blockLiquidValue), null, true, 100); //cobalt
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 1), new FluidStack(TRepo.moltenArditeFluid, TConstruct.blockLiquidValue), null, true, 100); //ardite
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 4), new FluidStack(TRepo.moltenBronzeFluid, TConstruct.blockLiquidValue), null, true, 100); //bronze
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 7), new FluidStack(TRepo.moltenAlubrassFluid, TConstruct.blockLiquidValue), null, true, 100); //albrass
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 2), new FluidStack(TRepo.moltenManyullynFluid, TConstruct.blockLiquidValue), null, true, 100); //manyullyn
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 8), new FluidStack(TRepo.moltenAlumiteFluid, TConstruct.blockLiquidValue), null, true, 100); //alumite
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.iron_block), new FluidStack(TRepo.moltenIronFluid, TConstruct.blockLiquidValue), null, true, 100); // Iron
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.gold_block), new FluidStack(TRepo.moltenGoldFluid, TConstruct.blockLiquidValue), null, true, 100); // gold
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 3), new FluidStack(TRepo.moltenCopperFluid, TConstruct.blockLiquidValue), null, true, 100); // copper
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 5), new FluidStack(TRepo.moltenTinFluid, TConstruct.blockLiquidValue), null, true, 100); // tin
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 6), new FluidStack(TRepo.moltenAluminumFluid, TConstruct.blockLiquidValue), null, true, 100); // aluminum
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 0), new FluidStack(TRepo.moltenCobaltFluid, TConstruct.blockLiquidValue), null, true, 100); // cobalt
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 1), new FluidStack(TRepo.moltenArditeFluid, TConstruct.blockLiquidValue), null, true, 100); // ardite
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 4), new FluidStack(TRepo.moltenBronzeFluid, TConstruct.blockLiquidValue), null, true, 100); // bronze
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 7), new FluidStack(TRepo.moltenAlubrassFluid, TConstruct.blockLiquidValue), null, true, 100); // albrass
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 2), new FluidStack(TRepo.moltenManyullynFluid, TConstruct.blockLiquidValue), null, true, 100); // manyullyn
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 8), new FluidStack(TRepo.moltenAlumiteFluid, TConstruct.blockLiquidValue), null, true, 100); // alumite
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.obsidian), new FluidStack(TRepo.moltenObsidianFluid, TConstruct.oreLiquidValue), null, true, 100);// obsidian
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 9), new FluidStack(TRepo.moltenSteelFluid, TConstruct.blockLiquidValue), null, true, 100); //steel
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.clearGlass, 1, 0), new FluidStack(TRepo.moltenGlassFluid, FluidContainerRegistry.BUCKET_VOLUME), null, true, 100); //glass
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.smeltery, 1, 4), new FluidStack(TRepo.moltenStoneFluid, TConstruct.ingotLiquidValue), null, true, 100); //seared stone
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 9), new FluidStack(TRepo.moltenSteelFluid, TConstruct.blockLiquidValue), null, true, 100); // steel
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.clearGlass, 1, 0), new FluidStack(TRepo.moltenGlassFluid, FluidContainerRegistry.BUCKET_VOLUME), null, true, 100); // glass
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.smeltery, 1, 4), new FluidStack(TRepo.moltenStoneFluid, TConstruct.ingotLiquidValue), null, true, 100); // seared
|
||||
// stone
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.smeltery, 1, 5), new FluidStack(TRepo.moltenStoneFluid, TConstruct.chunkLiquidValue), new ItemStack(Blocks.cobblestone), true, 100);
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.emerald_block), new FluidStack(TRepo.moltenEmeraldFluid, 640 * 9), null, true, 100); //emerald
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.speedBlock, 1, 0), new FluidStack(TRepo.moltenTinFluid, TConstruct.nuggetLiquidValue), new ItemStack(Blocks.gravel), true, 100); //brownstone
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.emerald_block), new FluidStack(TRepo.moltenEmeraldFluid, 640 * 9), null, true, 100); // emerald
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.speedBlock, 1, 0), new FluidStack(TRepo.moltenTinFluid, TConstruct.nuggetLiquidValue), new ItemStack(Blocks.gravel), true, 100); // brownstone
|
||||
if (PHConstruct.craftEndstone)
|
||||
{
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.end_stone), new FluidStack(TRepo.moltenEnderFluid, 50), new ItemStack(Blocks.obsidian), true, 100);
|
||||
basinCasting.addCastingRecipe(new ItemStack(Blocks.end_stone), new FluidStack(TRepo.moltenEnderFluid, 250), new ItemStack(Blocks.sandstone), true, 100);
|
||||
}
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 10), new FluidStack(TRepo.moltenEnderFluid, 1000), null, true, 100); //ender
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.glueBlock), new FluidStack(TRepo.glueFluid, TConstruct.blockLiquidValue), null, true, 100); //glue
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.metalBlock, 1, 10), new FluidStack(TRepo.moltenEnderFluid, 1000), null, true, 100); // ender
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.glueBlock), new FluidStack(TRepo.glueFluid, TConstruct.blockLiquidValue), null, true, 100); // glue
|
||||
|
||||
// basinCasting.addCastingRecipe(new ItemStack(slimeGel, 1, 0), new FluidStack(blueSlimeFluid, FluidContainerRegistry.BUCKET_VOLUME), null, true, 100);
|
||||
// basinCasting.addCastingRecipe(new ItemStack(slimeGel, 1, 0), new
|
||||
// FluidStack(blueSlimeFluid, FluidContainerRegistry.BUCKET_VOLUME),
|
||||
// null, true, 100);
|
||||
|
||||
//Armor casts
|
||||
/*FluidRenderProperties frp = new FluidRenderProperties(Applications.BASIN.minHeight, 0.65F, Applications.BASIN);
|
||||
FluidStack aluFlu = new FluidStack(TRepo.moltenAlubrassFluid, TConstruct.ingotLiquidValue * 10);
|
||||
FluidStack gloFlu = new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue * 10);
|
||||
ItemStack[] armor = { new ItemStack(helmetWood), new ItemStack(chestplateWood), new ItemStack(leggingsWood), new ItemStack(bootsWood) };
|
||||
for (int sc = 0; sc < armor.length; sc++)
|
||||
{
|
||||
basinCasting.addCastingRecipe(new ItemStack(armorPattern, 1, sc), aluFlu, armor[sc], 50, frp);
|
||||
basinCasting.addCastingRecipe(new ItemStack(armorPattern, 1, sc), gloFlu, armor[sc], 50, frp);
|
||||
}*/
|
||||
// Armor casts
|
||||
/*
|
||||
* FluidRenderProperties frp = new
|
||||
* FluidRenderProperties(Applications.BASIN.minHeight, 0.65F,
|
||||
* Applications.BASIN); FluidStack aluFlu = new
|
||||
* FluidStack(TRepo.moltenAlubrassFluid, TConstruct.ingotLiquidValue *
|
||||
* 10); FluidStack gloFlu = new FluidStack(TRepo.moltenGoldFluid,
|
||||
* TConstruct.ingotLiquidValue * 10); ItemStack[] armor = { new
|
||||
* ItemStack(helmetWood), new ItemStack(chestplateWood), new
|
||||
* ItemStack(leggingsWood), new ItemStack(bootsWood) }; for (int sc = 0;
|
||||
* sc < armor.length; sc++) { basinCasting.addCastingRecipe(new
|
||||
* ItemStack(armorPattern, 1, sc), aluFlu, armor[sc], 50, frp);
|
||||
* basinCasting.addCastingRecipe(new ItemStack(armorPattern, 1, sc),
|
||||
* gloFlu, armor[sc], 50, frp); }
|
||||
*/
|
||||
}
|
||||
|
||||
protected static void addRecipesForSmeltery ()
|
||||
{
|
||||
//Alloy Smelting
|
||||
// Alloy Smelting
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.moltenBronzeFluid, (int) (TConstruct.ingotLiquidValue * PHConstruct.ingotsBronzeAlloy)), new FluidStack(TRepo.moltenCopperFluid,
|
||||
TConstruct.ingotLiquidValue * 3), new FluidStack(TRepo.moltenTinFluid, TConstruct.ingotLiquidValue)); //Bronze
|
||||
TConstruct.ingotLiquidValue * 3), new FluidStack(TRepo.moltenTinFluid, TConstruct.ingotLiquidValue)); // Bronze
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.moltenAlubrassFluid, (int) (TConstruct.ingotLiquidValue * PHConstruct.ingotsAluminumBrassAlloy)), new FluidStack(TRepo.moltenAluminumFluid,
|
||||
TConstruct.ingotLiquidValue * 3), new FluidStack(TRepo.moltenCopperFluid, TConstruct.ingotLiquidValue * 1)); //Aluminum Brass
|
||||
TConstruct.ingotLiquidValue * 3), new FluidStack(TRepo.moltenCopperFluid, TConstruct.ingotLiquidValue * 1)); // Aluminum Brass
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.moltenAlumiteFluid, (int) (TConstruct.ingotLiquidValue * PHConstruct.ingotsAlumiteAlloy)), new FluidStack(TRepo.moltenAluminumFluid,
|
||||
TConstruct.ingotLiquidValue * 5), new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(TRepo.moltenObsidianFluid, TConstruct.ingotLiquidValue * 2)); //Alumite
|
||||
TConstruct.ingotLiquidValue * 5), new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(TRepo.moltenObsidianFluid, TConstruct.ingotLiquidValue * 2)); // Alumite
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.moltenManyullynFluid, (int) (TConstruct.ingotLiquidValue * PHConstruct.ingotsManyullynAlloy)), new FluidStack(TRepo.moltenCobaltFluid,
|
||||
TConstruct.ingotLiquidValue), new FluidStack(TRepo.moltenArditeFluid, TConstruct.ingotLiquidValue)); //Manyullyn
|
||||
TConstruct.ingotLiquidValue), new FluidStack(TRepo.moltenArditeFluid, TConstruct.ingotLiquidValue)); // Manyullyn
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.pigIronFluid, (int) (TConstruct.ingotLiquidValue * PHConstruct.ingotsPigironAlloy)), new FluidStack(TRepo.moltenIronFluid,
|
||||
TConstruct.ingotLiquidValue), new FluidStack(TRepo.moltenEmeraldFluid, 640), new FluidStack(TRepo.bloodFluid, 80)); //Pigiron
|
||||
TConstruct.ingotLiquidValue), new FluidStack(TRepo.moltenEmeraldFluid, 640), new FluidStack(TRepo.bloodFluid, 80)); // Pigiron
|
||||
|
||||
// Stone parts
|
||||
for (int sc = 0; sc < TRepo.patternOutputs.length; sc++)
|
||||
@@ -1286,14 +1315,14 @@ public class TRecipes
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.shears), 0, TConstruct.ingotLiquidValue * 2);
|
||||
Smeltery.addMelting(FluidType.Emerald, new ItemStack(Items.emerald), -50, 640);
|
||||
|
||||
//Blocks melt as themselves!
|
||||
//Ore
|
||||
// Blocks melt as themselves!
|
||||
// Ore
|
||||
Smeltery.addMelting(Blocks.iron_ore, 0, 600, new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue * 2));
|
||||
Smeltery.addMelting(Blocks.gold_ore, 0, 400, new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue * 2));
|
||||
Smeltery.addMelting(TRepo.oreGravel, 0, 600, new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue * 2));
|
||||
Smeltery.addMelting(TRepo.oreGravel, 1, 400, new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue * 2));
|
||||
|
||||
//Blocks
|
||||
// Blocks
|
||||
Smeltery.addMelting(Blocks.iron_block, 0, 600, new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue * 9));
|
||||
Smeltery.addMelting(Blocks.gold_block, 0, 400, new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue * 9));
|
||||
Smeltery.addMelting(Blocks.obsidian, 0, 800, new FluidStack(TRepo.moltenObsidianFluid, TConstruct.ingotLiquidValue * 2));
|
||||
@@ -1318,7 +1347,7 @@ public class TRecipes
|
||||
Smeltery.addMelting(TRepo.stainedGlassClearPane, i, 350, new FluidStack(TRepo.moltenGlassFluid, 250));
|
||||
}
|
||||
|
||||
//Bricks
|
||||
// Bricks
|
||||
Smeltery.addMelting(TRepo.multiBrick, 4, 600, new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue));
|
||||
Smeltery.addMelting(TRepo.multiBrickFancy, 4, 600, new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue));
|
||||
Smeltery.addMelting(TRepo.multiBrick, 5, 400, new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue));
|
||||
@@ -1326,7 +1355,7 @@ public class TRecipes
|
||||
Smeltery.addMelting(TRepo.multiBrick, 0, 800, new FluidStack(TRepo.moltenObsidianFluid, TConstruct.ingotLiquidValue * 2));
|
||||
Smeltery.addMelting(TRepo.multiBrickFancy, 0, 800, new FluidStack(TRepo.moltenObsidianFluid, TConstruct.ingotLiquidValue * 2));
|
||||
|
||||
//Vanilla blocks
|
||||
// Vanilla blocks
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.iron_bars), 0, TConstruct.ingotLiquidValue * 6 / 16);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.heavy_weighted_pressure_plate), 0, TConstruct.oreLiquidValue);
|
||||
Smeltery.addMelting(FluidType.Gold, new ItemStack(Blocks.light_weighted_pressure_plate, 4), 0, TConstruct.oreLiquidValue);
|
||||
@@ -1335,13 +1364,14 @@ public class TRecipes
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.detector_rail), 0, TConstruct.ingotLiquidValue);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.activator_rail), 0, TConstruct.ingotLiquidValue);
|
||||
Smeltery.addMelting(FluidType.Obsidian, new ItemStack(Blocks.enchanting_table), 0, TConstruct.ingotLiquidValue * 4);
|
||||
//Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.cauldron), 0, TConstruct.ingotLiquidValue * 7);
|
||||
// Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.cauldron),
|
||||
// 0, TConstruct.ingotLiquidValue * 7);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.anvil, 1, 0), 200, TConstruct.ingotLiquidValue * 31);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.anvil, 1, 1), 200, TConstruct.ingotLiquidValue * 31);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.anvil, 1, 2), 200, TConstruct.ingotLiquidValue * 31);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Blocks.hopper), 0, TConstruct.ingotLiquidValue * 5);
|
||||
|
||||
//Vanilla Armor
|
||||
// Vanilla Armor
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_helmet, 1, 0), 50, TConstruct.ingotLiquidValue * 5);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_chestplate, 1, 0), 50, TConstruct.ingotLiquidValue * 8);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_leggings, 1, 0), 50, TConstruct.ingotLiquidValue * 7);
|
||||
@@ -1360,7 +1390,7 @@ public class TRecipes
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_horse_armor, 1), 100, TConstruct.ingotLiquidValue * 8);
|
||||
Smeltery.addMelting(FluidType.Gold, new ItemStack(Items.golden_horse_armor, 1), 100, TConstruct.ingotLiquidValue * 8);
|
||||
|
||||
//Vanilla tools
|
||||
// Vanilla tools
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_hoe, 1, 0), 0, TConstruct.oreLiquidValue);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_sword, 1, 0), 0, TConstruct.oreLiquidValue);
|
||||
Smeltery.addMelting(FluidType.Iron, new ItemStack(Items.iron_shovel, 1, 0), 0, TConstruct.ingotLiquidValue);
|
||||
@@ -1383,7 +1413,7 @@ public class TRecipes
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.craftedSoil, 2, 6), Items.nether_wart, taintedSoil, heatSand);
|
||||
|
||||
ItemStack ironpick = ToolBuilder.instance.buildTool(new ItemStack(TRepo.pickaxeHead, 1, 6), new ItemStack(TRepo.toolRod, 1, 2), new ItemStack(TRepo.binding, 1, 6), "");
|
||||
/*TE3 Flux*/
|
||||
/* TE3 Flux */
|
||||
ItemStack batHardened = GameRegistry.findItemStack("ThermalExpansion", "capacitorHardened", 1);
|
||||
if (batHardened != null)
|
||||
{
|
||||
@@ -1432,7 +1462,7 @@ public class TRecipes
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
} //No need to handle
|
||||
} // No need to handle
|
||||
}
|
||||
|
||||
ItemStack ingotcast = new ItemStack(TRepo.metalPattern, 1, 0);
|
||||
@@ -1465,14 +1495,14 @@ public class TRecipes
|
||||
{
|
||||
tableCasting.addCastingRecipe(ores.get(0), new FluidStack(TRepo.moltenInvarFluid, TConstruct.ingotLiquidValue), ingotcast, 80);
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.moltenInvarFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(TRepo.moltenIronFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(
|
||||
TRepo.moltenNickelFluid, TConstruct.ingotLiquidValue * 1)); //Invar
|
||||
TRepo.moltenNickelFluid, TConstruct.ingotLiquidValue * 1)); // Invar
|
||||
}
|
||||
ores = OreDictionary.getOres("ingotElectrum");
|
||||
if (ores.size() > 0)
|
||||
{
|
||||
tableCasting.addCastingRecipe(ores.get(0), new FluidStack(TRepo.moltenElectrumFluid, TConstruct.ingotLiquidValue), ingotcast, 80);
|
||||
Smeltery.addAlloyMixing(new FluidStack(TRepo.moltenElectrumFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(TRepo.moltenGoldFluid, TConstruct.ingotLiquidValue), new FluidStack(
|
||||
TRepo.moltenSilverFluid, TConstruct.ingotLiquidValue)); //Electrum
|
||||
TRepo.moltenSilverFluid, TConstruct.ingotLiquidValue)); // Electrum
|
||||
}
|
||||
|
||||
ores = OreDictionary.getOres("blockNickel");
|
||||
@@ -1512,7 +1542,8 @@ public class TRecipes
|
||||
{
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.speedBlock, 9), new FluidStack(TRepo.moltenElectrumFluid, TConstruct.blockLiquidValue), ores.get(0), 100);
|
||||
}
|
||||
ores = OreDictionary.getOres("compressedGravel2x"); //Higher won't save properly
|
||||
ores = OreDictionary.getOres("compressedGravel2x"); // Higher won't save
|
||||
// properly
|
||||
if (ores.size() > 0)
|
||||
{
|
||||
basinCasting.addCastingRecipe(new ItemStack(TRepo.speedBlock, 81), new FluidStack(TRepo.moltenElectrumFluid, TConstruct.blockLiquidValue * 9), ores.get(0), 100);
|
||||
|
||||
@@ -21,14 +21,14 @@ public class TRepo
|
||||
// Supresses console spam when iguana's tweaks remove stuff
|
||||
public static boolean supressMissingToolLogs = false;
|
||||
|
||||
//Patterns and other materials
|
||||
// Patterns and other materials
|
||||
public static Item blankPattern;
|
||||
public static Item materials;
|
||||
public static Item toolRod;
|
||||
public static Item toolShard;
|
||||
public static Item woodPattern;
|
||||
public static Item metalPattern;
|
||||
//public static Item armorPattern;
|
||||
// public static Item armorPattern;
|
||||
|
||||
public static Item manualBook;
|
||||
public static Item buckets;
|
||||
@@ -37,10 +37,10 @@ public class TRepo
|
||||
public static Item strangeFood;
|
||||
public static Item diamondApple;
|
||||
public static Item jerky;
|
||||
//public static Item stonePattern;
|
||||
//public static Item netherPattern;
|
||||
// public static Item stonePattern;
|
||||
// public static Item netherPattern;
|
||||
|
||||
//Tools
|
||||
// Tools
|
||||
public static ToolCore pickaxe;
|
||||
public static ToolCore shovel;
|
||||
public static ToolCore hatchet;
|
||||
@@ -67,7 +67,7 @@ public class TRepo
|
||||
|
||||
public static Item potionLauncher;
|
||||
|
||||
//Tool parts
|
||||
// Tool parts
|
||||
public static Item binding;
|
||||
public static Item toughBinding;
|
||||
public static Item toughRod;
|
||||
@@ -97,7 +97,7 @@ public class TRepo
|
||||
public static Item arrowhead;
|
||||
public static Item fletching;
|
||||
|
||||
//Crafting blocks
|
||||
// Crafting blocks
|
||||
public static Block toolStationWood;
|
||||
public static Block toolStationStone;
|
||||
public static Block toolForge;
|
||||
@@ -120,7 +120,7 @@ public class TRepo
|
||||
|
||||
public static Block dryingRack;
|
||||
|
||||
//Decoration
|
||||
// Decoration
|
||||
public static Block stoneTorch;
|
||||
public static Block stoneLadder;
|
||||
public static Block multiBrick;
|
||||
@@ -134,7 +134,7 @@ public class TRepo
|
||||
public static Block woolSlab2;
|
||||
public static Block glueBlock;
|
||||
|
||||
//Traps
|
||||
// Traps
|
||||
public static Block landmine;
|
||||
public static Block punji;
|
||||
public static Block barricadeOak;
|
||||
@@ -143,19 +143,19 @@ public class TRepo
|
||||
public static Block barricadeJungle;
|
||||
public static Block slimeExplosive;
|
||||
|
||||
//InfiBlocks
|
||||
// InfiBlocks
|
||||
public static Block speedBlock;
|
||||
public static Block clearGlass;
|
||||
//public static Block stainedGlass;
|
||||
// public static Block stainedGlass;
|
||||
public static Block stainedGlassClear;
|
||||
public static Block glassPane;
|
||||
//public static Block stainedGlassPane;
|
||||
// public static Block stainedGlassPane;
|
||||
public static Block stainedGlassClearPane;
|
||||
public static Block glassMagicSlab;
|
||||
public static Block stainedGlassMagicSlab;
|
||||
public static Block stainedGlassClearMagicSlab;
|
||||
|
||||
//Liquids
|
||||
// Liquids
|
||||
public static Material liquidMetal;
|
||||
|
||||
public static Fluid moltenIronFluid;
|
||||
@@ -210,7 +210,7 @@ public class TRepo
|
||||
public static Block moltenElectrum;
|
||||
public static Block moltenEnder;
|
||||
|
||||
//Slime
|
||||
// Slime
|
||||
public static SoundType slimeStep;
|
||||
public static Block slimePool;
|
||||
public static Block slimeGel;
|
||||
@@ -223,23 +223,23 @@ public class TRepo
|
||||
public static Block slimePad;
|
||||
public static Block bloodChannel;
|
||||
|
||||
//Glue
|
||||
// Glue
|
||||
public static Fluid glueFluid;
|
||||
public static Block glueFluidBlock;
|
||||
|
||||
//Ores
|
||||
// Ores
|
||||
public static Block oreSlag;
|
||||
public static Block oreGravel;
|
||||
public static OreberryBush oreBerry;
|
||||
public static OreberryBush oreBerrySecond;
|
||||
public static Item oreBerries;
|
||||
|
||||
//Tool modifiers
|
||||
// Tool modifiers
|
||||
public static ModFlux modFlux;
|
||||
public static ModLapis modLapis;
|
||||
public static ModAttack modAttack;
|
||||
|
||||
//Wearables
|
||||
// Wearables
|
||||
public static Item heavyHelmet;
|
||||
public static Item heavyChestplate;
|
||||
public static Item heavyPants;
|
||||
@@ -250,21 +250,21 @@ public class TRepo
|
||||
public static Item heartCanister;
|
||||
public static Item goldHead;
|
||||
|
||||
//Rail-related
|
||||
// Rail-related
|
||||
public static Block woodenRail;
|
||||
|
||||
//Chest hooks
|
||||
// Chest hooks
|
||||
public static ChestGenHooks tinkerHouseChest;
|
||||
public static ChestGenHooks tinkerHousePatterns;
|
||||
|
||||
//Armor - basic
|
||||
// Armor - basic
|
||||
public static Item helmetWood;
|
||||
public static Item chestplateWood;
|
||||
public static Item leggingsWood;
|
||||
public static Item bootsWood;
|
||||
public static ArmorMaterial materialWood;
|
||||
|
||||
//Armor - exosuit
|
||||
// Armor - exosuit
|
||||
public static Item exoGoggles;
|
||||
public static Item exoChest;
|
||||
public static Item exoPants;
|
||||
@@ -273,7 +273,7 @@ public class TRepo
|
||||
public static Fluid[] fluids = new Fluid[27];
|
||||
public static Block[] fluidBlocks = new Block[26];
|
||||
|
||||
//recipe stuff
|
||||
// recipe stuff
|
||||
public static boolean thaumcraftAvailable;
|
||||
public static boolean initRecipes;
|
||||
public static Item[] patternOutputs;
|
||||
|
||||
Reference in new issue
Block a user