SHARE
TWEET

BlockHalfSlabBase.java

FlowArg Aug 22nd, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class BlockHalfSlabBase extends BlockSlabBase implements IHasModel
  2. {
  3.     public BlockHalfSlabBase(String name, Material material, BlockSlab half, BlockSlab doubleSLab)
  4.     {
  5.         super(name, material, half);
  6.         ItemInit.ITEM.add(new ItemSlab(this, this, doubleSLab).setRegistryName(name));
  7.     }
  8.  
  9.     @Override
  10.     public boolean isDouble()
  11.     {
  12.         return false;
  13.     }
  14.  
  15.     @Override
  16.     public void registerModels() {
  17.         Main.proxy.registerItemRenderer(Item.getItemFromBlock(this), 0, "inventory");
  18.     }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top