blob: 8d69414ceb1f8d4eb1d2a44d2a1b99174ce3d1c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Roughly Enough Items by Danielshe.
* Licensed under the MIT License.
*/
package me.shedaniel.rei.gui.widget;
import com.mojang.blaze3d.systems.RenderSystem;
import me.shedaniel.math.api.Rectangle;
import me.shedaniel.rei.RoughlyEnoughItemsCore;
import me.shedaniel.rei.api.annotations.ToBeRemoved;
public class RecipeBaseWidget extends PanelWidget {
public RecipeBaseWidget(Rectangle bounds) {
super(bounds);
}
@Override
protected int getYTextureOffset() {
return getTextureOffset();
}
@ToBeRemoved
@Deprecated
protected int getTextureOffset() {
return RoughlyEnoughItemsCore.getConfigManager().getConfig().isUsingLightGrayRecipeBorder() ? 0 : 66;
}
}
|