blob: 06948d4e46bb0e8dc17ad401d2664b2402830c48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2018, 2019, 2020 shedaniel
* Licensed under the MIT License (the "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;
}
}
|