mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
cant win with friends and family
This commit is contained in:
parent
8c7b359815
commit
301a932257
@ -135,15 +135,13 @@ public class ElectrolyserMetalRecipes extends SerializableRecipe {
|
||||
ArrayList<Pair<Object, Integer>> productsF = new ArrayList<>();
|
||||
productsF.add(new Pair<>(type.primary1,12));
|
||||
productsF.add(new Pair<>(type.primary2,6));
|
||||
productsF.add(new Pair<>(type.byproductAcid1,3));
|
||||
productsF.add(new Pair<>(type.byproductAcid2,3));
|
||||
productsF.add(new Pair<>(ItemBedrockOreNew.make(BedrockOreGrade.CRUMBS, type), 3));
|
||||
recipes.put(new ComparableStack(ItemBedrockOreNew.make(BedrockOreGrade.PRIMARY_FIRST, type)), makeBedrockOreProduct(productsF));
|
||||
|
||||
ArrayList<Pair<Object, Integer>> productsS = new ArrayList<>();
|
||||
productsS.add(new Pair<>(type.primary1,6));
|
||||
productsS.add(new Pair<>(type.primary2,12));
|
||||
productsS.add(new Pair<>(type.byproductAcid2,3));
|
||||
productsS.add(new Pair<>(type.byproductAcid3,3));
|
||||
productsS.add(new Pair<>(ItemBedrockOreNew.make(BedrockOreGrade.CRUMBS, type),3));
|
||||
|
||||
recipes.put(new ComparableStack(ItemBedrockOreNew.make(BedrockOreGrade.PRIMARY_SECOND, type)), makeBedrockOreProduct(productsS));
|
||||
|
||||
|
||||
@ -169,8 +169,11 @@ public class ItemBedrockOreNew extends Item {
|
||||
List<ItemStack> billets = OreDictionary.getOres(frame.billet(), false); if(!billets.isEmpty()) return fromList(billets, amount);
|
||||
List<ItemStack> ingots = OreDictionary.getOres(frame.ingot(), false); if(!ingots.isEmpty()) return fromList(ingots, amount);
|
||||
}
|
||||
//Solely for recipe handling, to make the code more compact
|
||||
if(o instanceof ItemStack){
|
||||
return (ItemStack) o;
|
||||
ItemStack stack = (ItemStack) o;
|
||||
stack.stackSize = amount;
|
||||
return stack;
|
||||
}
|
||||
return new ItemStack(ModItems.nothing);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user