De-Dupe Frequency Transmitter
(cherry picked from commit 127df1f)
This commit is contained in:
parent
35e104d901
commit
8b80cb7562
3 changed files with 6 additions and 2 deletions
|
@ -80,6 +80,7 @@ public class IC2Dict {
|
||||||
IC2Duplicates.CARBON_MESH.setIc2Stack(ItemName.crafting.getItemStack("carbon_mesh"));
|
IC2Duplicates.CARBON_MESH.setIc2Stack(ItemName.crafting.getItemStack("carbon_mesh"));
|
||||||
IC2Duplicates.REFINED_IRON.setIc2Stack(ItemName.plate.getItemStack("iron"));
|
IC2Duplicates.REFINED_IRON.setIc2Stack(ItemName.plate.getItemStack("iron"));
|
||||||
IC2Duplicates.SCRAP.setIc2Stack(ItemName.crafting.getItemStack(CraftingItemType.scrap));
|
IC2Duplicates.SCRAP.setIc2Stack(ItemName.crafting.getItemStack(CraftingItemType.scrap));
|
||||||
|
IC2Duplicates.FREQ_TRANSMITTER.setIc2Stack(ItemName.frequency_transmitter.getItemStack());
|
||||||
//Rubber - ore dic: itemRubber, hidden from JEI
|
//Rubber - ore dic: itemRubber, hidden from JEI
|
||||||
//Rubber Sap - only used to make rubber, hidden from JEI
|
//Rubber Sap - only used to make rubber, hidden from JEI
|
||||||
//Rubber tree blocks, hidden when deduplication is on, and rubber tress are not set to gen, includes tree taps
|
//Rubber tree blocks, hidden when deduplication is on, and rubber tress are not set to gen, includes tree taps
|
||||||
|
|
|
@ -66,7 +66,8 @@ public enum IC2Duplicates {
|
||||||
CARBON_FIBER(ItemParts.getPartByName("carbon_fiber")),
|
CARBON_FIBER(ItemParts.getPartByName("carbon_fiber")),
|
||||||
CARBON_MESH(ItemParts.getPartByName("carbon_mesh")),
|
CARBON_MESH(ItemParts.getPartByName("carbon_mesh")),
|
||||||
REFINED_IRON(ItemIngots.getIngotByName("refined_iron")),
|
REFINED_IRON(ItemIngots.getIngotByName("refined_iron")),
|
||||||
SCRAP(ItemParts.getPartByName("scrap"));
|
SCRAP(ItemParts.getPartByName("scrap")),
|
||||||
|
FREQ_TRANSMITTER(new ItemStack(ModItems.FREQUENCY_TRANSMITTER));
|
||||||
|
|
||||||
ItemStack ic2Stack;
|
ItemStack ic2Stack;
|
||||||
ItemStack trStack;
|
ItemStack trStack;
|
||||||
|
|
|
@ -56,7 +56,9 @@ public class CraftingTableRecipes extends RecipeMethods {
|
||||||
|
|
||||||
registerShapeless(getStack(ModBlocks.RUBBER_PLANKS, 4), getStack(ModBlocks.RUBBER_LOG));
|
registerShapeless(getStack(ModBlocks.RUBBER_PLANKS, 4), getStack(ModBlocks.RUBBER_LOG));
|
||||||
|
|
||||||
|
if(!IC2Duplicates.deduplicate()){
|
||||||
registerShapeless(getStack(ModItems.FREQUENCY_TRANSMITTER), getStack(IC2Duplicates.CABLE_ICOPPER), "circuitBasic");
|
registerShapeless(getStack(ModItems.FREQUENCY_TRANSMITTER), getStack(IC2Duplicates.CABLE_ICOPPER), "circuitBasic");
|
||||||
|
}
|
||||||
|
|
||||||
registerShaped(DynamicCell.getEmptyCell(16), " T ", "T T", " T ", 'T', "ingotTin");
|
registerShaped(DynamicCell.getEmptyCell(16), " T ", "T T", " T ", 'T', "ingotTin");
|
||||||
registerShaped(getStack(ModBlocks.REFINED_IRON_FENCE), "RRR", "RRR", 'R', getStack(IC2Duplicates.REFINED_IRON));
|
registerShaped(getStack(ModBlocks.REFINED_IRON_FENCE), "RRR", "RRR", 'R', getStack(IC2Duplicates.REFINED_IRON));
|
||||||
|
|
Loading…
Reference in a new issue