Guest User

Block

a guest
Aug 14th, 2020
35
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class PurpleCampfire extends CampfireBlock {
  2.  
  3.     public PurpleCampfire(boolean smokey, int fireDamage, AbstractBlock.Properties properties) {
  4.         super(smokey, fireDamage, properties);
  5.     }
  6.  
  7.     @Override
  8.     public boolean hasTileEntity(BlockState state) {
  9.         return true;
  10.     }
  11.  
  12.     public TileEntity createNewTileEntity(IBlockReader worldIn) {
  13.         return new PurpleCampfireTileEntity();
  14.     }
  15.  
  16. }
RAW Paste Data