public int getSurroundingFlowers() {
int flowers = 0;
for(ForgeDirection dir : LibMisc.CARDINAL_DIRECTIONS) {
TileEntity tile = supertile.getWorldObj().getTileEntity(supertile.xCoord + dir.offsetX, supertile.yCoord, supertile.zCoord + dir.offsetZ);
if(tile != null && tile instanceof ISubTileContainer) {
ISubTileContainer flower = (ISubTileContainer) tile;
if(flower.getSubTile() != null && flower.getSubTile().getClass() == getClass()) {
flowers++;
Color color = new Color(getColor());
float r = color.getRed() / 255F;
float g = color.getGreen() / 255F;