Magnalium plate is back. Closes #1109
This commit is contained in:
parent
3011546462
commit
46f9266197
6 changed files with 13 additions and 2 deletions
|
@ -129,6 +129,9 @@ public class OreDict {
|
||||||
continue; //Aware of placeholders!
|
continue; //Aware of placeholders!
|
||||||
OreUtil.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "plate_" + type), ItemPlates.getPlateByName(type));
|
OreUtil.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "plate_" + type), ItemPlates.getPlateByName(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ItemPlates.registerType("magnalium");
|
||||||
|
OreUtil.registerOre("plateMagnalium", ItemPlates.getPlateByName("magnalium"));
|
||||||
|
|
||||||
for (String type : ItemDusts.types) {
|
for (String type : ItemDusts.types) {
|
||||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||||
|
|
|
@ -123,7 +123,8 @@ public class CraftingTableRecipes extends RecipeMethods {
|
||||||
registerShaped(getStack(ModBlocks.GAS_TURBINE), "IAI", "WGW", "IAI", 'I', "plateInvar", 'A', "circuitAdvanced", 'W', getStack(ModBlocks.WIND_MILL), 'G', getStack(ModBlocks.REINFORCED_GLASS));
|
registerShaped(getStack(ModBlocks.GAS_TURBINE), "IAI", "WGW", "IAI", 'I', "plateInvar", 'A', "circuitAdvanced", 'W', getStack(ModBlocks.WIND_MILL), 'G', getStack(ModBlocks.REINFORCED_GLASS));
|
||||||
registerShaped(getStack(ModBlocks.GAS_TURBINE), "IAI", "WGW", "IAI", 'I', "plateAluminum", 'A', "circuitAdvanced", 'W', getStack(ModBlocks.WIND_MILL), 'G', getStack(ModBlocks.REINFORCED_GLASS));
|
registerShaped(getStack(ModBlocks.GAS_TURBINE), "IAI", "WGW", "IAI", 'I', "plateAluminum", 'A', "circuitAdvanced", 'W', getStack(ModBlocks.WIND_MILL), 'G', getStack(ModBlocks.REINFORCED_GLASS));
|
||||||
registerShaped(getStack(ModBlocks.THERMAL_GENERATOR), "III", "IRI", "CGC", 'I', "plateInvar", 'R', getStack(ModBlocks.REINFORCED_GLASS), 'G', getStack(IC2Duplicates.GENERATOR), 'C', "circuitBasic");
|
registerShaped(getStack(ModBlocks.THERMAL_GENERATOR), "III", "IRI", "CGC", 'I', "plateInvar", 'R', getStack(ModBlocks.REINFORCED_GLASS), 'G', getStack(IC2Duplicates.GENERATOR), 'C', "circuitBasic");
|
||||||
registerShaped(getStack(ModBlocks.WIND_MILL), "I I", " G ", "I I", 'I', "plateIron", 'G', getStack(IC2Duplicates.GENERATOR));
|
registerShaped(getStack(ModBlocks.WIND_MILL), " I ", " G ", " I ", 'I', "plateMagnalium", 'G', getStack(IC2Duplicates.GENERATOR));
|
||||||
|
registerShaped(getStack(ModBlocks.WIND_MILL), "IGI", 'I', "plateMagnalium", 'G', getStack(IC2Duplicates.GENERATOR));
|
||||||
registerShaped(getStack(ModBlocks.WATER_MILL), "SWS", "WGW", "SWS", 'S', "stickWood", 'W', "plankWood", 'G', getStack(IC2Duplicates.GENERATOR));
|
registerShaped(getStack(ModBlocks.WATER_MILL), "SWS", "WGW", "SWS", 'S', "stickWood", 'W', "plankWood", 'G', getStack(IC2Duplicates.GENERATOR));
|
||||||
registerShaped(getStack(ModBlocks.LIGHTNING_ROD), "CAC", "ACA", "CAC", 'A', getStack(ModBlocks.MACHINE_CASINGS, 1, 2), 'C', "circuitMaster");
|
registerShaped(getStack(ModBlocks.LIGHTNING_ROD), "CAC", "ACA", "CAC", 'A', getStack(ModBlocks.MACHINE_CASINGS, 1, 2), 'C', "circuitMaster");
|
||||||
registerShaped(getStack(ModBlocks.IRON_ALLOY_FURNACE), "III", "F F", "III", 'I', refined_iron, 'F', getStack(IC2Duplicates.IRON_FURNACE));
|
registerShaped(getStack(ModBlocks.IRON_ALLOY_FURNACE), "III", "F F", "III", 'I', refined_iron, 'F', getStack(IC2Duplicates.IRON_FURNACE));
|
||||||
|
|
|
@ -44,6 +44,7 @@ public class RollingMachineRecipes extends RecipeMethods {
|
||||||
if (oresExist("ingotAluminium")) {
|
if (oresExist("ingotAluminium")) {
|
||||||
register(new ResourceLocation(ModInfo.MOD_ID, "kanthal_heating_coil2"), getMaterial("kanthal_heating_coil", 3, Type.PART), "RRR", "CAA", "CCA", 'R', "ingotRefinedIron", 'C', "ingotChrome", 'A', "ingotAluminium");
|
register(new ResourceLocation(ModInfo.MOD_ID, "kanthal_heating_coil2"), getMaterial("kanthal_heating_coil", 3, Type.PART), "RRR", "CAA", "CCA", 'R', "ingotRefinedIron", 'C', "ingotChrome", 'A', "ingotAluminium");
|
||||||
}
|
}
|
||||||
|
register(new ResourceLocation(ModInfo.MOD_ID, "plateMagnalium"), getMaterial("magnalium", 3, Type.PLATE), "AAA", "MMM", "AAA", 'A', "ingotAluminum", 'M', "dustMagnesium");
|
||||||
register(new ResourceLocation(ModInfo.MOD_ID, "rail"), getStack(Blocks.RAIL, 24), "I I", "ISI", "I I", 'I', "ingotIron", 'S', "stickWood");
|
register(new ResourceLocation(ModInfo.MOD_ID, "rail"), getStack(Blocks.RAIL, 24), "I I", "ISI", "I I", 'I', "ingotIron", 'S', "stickWood");
|
||||||
register(new ResourceLocation(ModInfo.MOD_ID, "gold_rail"), getStack(Blocks.GOLDEN_RAIL, 8), "I I", "ISI", "IRI", 'I', "ingotGold", 'S', "stickWood", 'R', "dustRedstone");
|
register(new ResourceLocation(ModInfo.MOD_ID, "gold_rail"), getStack(Blocks.GOLDEN_RAIL, 8), "I I", "ISI", "IRI", 'I', "ingotGold", 'S', "stickWood", 'R', "dustRedstone");
|
||||||
register(new ResourceLocation(ModInfo.MOD_ID, "detector_rail"), getStack(Blocks.DETECTOR_RAIL, 8), "I I", "IPI", "IRI", 'I', "ingotIron", 'P', getStack(Blocks.STONE_PRESSURE_PLATE), 'R', "dustRedstone");
|
register(new ResourceLocation(ModInfo.MOD_ID, "detector_rail"), getStack(Blocks.DETECTOR_RAIL, 8), "I I", "IPI", "IRI", 'I', "ingotIron", 'P', getStack(Blocks.STONE_PRESSURE_PLATE), 'R', "dustRedstone");
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class ItemPlates extends ItemTR {
|
||||||
for (int i = 0; i < types.length; i++) {
|
for (int i = 0; i < types.length; i++) {
|
||||||
if (types[i].equalsIgnoreCase(name)) {
|
if (types[i].equalsIgnoreCase(name)) {
|
||||||
if (types[i].equals(ModItems.META_PLACEHOLDER)) {
|
if (types[i].equals(ModItems.META_PLACEHOLDER)) {
|
||||||
throw new InvalidParameterException("The dust " + name + " could not be found.");
|
throw new InvalidParameterException("The plate " + name + " could not be found.");
|
||||||
}
|
}
|
||||||
return new ItemStack(ModItems.PLATES, count, i);
|
return new ItemStack(ModItems.PLATES, count, i);
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,6 +200,11 @@
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "techreborn:items/plate/yellow_garnet_plate"
|
"layer0": "techreborn:items/plate/yellow_garnet_plate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"magnalium": {
|
||||||
|
"textures": {
|
||||||
|
"layer0": "techreborn:items/plate/magnalium_plate"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -479,6 +479,7 @@ item.techreborn.plate.refined_iron.name=Refined Iron Plate
|
||||||
item.techreborn.plate.wood.name=Wooden Plate
|
item.techreborn.plate.wood.name=Wooden Plate
|
||||||
item.techreborn.plate.advanced_alloy.name=Advanced Alloy Plate
|
item.techreborn.plate.advanced_alloy.name=Advanced Alloy Plate
|
||||||
item.techreborn.plate.lazurite.name=Lazurite Plate
|
item.techreborn.plate.lazurite.name=Lazurite Plate
|
||||||
|
item.techreborn.plate.magnalium.name=Magnalium Plate
|
||||||
|
|
||||||
#Parts
|
#Parts
|
||||||
item.techreborn.part.energy_flow_circuit.name=Energy Flow Circuit
|
item.techreborn.part.energy_flow_circuit.name=Energy Flow Circuit
|
||||||
|
|
Loading…
Reference in a new issue