Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BlockFireberryBush extends Block
- {
- public BlockFireberryBush(String itemName)
- {
- super(Material.leaves);
- setBlockName(Reference.MODID + "_" + itemName);
- setCreativeTab(Pyromancy.tabPyromancy);
- setStepSound(soundTypeGrass);
- setBlockTextureName(Reference.MODID + ":" + itemName);
- setBlockBounds(0.1F, 0.0F, 0.1F, 0.9F, 1.0F, 0.9F);
- this.setTickRandomly(true);
- }
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
- @Override
- public void updateTick(World world, int x, int y, int z, Random random)
- {
- world.setBlock(x,y,z, Pyromancy.harvestableFireberryBush);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement