Advertisement
Guest User

Untitled

a guest
Dec 28th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.35 KB | None | 0 0
  1. package com.nitrodev.warehousestorage.recipes;
  2.  
  3. import com.nitrodev.warehousestorage.init.Wsblocks;
  4. import com.nitrodev.warehousestorage.items.ModItems;
  5. import net.minecraft.init.Blocks;
  6. import net.minecraft.init.Items;
  7. import net.minecraft.item.ItemStack;
  8. import net.minecraftforge.fml.common.registry.GameRegistry;
  9. import net.minecraftforge.oredict.OreDictionary;
  10.  
  11. public class ModRecipes {
  12.     static ItemStack saw = new ItemStack(ModItems.itemSaw, 1, OreDictionary.WILDCARD_VALUE);
  13.     static ItemStack slab = new ItemStack(Blocks.wooden_slab, 1, OreDictionary.WILDCARD_VALUE);
  14.     static ItemStack stick = new ItemStack(Items.stick);
  15.     static ItemStack iron = new ItemStack(Items.iron_ingot);
  16.     static ItemStack goldblock = new ItemStack(Blocks.gold_block);
  17.     static ItemStack blackwool = new ItemStack(Blocks.wool, 1, 15);
  18.  
  19.     public static void init() {
  20.         GameRegistry.addShapelessRecipe(new ItemStack(ModItems.itemPlank), saw, slab);
  21.         GameRegistry.addRecipe(
  22.                 new ItemStack(ModItems.itemSaw),
  23.                 "is ",
  24.                 " is",
  25.                 "  i",
  26.                 'i', iron, 's', stick);
  27.         GameRegistry.addRecipe(
  28.                 new ItemStack(Wsblocks.voider),
  29.                 "gwg",
  30.                 "w g",
  31.                 "gwg",
  32.                 'g', goldblock, 'w', blackwool);
  33.  
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement