mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
changed and added recipes + empowerer texture
This commit is contained in:
parent
2eaccba3e3
commit
e323f960c5
10 changed files with 63 additions and 45 deletions
|
@ -182,8 +182,8 @@ public final class ActuallyAdditionsAPI{
|
|||
TREASURE_CHEST_LOOT.add(new TreasureChestLoot(stack, chance, minAmount, maxAmount));
|
||||
}
|
||||
|
||||
public static void addEmpowererRecipe(ItemStack input, ItemStack output, ItemStack modifier1, ItemStack modifier2, ItemStack modifier3, ItemStack modifier4, int energyPerStand, float[] particleColor){
|
||||
EMPOWERER_RECIPES.add(new EmpowererRecipe(input, output, modifier1, modifier2, modifier3, modifier4, energyPerStand, particleColor));
|
||||
public static void addEmpowererRecipe(ItemStack input, ItemStack output, ItemStack modifier1, ItemStack modifier2, ItemStack modifier3, ItemStack modifier4, int energyPerStand, int time, float[] particleColor){
|
||||
EMPOWERER_RECIPES.add(new EmpowererRecipe(input, output, modifier1, modifier2, modifier3, modifier4, energyPerStand, time, particleColor));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,8 +24,9 @@ public class EmpowererRecipe{
|
|||
|
||||
public int energyPerStand;
|
||||
public float[] particleColor;
|
||||
public int time;
|
||||
|
||||
public EmpowererRecipe(ItemStack input, ItemStack output, ItemStack modifier1, ItemStack modifier2, ItemStack modifier3, ItemStack modifier4, int energyPerStand, float[] particleColor){
|
||||
public EmpowererRecipe(ItemStack input, ItemStack output, ItemStack modifier1, ItemStack modifier2, ItemStack modifier3, ItemStack modifier4, int energyPerStand, int time, float[] particleColor){
|
||||
this.input = input;
|
||||
this.output = output;
|
||||
this.modifier1 = modifier1;
|
||||
|
@ -34,5 +35,6 @@ public class EmpowererRecipe{
|
|||
this.modifier4 = modifier4;
|
||||
this.energyPerStand = energyPerStand;
|
||||
this.particleColor = particleColor;
|
||||
this.time = time;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -124,7 +124,8 @@ public final class BlockCrafting{
|
|||
//Shock Suppressor
|
||||
if(ConfigCrafting.SHOCK_SUPPRESSOR.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockShockSuppressor),
|
||||
"OOO", "OCO", "OOO",
|
||||
"OAO", "ACA", "OAO",
|
||||
'A', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.COAL.ordinal()),
|
||||
'O', new ItemStack(Blocks.OBSIDIAN),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeShockSuppressor = RecipeUtil.lastIRecipe();
|
||||
|
@ -146,7 +147,7 @@ public final class BlockCrafting{
|
|||
"IRI", "RCR", "IDI",
|
||||
'R', "blockRedstone",
|
||||
'I', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||
'C', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.COAL.ordinal()),
|
||||
'C', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.COAL.ordinal()),
|
||||
'D', new ItemStack(InitItems.itemDrill, 1, Util.WILDCARD)));
|
||||
recipeMiner = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -228,14 +229,14 @@ public final class BlockCrafting{
|
|||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLaserRelayAdvanced),
|
||||
" I ", "XRX", " I ",
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'R', new ItemStack(InitBlocks.blockLaserRelay),
|
||||
'X', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
||||
recipeLaserRelayAdvanced = RecipeUtil.lastIRecipe();
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLaserRelayExtreme),
|
||||
" I ", "XRX", " I ",
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'R', new ItemStack(InitBlocks.blockLaserRelayAdvanced),
|
||||
'X', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
||||
recipeLaserRelayExtreme = RecipeUtil.lastIRecipe();
|
||||
|
@ -255,7 +256,7 @@ public final class BlockCrafting{
|
|||
new ItemStack(InitBlocks.blockLaserRelayItem),
|
||||
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()),
|
||||
new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
||||
new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal())));
|
||||
recipeLaserRelayItemWhitelist = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
|
@ -313,7 +314,7 @@ public final class BlockCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockXPSolidifier),
|
||||
"XXX", "DCD", "XXX",
|
||||
'X', new ItemStack(InitItems.itemSolidifiedExperience),
|
||||
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeSolidifier = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -354,7 +355,7 @@ public final class BlockCrafting{
|
|||
"WSW", "SRS", "WSW",
|
||||
'W', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()) : new ItemStack(Items.ENDER_PEARL),
|
||||
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()),
|
||||
'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(Blocks.DIAMOND_BLOCK) : new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(Blocks.DIAMOND_BLOCK) : new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
recipeEnderCase = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
|
@ -362,7 +363,7 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.PHANTOM_BOOSTER.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomBooster),
|
||||
"RDR", "DCD", "RDR",
|
||||
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'R', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
||||
recipePhantomBooster = RecipeUtil.lastIRecipe();
|
||||
|
@ -405,7 +406,7 @@ public final class BlockCrafting{
|
|||
"SCS", "ISI", "LLL",
|
||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||
'I', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'L', Items.LAVA_BUCKET));
|
||||
recipeLavaFactory = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -445,7 +446,7 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.PHANTOMFACE.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomface),
|
||||
" C ", "EBE", " S ",
|
||||
'E', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'E', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', Blocks.CHEST,
|
||||
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||
'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal())));
|
||||
|
@ -456,7 +457,7 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.PLAYER_INTERFACE.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPlayerInterface),
|
||||
"BCB", "EBE", "BSB",
|
||||
'E', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'E', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', new ItemStack(Items.SKULL, 1, 1),
|
||||
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||
'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
||||
|
@ -483,7 +484,7 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.PHANTOM_ENERGYFACE.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomEnergyface),
|
||||
" R ", "RFR", " R ",
|
||||
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'R', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'F', InitBlocks.blockPhantomface));
|
||||
recipeEnergyface = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -492,7 +493,7 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.PHANTOM_REDSTONEFACE.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomRedstoneface),
|
||||
"SRS", "RFR", "SRS",
|
||||
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'R', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'S', new ItemStack(Items.REDSTONE),
|
||||
'F', InitBlocks.blockPhantomface));
|
||||
recipePhantomRedstoneface = RecipeUtil.lastIRecipe();
|
||||
|
@ -550,7 +551,7 @@ public final class BlockCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLeafGenerator),
|
||||
"IEI", "GLG", "ICI",
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'G', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'G', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'E', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||
'L', "treeLeaves",
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
|
@ -575,7 +576,7 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.FISHING_NET.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFishingNet),
|
||||
"SSS", "SDS", "SSS",
|
||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'D', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.EMERALD.ordinal()),
|
||||
'S', Items.STRING));
|
||||
recipeFisher = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -584,8 +585,8 @@ public final class BlockCrafting{
|
|||
if(ConfigCrafting.REPAIRER.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockItemRepairer),
|
||||
"DID", "OCO", "DID",
|
||||
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
||||
recipeRepairer = RecipeUtil.lastIRecipe();
|
||||
|
@ -596,7 +597,7 @@ public final class BlockCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFurnaceSolar),
|
||||
"IQI", "CDC", "IBI",
|
||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||
'B', new ItemStack(Blocks.IRON_BARS)));
|
||||
|
@ -711,7 +712,7 @@ public final class BlockCrafting{
|
|||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGiantChestLarge),
|
||||
"CWC", "WDW", "CWC",
|
||||
'C', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.COAL.ordinal()),
|
||||
'C', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.COAL.ordinal()),
|
||||
'D', new ItemStack(InitBlocks.blockGiantChestMedium),
|
||||
'W', "plankWood"));
|
||||
recipeCrateLarge = RecipeUtil.lastIRecipe();
|
||||
|
@ -722,7 +723,7 @@ public final class BlockCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGreenhouseGlass, 3),
|
||||
"GSG", "SDS", "GSG",
|
||||
'G', "blockGlass",
|
||||
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
||||
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.LAPIS.ordinal()),
|
||||
'S', "treeSapling"));
|
||||
recipeGlass = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
|
|
@ -142,7 +142,7 @@ public final class ItemCrafting{
|
|||
|
||||
//Disenchanting Lens
|
||||
if(ConfigCrafting.DISENCHANTING_LENS.isEnabled()){
|
||||
ItemStack crystal = new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal());
|
||||
ItemStack crystal = new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal());
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemDisenchantingLens),
|
||||
new ItemStack(Blocks.ENCHANTING_TABLE),
|
||||
crystal.copy(),
|
||||
|
@ -181,7 +181,7 @@ public final class ItemCrafting{
|
|||
"MSM", "SDS", "MSM",
|
||||
'M', new ItemStack(Items.MAGMA_CREAM),
|
||||
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.SPAWNER_SHARD.ordinal()),
|
||||
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
recipeSpawnerChanger = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
|
@ -245,7 +245,7 @@ public final class ItemCrafting{
|
|||
if(ConfigCrafting.TELE_STAFF.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemTeleStaff),
|
||||
" FE", " S ", "SB ",
|
||||
'F', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'F', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'E', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()),
|
||||
'S', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()),
|
||||
'B', new ItemStack(InitItems.itemBattery, 1, Util.WILDCARD)));
|
||||
|
@ -270,9 +270,9 @@ public final class ItemCrafting{
|
|||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemDrillUpgradeSpeedIII),
|
||||
"ISI", "SFS", "ISI",
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'S', Items.SUGAR,
|
||||
'F', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
'F', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
recipeDrillSpeedIII = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
|
@ -282,13 +282,13 @@ public final class ItemCrafting{
|
|||
"ISI", "SRS", "ISI",
|
||||
'I', Blocks.GLOWSTONE,
|
||||
'S', Items.REDSTONE,
|
||||
'R', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
'R', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal())));
|
||||
recipeDrillFortuneI = RecipeUtil.lastIRecipe();
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemDrillUpgradeFortuneII),
|
||||
"ISI", "SRS", "ISI",
|
||||
'I', Blocks.GLOWSTONE,
|
||||
'S', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'S', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
||||
recipeDrillFortuneII = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -304,7 +304,7 @@ public final class ItemCrafting{
|
|||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemDrillUpgradeFiveByFive),
|
||||
"DID", "ICI", "DID",
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeDrillFive = RecipeUtil.lastIRecipe();
|
||||
|
@ -314,7 +314,7 @@ public final class ItemCrafting{
|
|||
if(ConfigCrafting.DRILL_SILK_TOUCH.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemDrillUpgradeSilkTouch),
|
||||
"DSD", "SCS", "DSD",
|
||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.EMERALD.ordinal()),
|
||||
'D', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.EMERALD.ordinal()),
|
||||
'S', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeDrillSilk = RecipeUtil.lastIRecipe();
|
||||
|
@ -367,7 +367,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemGrowthRing),
|
||||
"SIS", "IOI", "SIS",
|
||||
'S', new ItemStack(Items.WHEAT_SEEDS),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.RING.ordinal())));
|
||||
recipeGrowthRing = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -377,7 +377,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemWaterRemovalRing),
|
||||
"BIB", "IOI", "BIB",
|
||||
'B', new ItemStack(Items.WATER_BUCKET),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.RING.ordinal())));
|
||||
recipeWaterRing = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -387,7 +387,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemBatteryTriple),
|
||||
" R ", "ICI", "III",
|
||||
'R', new ItemStack(InitItems.itemBatteryDouble),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeBatteryTriple = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -397,7 +397,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemBatteryQuadruple),
|
||||
" R ", "ICI", "III",
|
||||
'R', new ItemStack(InitItems.itemBatteryTriple),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeBatteryQuadruple = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -407,7 +407,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemBatteryQuintuple),
|
||||
" R ", "ICI", "III",
|
||||
'R', new ItemStack(InitItems.itemBatteryQuadruple),
|
||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeBatteryQuintuple = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -417,7 +417,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemWingsOfTheBats),
|
||||
"WNW", "WDW", "WNW",
|
||||
'W', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.BAT_WING.ordinal()),
|
||||
'N', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'N', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal())));
|
||||
recipeWings = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
@ -488,7 +488,7 @@ public final class ItemCrafting{
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemPlayerProbe),
|
||||
"A A", "AIA", "RHR",
|
||||
'A', new ItemStack(Blocks.IRON_BARS),
|
||||
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'R', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
||||
'H', new ItemStack(Items.SKULL, 1, 1),
|
||||
'I', new ItemStack(Items.IRON_HELMET)));
|
||||
recipePlayerProbe = RecipeUtil.lastIRecipe();
|
||||
|
|
|
@ -29,6 +29,9 @@ public final class MiscCrafting{
|
|||
public static final IRecipe[] RECIPES_CRYSTALS = new IRecipe[TheCrystals.values().length];
|
||||
public static final IRecipe[] RECIPES_CRYSTAL_BLOCKS = new IRecipe[TheCrystals.values().length];
|
||||
|
||||
public static final IRecipe[] RECIPES_EMPOWERED_CRYSTALS = new IRecipe[TheCrystals.values().length];
|
||||
public static final IRecipe[] RECIPES_EMPOWERED_CRYSTAL_BLOCKS = new IRecipe[TheCrystals.values().length];
|
||||
|
||||
public static void init(){
|
||||
|
||||
//Bio Coal
|
||||
|
@ -43,6 +46,13 @@ public final class MiscCrafting{
|
|||
RECIPES_CRYSTAL_BLOCKS[i] = RecipeUtil.lastIRecipe();
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemCrystal, 9, i), new ItemStack(InitBlocks.blockCrystal, 1, i)));
|
||||
RECIPES_CRYSTALS[i] = RecipeUtil.lastIRecipe();
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCrystalEmpowered, 1, i),
|
||||
"XXX", "XXX", "XXX",
|
||||
'X', new ItemStack(InitItems.itemCrystalEmpowered, 1, i)));
|
||||
RECIPES_EMPOWERED_CRYSTAL_BLOCKS[i] = RecipeUtil.lastIRecipe();
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemCrystalEmpowered, 9, i), new ItemStack(InitBlocks.blockCrystalEmpowered, 1, i)));
|
||||
RECIPES_EMPOWERED_CRYSTALS[i] = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
//Dough
|
||||
|
|
|
@ -23,8 +23,8 @@ public final class EmpowererHandler{
|
|||
ItemStack m = new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal());
|
||||
for(int i = 0; i < TheCrystals.values().length; i++){
|
||||
float[] color = TheCrystals.values()[i].conversionColorParticles;
|
||||
ActuallyAdditionsAPI.addEmpowererRecipe(new ItemStack(InitItems.itemCrystal, 1, i), new ItemStack(InitItems.itemCrystalEmpowered, 1, i), m, m, m, m, 50000, color);
|
||||
ActuallyAdditionsAPI.addEmpowererRecipe(new ItemStack(InitBlocks.blockCrystal, 1, i), new ItemStack(InitBlocks.blockCrystalEmpowered, 1, i), m, m, m, m, 500000, color);
|
||||
ActuallyAdditionsAPI.addEmpowererRecipe(new ItemStack(InitItems.itemCrystal, 1, i), new ItemStack(InitItems.itemCrystalEmpowered, 1, i), m, m, m, m, 50000, 200, color);
|
||||
ActuallyAdditionsAPI.addEmpowererRecipe(new ItemStack(InitBlocks.blockCrystal, 1, i), new ItemStack(InitBlocks.blockCrystalEmpowered, 1, i), m, m, m, m, 500000, 2000, color);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,15 +40,14 @@ public class TileEntityEmpowerer extends TileEntityInventoryBase{
|
|||
if(!this.worldObj.isRemote){
|
||||
EmpowererRecipe recipe = getRecipeForInput(this.slots[0]);
|
||||
if(recipe != null){
|
||||
int processTimeGoal = 200;
|
||||
TileEntityDisplayStand[] modifierStands = this.getFittingModifiers(recipe, processTimeGoal);
|
||||
TileEntityDisplayStand[] modifierStands = this.getFittingModifiers(recipe, recipe.time);
|
||||
if(modifierStands != null){ //Meaning the display stands around match all the criteria
|
||||
|
||||
this.processTime++;
|
||||
boolean done = this.processTime >= processTimeGoal;
|
||||
boolean done = this.processTime >= recipe.time;
|
||||
|
||||
for(TileEntityDisplayStand stand : modifierStands){
|
||||
stand.storage.extractEnergy(recipe.energyPerStand/processTimeGoal, false);
|
||||
stand.storage.extractEnergy(recipe.energyPerStand/recipe.time, false);
|
||||
|
||||
if(done){
|
||||
stand.decrStackSize(0, 1);
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"animation":
|
||||
{
|
||||
"frametime": 2
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
Loading…
Reference in a new issue