001package net.minecraft.block;
002
003import net.minecraft.creativetab.CreativeTabs;
004import net.minecraft.world.IBlockAccess;
005
006public class BlockPoweredOre extends BlockOreStorage
007{
008    public BlockPoweredOre(int par1)
009    {
010        super(par1);
011        this.setCreativeTab(CreativeTabs.tabRedstone);
012    }
013
014    /**
015     * Can this block provide power. Only wire currently seems to have this change based on its state.
016     */
017    public boolean canProvidePower()
018    {
019        return true;
020    }
021
022    /**
023     * Returns true if the block is emitting indirect/weak redstone power on the specified side. If isBlockNormalCube
024     * returns true, standard redstone propagation rules will apply instead and this will not be called. Args: World, X,
025     * Y, Z, side. Note that the side is reversed - eg it is 1 (up) when checking the bottom of the block.
026     */
027    public int isProvidingWeakPower(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
028    {
029        return 15;
030    }
031}