mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Closes #1274
This commit is contained in:
parent
f12e83a4d0
commit
5a013dba79
4 changed files with 14 additions and 15 deletions
|
@ -197,7 +197,7 @@ public final class BlockCrafting {
|
||||||
recipeLaserRelayExtreme = RecipeUtil.lastIRecipe();
|
recipeLaserRelayExtreme = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Whitelist Item Laser Relay
|
//Whitelist Item Laser Relay
|
||||||
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(InitBlocks.blockLaserRelayItemWhitelist), 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()));
|
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(InitBlocks.blockLaserRelayItemWhitelist), new ItemStack(InitBlocks.blockLaserRelayItem), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()), "gemQuartzBlack", new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()));
|
||||||
recipeLaserRelayItemWhitelist = RecipeUtil.lastIRecipe();
|
recipeLaserRelayItemWhitelist = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Item Interface
|
//Item Interface
|
||||||
|
@ -238,7 +238,7 @@ public final class BlockCrafting {
|
||||||
recipeCase = RecipeUtil.lastIRecipe();
|
recipeCase = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Iron Casing
|
//Iron Casing
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()), "WSW", "SQS", "WSW", 'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()), 'W', "ingotIron", 'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()) : "stickWood");
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()), "WSW", "SQS", "WSW", 'Q', "gemQuartzBlack", 'W', "ingotIron", 'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()) : "stickWood");
|
||||||
recipeIronCase = RecipeUtil.lastIRecipe();
|
recipeIronCase = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Ender Casing
|
//Ender Casing
|
||||||
|
@ -335,7 +335,7 @@ public final class BlockCrafting {
|
||||||
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(Items.ENDER_PEARL, 4), new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()));
|
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(Items.ENDER_PEARL, 4), new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()));
|
||||||
|
|
||||||
//Quartz Block
|
//Quartz Block
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()), "QQ", "QQ", 'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()), "QQ", "QQ", 'Q', "gemQuartzBlack");
|
||||||
recipeQuartzBlock = RecipeUtil.lastIRecipe();
|
recipeQuartzBlock = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Fishing Net
|
//Fishing Net
|
||||||
|
@ -355,7 +355,7 @@ public final class BlockCrafting {
|
||||||
recipeHeatCollector = RecipeUtil.lastIRecipe();
|
recipeHeatCollector = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Quartz Pillar
|
//Quartz Pillar
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_PILLAR.ordinal()), "Q", "Q", 'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_PILLAR.ordinal()), "Q", "Q", 'Q', "gemQuartzBlack");
|
||||||
recipeQuartzPillar = RecipeUtil.lastIRecipe();
|
recipeQuartzPillar = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Chiseled Quartz
|
//Chiseled Quartz
|
||||||
|
@ -366,7 +366,7 @@ public final class BlockCrafting {
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockInputter), "WWW", "CHC", "WWW", 'W', "plankWood", 'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()), 'H', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockInputter), "WWW", "CHC", "WWW", 'W', "plankWood", 'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()), 'H', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()));
|
||||||
recipeESD = RecipeUtil.lastIRecipe();
|
recipeESD = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(InitBlocks.blockInputterAdvanced), InitBlocks.blockInputter, 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()));
|
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(InitBlocks.blockInputterAdvanced), InitBlocks.blockInputter, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()), "gemQuartzBlack", new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()));
|
||||||
recipeAdvancedESD = RecipeUtil.lastIRecipe();
|
recipeAdvancedESD = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Crusher
|
//Crusher
|
||||||
|
@ -412,7 +412,7 @@ public final class BlockCrafting {
|
||||||
recipeDropper = RecipeUtil.lastIRecipe();
|
recipeDropper = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
for (int i = 0; i < BlockColoredLamp.ALL_LAMP_TYPES.length; i++) {
|
for (int i = 0; i < BlockColoredLamp.ALL_LAMP_TYPES.length; i++) {
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockColoredLamp, 6, i), "GCG", "DQD", "GCG", 'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()), 'G', "glowstone", 'D', "dye" + BlockColoredLamp.ALL_LAMP_TYPES[i].oreName, 'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitBlocks.blockColoredLamp, 6, i), "GCG", "DQD", "GCG", 'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()), 'G', "glowstone", 'D', "dye" + BlockColoredLamp.ALL_LAMP_TYPES[i].oreName, 'Q', "gemQuartzBlack");
|
||||||
RECIPES_LAMPS[i] = RecipeUtil.lastIRecipe();
|
RECIPES_LAMPS[i] = RecipeUtil.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,7 @@ public final class ItemCrafting {
|
||||||
recipeVoidBag = RecipeUtil.lastIRecipe();
|
recipeVoidBag = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Lens
|
//Lens
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), "GGG", "GBG", "GGG", 'G', "blockGlass", 'B', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), "GGG", "GBG", "GGG", 'G', "blockGlass", 'B', "gemQuartzBlack");
|
||||||
recipeLens = RecipeUtil.lastIRecipe();
|
recipeLens = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Black Dye
|
//Black Dye
|
||||||
|
@ -164,7 +164,7 @@ public final class ItemCrafting {
|
||||||
recipeDisenchantingLens = RecipeUtil.lastIRecipe();
|
recipeDisenchantingLens = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Mining Lens
|
//Mining Lens
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemMiningLens), "DGI", "CLB", "QPE", 'D', "gemDiamond", 'G', "ingotGold", 'I', "ingotIron", 'C', "coal", 'L', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 'B', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()), 'Q', "gemQuartz", 'P', "gemLapis", 'E', "gemEmerald");
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemMiningLens), "DGI", "CLB", "QPE", 'D', "gemDiamond", 'G', "ingotGold", 'I', "ingotIron", 'C', "coal", 'L', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 'B', "gemQuartzBlack", 'Q', "gemQuartz", 'P', "gemLapis", 'E', "gemEmerald");
|
||||||
recipeMiningLens = RecipeUtil.lastIRecipe();
|
recipeMiningLens = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Killer Lens
|
//Killer Lens
|
||||||
|
@ -175,11 +175,11 @@ public final class ItemCrafting {
|
||||||
recipeLensMoreDeath = RecipeUtil.lastIRecipe();
|
recipeLensMoreDeath = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Filter
|
//Filter
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemFilter), "III", "IQI", "III", 'I', new ItemStack(Blocks.IRON_BARS), 'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemFilter), "III", "IQI", "III", 'I', new ItemStack(Blocks.IRON_BARS), 'Q', "gemQuartzBlack");
|
||||||
recipeFilter = RecipeUtil.lastIRecipe();
|
recipeFilter = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Crate Keeper
|
//Crate Keeper
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemCrateKeeper), "WIW", "IQI", "WIW", 'I', "ingotIron", 'W', "plankWood", 'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemCrateKeeper), "WIW", "IQI", "WIW", 'I', "ingotIron", 'W', "plankWood", 'Q', "gemQuartzBlack");
|
||||||
recipeCrateKeeper = RecipeUtil.lastIRecipe();
|
recipeCrateKeeper = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Spawner Changer
|
//Spawner Changer
|
||||||
|
@ -288,7 +288,7 @@ public final class ItemCrafting {
|
||||||
recipeWings = RecipeUtil.lastIRecipe();
|
recipeWings = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Coil
|
//Coil
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()), " R ", "RIR", " R ", 'I', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()) : new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()), 'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()));
|
RecipeHandler.addOreDictRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()), " R ", "RIR", " R ", 'I', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()) : "gemQuartzBlack", 'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()));
|
||||||
recipeCoil = RecipeUtil.lastIRecipe();
|
recipeCoil = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Cup
|
//Cup
|
||||||
|
|
|
@ -76,7 +76,7 @@ public final class MiscCrafting {
|
||||||
ItemCrafting.recipeKnifeBlade = RecipeUtil.lastIRecipe();
|
ItemCrafting.recipeKnifeBlade = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Ender Star
|
//Ender Star
|
||||||
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()), new ItemStack(Items.NETHER_STAR), new ItemStack(Items.DRAGON_BREATH), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()), new ItemStack(Items.PRISMARINE_SHARD));
|
RecipeHandler.addShapelessOreDictRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()), new ItemStack(Items.NETHER_STAR), new ItemStack(Items.DRAGON_BREATH), "gemQuartzBlack", new ItemStack(Items.PRISMARINE_SHARD));
|
||||||
ItemCrafting.recipeEnderStar = RecipeUtil.lastIRecipe();
|
ItemCrafting.recipeEnderStar = RecipeUtil.lastIRecipe();
|
||||||
|
|
||||||
//Spawner Shard -> ingot
|
//Spawner Shard -> ingot
|
||||||
|
|
|
@ -14,7 +14,6 @@ import java.util.ArrayList;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
||||||
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals;
|
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals;
|
||||||
import de.ellpeck.actuallyadditions.mod.items.metalists.TheMiscItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.RecipeUtil;
|
import de.ellpeck.actuallyadditions.mod.util.RecipeUtil;
|
||||||
import de.ellpeck.actuallyadditions.mod.util.crafting.RecipeHandler;
|
import de.ellpeck.actuallyadditions.mod.util.crafting.RecipeHandler;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
|
@ -30,7 +29,7 @@ public final class ToolCrafting {
|
||||||
public static void init() {
|
public static void init() {
|
||||||
|
|
||||||
addToolAndArmorRecipes(new ItemStack(Items.EMERALD), InitItems.itemPickaxeEmerald, InitItems.itemSwordEmerald, InitItems.itemAxeEmerald, InitItems.itemShovelEmerald, InitItems.itemHoeEmerald, InitItems.itemHelmEmerald, InitItems.itemChestEmerald, InitItems.itemPantsEmerald, InitItems.itemBootsEmerald);
|
addToolAndArmorRecipes(new ItemStack(Items.EMERALD), InitItems.itemPickaxeEmerald, InitItems.itemSwordEmerald, InitItems.itemAxeEmerald, InitItems.itemShovelEmerald, InitItems.itemHoeEmerald, InitItems.itemHelmEmerald, InitItems.itemChestEmerald, InitItems.itemPantsEmerald, InitItems.itemBootsEmerald);
|
||||||
addToolAndArmorRecipes(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()), InitItems.itemPickaxeQuartz, InitItems.itemSwordQuartz, InitItems.itemAxeQuartz, InitItems.itemShovelQuartz, InitItems.itemHoeQuartz, InitItems.itemHelmQuartz, InitItems.itemChestQuartz, InitItems.itemPantsQuartz, InitItems.itemBootsQuartz);
|
addToolAndArmorRecipes("gemQuartzBlack", InitItems.itemPickaxeQuartz, InitItems.itemSwordQuartz, InitItems.itemAxeQuartz, InitItems.itemShovelQuartz, InitItems.itemHoeQuartz, InitItems.itemHelmQuartz, InitItems.itemChestQuartz, InitItems.itemPantsQuartz, InitItems.itemBootsQuartz);
|
||||||
addToolAndArmorRecipes(new ItemStack(Blocks.OBSIDIAN), InitItems.itemPickaxeObsidian, InitItems.itemSwordObsidian, InitItems.itemAxeObsidian, InitItems.itemShovelObsidian, InitItems.itemHoeObsidian, InitItems.itemHelmObsidian, InitItems.itemChestObsidian, InitItems.itemPantsObsidian, InitItems.itemBootsObsidian);
|
addToolAndArmorRecipes(new ItemStack(Blocks.OBSIDIAN), InitItems.itemPickaxeObsidian, InitItems.itemSwordObsidian, InitItems.itemAxeObsidian, InitItems.itemShovelObsidian, InitItems.itemHoeObsidian, InitItems.itemHelmObsidian, InitItems.itemChestObsidian, InitItems.itemPantsObsidian, InitItems.itemBootsObsidian);
|
||||||
|
|
||||||
addToolAndArmorRecipes(new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()), InitItems.itemPickaxeCrystalRed, InitItems.itemSwordCrystalRed, InitItems.itemAxeCrystalRed, InitItems.itemShovelCrystalRed, InitItems.itemHoeCrystalRed, InitItems.itemHelmCrystalRed, InitItems.itemChestCrystalRed, InitItems.itemPantsCrystalRed, InitItems.itemBootsCrystalRed);
|
addToolAndArmorRecipes(new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()), InitItems.itemPickaxeCrystalRed, InitItems.itemSwordCrystalRed, InitItems.itemAxeCrystalRed, InitItems.itemShovelCrystalRed, InitItems.itemHoeCrystalRed, InitItems.itemHelmCrystalRed, InitItems.itemChestCrystalRed, InitItems.itemPantsCrystalRed, InitItems.itemBootsCrystalRed);
|
||||||
|
@ -72,7 +71,7 @@ public final class ToolCrafting {
|
||||||
RECIPES_PAXELS.add(RecipeUtil.lastIRecipe());
|
RECIPES_PAXELS.add(RecipeUtil.lastIRecipe());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addToolAndArmorRecipes(ItemStack base, Item pickaxe, Item sword, Item axe, Item shovel, Item hoe, Item helm, Item chest, Item pants, Item boots) {
|
public static void addToolAndArmorRecipes(Object base, Item pickaxe, Item sword, Item axe, Item shovel, Item hoe, Item helm, Item chest, Item pants, Item boots) {
|
||||||
//Pickaxe
|
//Pickaxe
|
||||||
RecipeHandler.addOreDictRecipe(new ItemStack(pickaxe), "EEE", " S ", " S ", 'E', base, 'S', new ItemStack(Items.STICK));
|
RecipeHandler.addOreDictRecipe(new ItemStack(pickaxe), "EEE", " S ", " S ", 'E', base, 'S', new ItemStack(Items.STICK));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue