Started nanosaber, needs work but wanted to get the item in.

This commit is contained in:
TheDoctorSoda 2016-03-06 23:01:02 -08:00
parent 6822bf4101
commit 38af4881b4
6 changed files with 140 additions and 5 deletions

View file

@ -83,9 +83,10 @@ public class ModItems {
public static Item ironJackhammer;
public static Item steelJackhammer;
public static Item diamondJackhammer;
public static Item nanosaber;
public static Item hammer;
public static Item wrench;
public static Item lapatronCrystal;
public static Item lapotronCrystal;
public static Item energyCrystal;
public static Item scrapBox;
@ -134,8 +135,8 @@ public class ModItems {
GameRegistry.registerItem(omniTool, "omniTool");
energyCrystal = PoweredItem.createItem(ItemEnergyCrystal.class);
GameRegistry.registerItem(energyCrystal, "energycrystal");
lapatronCrystal = PoweredItem.createItem(ItemLapotronCrystal.class);
GameRegistry.registerItem(lapatronCrystal, "lapatroncrystal");
lapotronCrystal = PoweredItem.createItem(ItemLapotronCrystal.class);
GameRegistry.registerItem(lapotronCrystal, "lapotroncrystal");
manual = new ItemTechManual();
@ -173,6 +174,9 @@ public class ModItems {
wrench = new ItemWrench();
GameRegistry.registerItem(wrench, "wrench");
nanosaber = new ItemNanosaber();
GameRegistry.registerItem(nanosaber, "nanosaber");
scrapBox = new ItemScrapBox();
GameRegistry.registerItem(scrapBox, "scrapbox");

View file

@ -361,7 +361,7 @@ public class ModRecipes {
'R', Items.redstone,
'D', Items.diamond);
CraftingHelper.addShapedOreRecipe(new ItemStack(ModItems.lapatronCrystal),
CraftingHelper.addShapedOreRecipe(new ItemStack(ModItems.lapotronCrystal),
"LCL", "LEL", "LCL",
'L', "dyeBlue",
'E', new ItemStack(ModItems.energyCrystal),

View file

@ -62,7 +62,7 @@ public class RecipeCompact implements IRecipeCompact {
recipes.put("hvTransformer", ItemParts.getPartByName("hvTransformer"));
recipes.put("windMill", new ItemStack(ModBlocks.windMill));
recipes.put("energyCrystal", new ItemStack(ModItems.energyCrystal));
recipes.put("lapotronCrystal", new ItemStack(ModItems.lapatronCrystal));
recipes.put("lapotronCrystal", new ItemStack(ModItems.lapotronCrystal));
inited = false;
}