Advertisement
ZornTaov

Zorn Taov

Feb 1st, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.64 KB | None | 0 0
  1. package net.minecraft.src;//ALWAYS NEEDED
  2.  
  3.  
  4.  
  5. public class mod_RedstoneWall extends BaseMod
  6. {
  7.  
  8.     public mod_RedstoneWall()
  9.     {
  10.         ModLoader.RegisterBlock(field_21069_h);
  11.         ModLoader.AddName(field_21069_h, "RedstoneWall");//nametag
  12.     }
  13.  
  14.     public void AddRecipes(CraftingManager craftingmanager)
  15.     {
  16.         craftingmanager.addRecipe(new ItemStack(field_21069_h, 1), new Object[] {
  17.             "X", "X", Character.valueOf('X'), Item.redstone
  18.         });
  19.     }
  20. public static final Block example;
  21.  
  22. static
  23. {
  24.     example = (new BlockRedstoneWall(92, 1)).setHardness(1.5F).setStepSound(Block.soundStoneFootstep);
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement