aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
blob: 7f21a32f0d87c19b05b6b8c011e58f42f57ee89b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Roughly Enough Items by Danielshe.
 * Licensed under the MIT License.
 */

package me.shedaniel.rei.gui.widget;

import me.shedaniel.math.api.Rectangle;
import me.shedaniel.rei.api.ConfigObject;

public class RecipeBaseWidget extends PanelWidget {

    public RecipeBaseWidget(Rectangle bounds) {
        super(bounds);
    }

    @Override
    protected int getYTextureOffset() {
        return ConfigObject.getInstance().isUsingLightGrayRecipeBorder() ? 0 : 66;
    }

}