Move all mod compatibility out into its own mod, ic2 support is gone and will come back in some more basic form once ic2 is on 1.13

The new mod compatibility will be included (either shaded or jar-in-jar) in the main TR distrubtion, this has been done to aid development
This commit is contained in:
modmuss50 2018-07-19 10:48:30 +01:00
parent 4ea0dc1e9a
commit b65e963f12
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
119 changed files with 975 additions and 1146 deletions

View file

@ -35,7 +35,6 @@ import techreborn.blocks.BlockMachineCasing;
import techreborn.blocks.BlockMachineFrames;
import techreborn.blocks.BlockOre;
import techreborn.blocks.cable.BlockCable;
import techreborn.init.IC2Duplicates;
import techreborn.items.*;
/**
@ -170,16 +169,6 @@ public abstract class RecipeMethods {
return getStack(Item.getItemFromBlock(block), count, metadata);
}
public static ItemStack getStack(IC2Duplicates ic2Duplicates) {
return getStack(ic2Duplicates, 1);
}
public static ItemStack getStack(IC2Duplicates ic2Duplicates, int count) {
ItemStack stack = ic2Duplicates.getStackBasedOnConfig();
stack.setCount(count);
return stack;
}
public static Ingredient getCell(String name, int count){
return new IngredientCell(ItemCells.getCellByName(name, count));
}