Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Itembase

a guest Jun 19th, 2018 57 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. package com.ubalube.loadouts.items;
  2.  
  3. import com.ubalube.loadouts.Main;
  4. import com.ubalube.loadouts.init.ModItems;
  5. import com.ubalube.loadouts.util.IHasModel;
  6.  
  7. import net.minecraft.creativetab.CreativeTabs;
  8. import net.minecraft.item.Item;
  9.  
  10. public class ItemBase extends Item implements IHasModel
  11. {
  12.  
  13.     public ItemBase(String name)
  14.     {
  15.         setUnlocalizedName(name);
  16.         setRegistryName(name);
  17.         setCreativeTab(CreativeTabs.MATERIALS);
  18.        
  19.         ModItems.ITEMS.add(this);
  20.     }
  21.    
  22.     @Override
  23.     public void registerModels()
  24.     {
  25.         Main.proxy.registerItemRender(this, 0, "inventory");
  26.        
  27.     }
  28.  
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top