Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.phoenix.pyromancy.blocks;
- import com.phoenix.pyromancy.Pyromancy;
- import net.minecraft.block.Block;
- import net.minecraft.block.material.Material;
- import net.minecraft.world.World;
- import java.util.Random;
- public class BlockFireberryBush extends Block
- {
- public BlockFireberryBush(String itemName)
- {
- super(Material.leaves);
- setCreativeTab(Pyromancy.tabPyromancy);
- setStepSound(soundTypeGrass);
- 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.setBlockState(x,y,z, Pyromancy.harvestableFireberryBush); // <--- I have no idea what I'm doing any more
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement