SHARE
TWEET

Untitled

a guest Apr 24th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. public class BlockFluid extends BlockFluidClassic
  3. {
  4.  
  5.     public BlockFluid(String name, Fluid fluid, Material material) {
  6.         super(fluid, material);
  7.          setUnlocalizedName(name);
  8.           setRegistryName(name);
  9.    
  10.          
  11.           ModBlocks.BLOCKS.add(this);
  12.           ModItems.ITEMS.add(new ItemBlock(this).setRegistryName(this.getRegistryName()));
  13.     }
  14.    @Override
  15. public EnumBlockRenderType getRenderType(IBlockState state)
  16.    {
  17.     return EnumBlockRenderType.MODEL;
  18.    
  19.  
  20. }
  21. }
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