Added machine blocks

This commit is contained in:
gigabit101 2016-02-20 03:47:35 +00:00
parent f947ef37a4
commit ee2841b5b1
3 changed files with 6 additions and 1 deletions

View file

@ -31,7 +31,7 @@ public class BlockMachineFrame extends BaseBlock implements ITexturedBlock {
}
public static final String[] types = new String[]
{"aluminum", "iron", "bronze", "brass", "steel", "titanium"};
{"aluminum", "iron", "bronze", "brass", "steel", "titanium", "machine", "advancedMachine"};
public BlockMachineFrame(Material material) {

View file

@ -4,6 +4,7 @@ import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import techreborn.api.recipe.IRecipeCompact;
import techreborn.blocks.BlockMachineFrame;
import techreborn.items.ItemCells;
import techreborn.items.ItemIngots;
import techreborn.items.ItemParts;
@ -41,6 +42,8 @@ public class RecipeCompact implements IRecipeCompact {
recipes.put("resin", ItemParts.getPartByName("rubberSap"));
recipes.put("carbonPlate", ItemPlates.getPlateByName("carbon"));
recipes.put("reBattery", new ItemStack(ModItems.reBattery));
recipes.put("machine", BlockMachineFrame.getFrameByName("machine", 1));
recipes.put("advancedMachine", BlockMachineFrame.getFrameByName("advancedMachine", 1));
}
@Override

View file

@ -56,6 +56,8 @@ tile.techreborn.playerDetector.you.name=Player Detector (You)
tile.techreborn.extractor.name=Extractor
tile.techreborn.compressor.name=Compressor
tile.techreborn.electricfurnace.name=Electric Furnace
tile.techreborn.machineFrame.advancedMachine.name=Advanced Machine Hull
tile.techreborn.machineFrame.machine.name=Machine Block
#Ores
tile.techreborn.ore.Galena.name=Galena Ore