mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-23 07:38:34 +01:00
Fix some stuff, whooops
This commit is contained in:
parent
910a1e7fbe
commit
9d595e2192
4 changed files with 31 additions and 19 deletions
|
@ -174,7 +174,7 @@ public class BlockCrafting{
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockXPSolidifier),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockXPSolidifier),
|
||||||
"XXX", "DCD", "XXX",
|
"XXX", "DCD", "XXX",
|
||||||
'X', new ItemStack(InitItems.itemSpecialDrop, 1, TheSpecialDrops.SOLIDIFIED_EXPERIENCE.ordinal()),
|
'X', new ItemStack(InitItems.itemSpecialDrop, 1, TheSpecialDrops.SOLIDIFIED_EXPERIENCE.ordinal()),
|
||||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||||
recipeSolidifier = Util.GetRecipes.lastIRecipe();
|
recipeSolidifier = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,7 @@ public class BlockCrafting{
|
||||||
"SCS", "ISI", "LLL",
|
"SCS", "ISI", "LLL",
|
||||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
'I', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||||
'L', Items.lava_bucket));
|
'L', Items.lava_bucket));
|
||||||
recipeLavaFactory = Util.GetRecipes.lastIRecipe();
|
recipeLavaFactory = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -274,7 +274,7 @@ public class BlockCrafting{
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 32, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 32, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
||||||
"ICI",
|
"ICI",
|
||||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
'I', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.IRON.ordinal())));
|
||||||
recipeCasing = Util.GetRecipes.lastIRecipe();
|
recipeCasing = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -432,7 +432,7 @@ public class BlockCrafting{
|
||||||
if(ConfigCrafting.REPAIRER.isEnabled()){
|
if(ConfigCrafting.REPAIRER.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockItemRepairer),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockItemRepairer),
|
||||||
"DID", "OCO", "DID",
|
"DID", "OCO", "DID",
|
||||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||||
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
||||||
|
@ -443,7 +443,7 @@ public class BlockCrafting{
|
||||||
if(ConfigCrafting.SOLAR_PANEL.isEnabled()){
|
if(ConfigCrafting.SOLAR_PANEL.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFurnaceSolar),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFurnaceSolar),
|
||||||
"IQI", "CDC", "IBI",
|
"IQI", "CDC", "IBI",
|
||||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
||||||
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||||
|
@ -556,7 +556,7 @@ public class BlockCrafting{
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGreenhouseGlass, 3),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGreenhouseGlass, 3),
|
||||||
"GSG", "SDS", "GSG",
|
"GSG", "SDS", "GSG",
|
||||||
'G', "blockGlass",
|
'G', "blockGlass",
|
||||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
'D', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
||||||
'S', "treeSapling"));
|
'S', "treeSapling"));
|
||||||
recipeGlass = Util.GetRecipes.lastIRecipe();
|
recipeGlass = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -567,7 +567,7 @@ public class BlockCrafting{
|
||||||
"CCC", "CRP", "CCC",
|
"CCC", "CRP", "CCC",
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||||
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal())));
|
'P', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.LAPIS.ordinal())));
|
||||||
recipePlacer = Util.GetRecipes.lastIRecipe();
|
recipePlacer = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -577,7 +577,7 @@ public class BlockCrafting{
|
||||||
"CCC", "CRP", "CCC",
|
"CCC", "CRP", "CCC",
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||||
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal())));
|
'P', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.COAL.ordinal())));
|
||||||
recipeBreaker = Util.GetRecipes.lastIRecipe();
|
recipeBreaker = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -585,7 +585,7 @@ public class BlockCrafting{
|
||||||
if(ConfigCrafting.DROPPER.isEnabled()){
|
if(ConfigCrafting.DROPPER.isEnabled()){
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDropper),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDropper),
|
||||||
"CBC", "CDR", "CBC",
|
"CBC", "CDR", "CBC",
|
||||||
'B', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'B', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'D', Blocks.dropper,
|
'D', Blocks.dropper,
|
||||||
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||||
|
@ -596,7 +596,7 @@ public class BlockCrafting{
|
||||||
for(int i = 0; i < BlockColoredLamp.allLampTypes.length; i++){
|
for(int i = 0; i < BlockColoredLamp.allLampTypes.length; i++){
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockColoredLamp, 6, i),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockColoredLamp, 6, i),
|
||||||
"GCG", "DQD", "GCG",
|
"GCG", "DQD", "GCG",
|
||||||
'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
||||||
'G', "glowstone",
|
'G', "glowstone",
|
||||||
'D', "dye"+BlockColoredLamp.allLampTypes[i].name,
|
'D', "dye"+BlockColoredLamp.allLampTypes[i].name,
|
||||||
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
||||||
|
|
|
@ -13,6 +13,7 @@ package ellpeck.actuallyadditions.crafting;
|
||||||
import ellpeck.actuallyadditions.config.values.ConfigCrafting;
|
import ellpeck.actuallyadditions.config.values.ConfigCrafting;
|
||||||
import ellpeck.actuallyadditions.items.InitItems;
|
import ellpeck.actuallyadditions.items.InitItems;
|
||||||
import ellpeck.actuallyadditions.items.metalists.TheFoods;
|
import ellpeck.actuallyadditions.items.metalists.TheFoods;
|
||||||
|
import ellpeck.actuallyadditions.items.metalists.TheMiscItems;
|
||||||
import ellpeck.actuallyadditions.recipe.CrusherRecipeRegistry;
|
import ellpeck.actuallyadditions.recipe.CrusherRecipeRegistry;
|
||||||
import ellpeck.actuallyadditions.util.ModUtil;
|
import ellpeck.actuallyadditions.util.ModUtil;
|
||||||
import ellpeck.actuallyadditions.util.Util;
|
import ellpeck.actuallyadditions.util.Util;
|
||||||
|
@ -79,6 +80,9 @@ public class CrusherCrafting{
|
||||||
CrusherRecipeRegistry.addRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.RICE.ordinal()), new ItemStack(Items.sugar, 1, 2));
|
CrusherRecipeRegistry.addRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.RICE.ordinal()), new ItemStack(Items.sugar, 1, 2));
|
||||||
miscRecipes.add(Util.GetRecipes.lastCrusherRecipe());
|
miscRecipes.add(Util.GetRecipes.lastCrusherRecipe());
|
||||||
|
|
||||||
|
CrusherRecipeRegistry.addRecipe(new ItemStack(Blocks.tallgrass, 1, Util.WILDCARD), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.GREEN_DYE.ordinal()));
|
||||||
|
miscRecipes.add(Util.GetRecipes.lastCrusherRecipe());
|
||||||
|
|
||||||
CrusherRecipeRegistry.addRecipe("oreNickel", "dustNickel", 2, "dustPlatinum", 1, 15);
|
CrusherRecipeRegistry.addRecipe("oreNickel", "dustNickel", 2, "dustPlatinum", 1, 15);
|
||||||
CrusherRecipeRegistry.addRecipe("oreIron", "dustIron", 2, "dustGold", 1, 20);
|
CrusherRecipeRegistry.addRecipe("oreIron", "dustIron", 2, "dustGold", 1, 20);
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ public class ItemCrafting{
|
||||||
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||||
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.DRILL_CORE.ordinal()),
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.DRILL_CORE.ordinal()),
|
||||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
'I', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.IRON.ordinal())));
|
||||||
recipeDrill = Util.GetRecipes.lastIRecipe();
|
recipeDrill = Util.GetRecipes.lastIRecipe();
|
||||||
|
|
||||||
for(int i = 0; i < 16; i++){
|
for(int i = 0; i < 16; i++){
|
||||||
|
@ -169,7 +169,7 @@ public class ItemCrafting{
|
||||||
"ICI", "CRC", "ICI",
|
"ICI", "CRC", "ICI",
|
||||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||||
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||||
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
'I', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.IRON.ordinal())));
|
||||||
recipeDrillCore = Util.GetRecipes.lastIRecipe();
|
recipeDrillCore = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ public class ItemCrafting{
|
||||||
"ISI", "SRS", "ISI",
|
"ISI", "SRS", "ISI",
|
||||||
'I', Blocks.glowstone,
|
'I', Blocks.glowstone,
|
||||||
'S', Items.redstone,
|
'S', Items.redstone,
|
||||||
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal())));
|
'R', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal())));
|
||||||
recipeDrillFortuneI = Util.GetRecipes.lastIRecipe();
|
recipeDrillFortuneI = Util.GetRecipes.lastIRecipe();
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemDrillUpgradeFortuneII),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemDrillUpgradeFortuneII),
|
||||||
|
@ -349,7 +349,7 @@ public class ItemCrafting{
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemWingsOfTheBats),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemWingsOfTheBats),
|
||||||
"WNW", "WDW", "WNW",
|
"WNW", "WDW", "WNW",
|
||||||
'W', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.BAT_WING.ordinal()),
|
'W', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.BAT_WING.ordinal()),
|
||||||
'N', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
'N', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||||
'D', new ItemStack(Items.nether_star)));
|
'D', new ItemStack(Items.nether_star)));
|
||||||
recipeWings = Util.GetRecipes.lastIRecipe();
|
recipeWings = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@ import org.lwjgl.opengl.GL11;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public class NEIReconstructorRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
public class NEIReconstructorRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
||||||
|
|
||||||
|
@ -140,12 +141,19 @@ public class NEIReconstructorRecipe extends TemplateRecipeHandler implements INE
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PositionedStack getResult(){
|
public PositionedStack getResult(){
|
||||||
return result;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PositionedStack getIngredient(){
|
public List<PositionedStack> getIngredients(){
|
||||||
return input;
|
return this.getCycledIngredients(cycleticks/48, Collections.singletonList(this.input));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public java.util.List<PositionedStack> getOtherStacks(){
|
||||||
|
ArrayList<PositionedStack> list = new ArrayList<PositionedStack>();
|
||||||
|
list.addAll(this.getCycledIngredients(cycleticks/48, Collections.singletonList(this.result)));
|
||||||
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue