Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. package com.gmail.drdoom347.theop.helpers;
  2.  
  3. import net.minecraft.block.Block;
  4. import net.minecraft.item.Item;
  5. import net.minecraftforge.fml.common.registry.GameRegistry;
  6.  
  7. public class RegisterHelper {
  8.  
  9. public static void registerBlock(Block block) {
  10.  
  11. GameRegistry.registerBlock(block, block.getUnlocalizedName().substring(5));
  12.  
  13. }
  14. public static void registerItem(Item item) {
  15.  
  16. GameRegistry.registerItem(item, item.getUnlocalizedName().substring(5));
  17. }
  18. public static void registerItemRenderer(Item kryptoniteIngot) {
  19. // TODO Auto-generated method stub
  20.  
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement