added redstone APIs to BlockBase/TileEntityBase