@Override
  public void initGui() {
    super.initGui();

    int j = (width - xSize) / 2;
    int k = (height - ySize) / 2;
    int midx = j + xSize / 2;
    int midy = k + 42;
    int w = 8;
    int h = 48;
    int out = xSize / 2 - 14;

    // mode = tile.getMode();

    String tex = "Textures/GUIs/aspect.png";
    // if (mode == AspectMode.DEMAND) {
    buttonList.add(
        new CustomSoundImagedGuiButton(
            0, midx - w - out, midy - h / 2, w, h, 184, 0, tex, ChromatiCraft.class, this));
    buttonList.add(
        new CustomSoundImagedGuiButton(
            1, midx + out, midy - h / 2, w, h, 176, 0, tex, ChromatiCraft.class, this));

    buttonList.add(
        new CustomSoundImagedGuiButton(
            2,
            midx - w - out,
            midy - h / 2 - 13,
            10,
            10,
            90,
            56,
            "Textures/GUIs/buttons.png",
            ChromatiCraft.class,
            this));
    // }
    buttonList.add(
        new CustomSoundImagedGuiButton(
            3,
            midx - w - out + 15,
            midy - h / 2 - 13,
            10,
            10,
            90,
            76,
            "Textures/GUIs/buttons.png",
            ChromatiCraft.class,
            this));
  }
  @Override
  public void initGui() {
    super.initGui();
    buttonList.clear();
    int j = (width - xSize) / 2;
    int k = (height - ySize) / 2;

    String tex = "Textures/GUIs/invtick.png";
    buttonList.add(
        new CustomSoundImagedGuiButton(
            0, j + 171, k + 33, 10, 10, 171, 33, tex, ChromatiCraft.class, this));
    buttonList.add(
        new CustomSoundImagedGuiButton(
            1, j + 171, k + 43, 10, 10, 171, 43, tex, ChromatiCraft.class, this));
  }