Bei mir soll ein Block ein Redstone Signal ausgeben, tut es aber nicht.
Code:
Code:
package net.minecraft.src;
import java.util.Random;
public class BlockRedstone extends Block
{
public static boolean statebool;
public BlockRedstone(int par1, int par2)
{
super(par1, par2, Material.rock);
this.setCreativeTab(CreativeTabs.tabRedstone);
}
/**
* Returns true if the block is emitting direct/strong redstone power on the specified side. Args: World, X, Y, Z,
* side
*/
public boolean isProvidingStrongPower(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
{
return true;
}
/**
* Can this block provide power. Only wire currently seems to have this change based on its state.
*/
public boolean canProvidePower()
{
return true;
}
}
Es kommt keine Fehlermeldung