if (!(tile instanceof IEnergyHandler))
return false;
IEnergyHandler receptor = (IEnergyHandler) tile;
return receptor.canConnectEnergy(side);
}
public static boolean tryPlantPot(World world, int x, int y, int z, Block block) {
int direction = getDirectionalMetadata(world, x, y, z);