Advertisement
Guest User

Untitled

a guest
Feb 12th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1.     public void registerBlockWithItem(Block block, String name, Item item)
  2.     {
  3.         GameRegistry.registerBlock(block, null, name);
  4.         GameRegistry.registerItem(item, name);
  5.         GameData.getBlockItemMap().put(block, item);
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement