aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-05-07 09:18:13 +0800
committershedaniel <daniel@shedaniel.me>2020-05-07 09:18:13 +0800
commit9662f0e452a0e1ac23de3f39861d15db7db5b1cc (patch)
treed59aa0d5b9f4e2ee45dbaa52e10e6ba0415ef722 /src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
parent6c1df6bddb1ff6537e9490ba828f35d40ff5903a (diff)
downloadRoughlyEnoughItems-9662f0e452a0e1ac23de3f39861d15db7db5b1cc.tar.gz
RoughlyEnoughItems-9662f0e452a0e1ac23de3f39861d15db7db5b1cc.tar.bz2
RoughlyEnoughItems-9662f0e452a0e1ac23de3f39861d15db7db5b1cc.zip
Bump for 20w19a
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
index bdf3bf4e2..593745af7 100644
--- a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
@@ -124,11 +124,11 @@ public class PreRecipeViewingScreen extends Screen {
} else {
this.fillGradient(matrices, 0, 0, this.width, this.height, -16777216, -16777216);
}
- this.method_27534(matrices, this.textRenderer, this.title, this.width / 2, 20, 16777215);
+ this.drawCenteredText(matrices, this.textRenderer, this.title, this.width / 2, 20, 16777215);
if (showTips) {
int i = 30;
for (Text s : this.textRenderer.wrapLines(new TranslatableText("text.rei.recipe_screen_type.selection.sub").formatted(Formatting.GRAY), width - 30)) {
- this.method_27534(matrices, this.textRenderer, s, width / 2, i, -1);
+ this.drawCenteredText(matrices, this.textRenderer, s, width / 2, i, -1);
i += 10;
}
}