aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-06-12 13:11:56 +0200
committerGitHub <noreply@github.com>2024-06-12 13:11:56 +0200
commit22c9a6b8cd02408f3c3851292a0ac193abfd3f42 (patch)
tree6c8daace5f0e5d65a590a7768ea9b38503715b69 /src
parent3f49a4e8efd0668f4bf10cb3929c244c4bf38652 (diff)
downloadNotEnoughUpdates-22c9a6b8cd02408f3c3851292a0ac193abfd3f42.tar.gz
NotEnoughUpdates-22c9a6b8cd02408f3c3851292a0ac193abfd3f42.tar.bz2
NotEnoughUpdates-22c9a6b8cd02408f3c3851292a0ac193abfd3f42.zip
Fix crafting text being too small when the text is long (#1209)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/recipes/CraftingRecipe.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/recipes/CraftingRecipe.java b/src/main/java/io/github/moulberry/notenoughupdates/recipes/CraftingRecipe.java
index 8e4623e3..c0729634 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/recipes/CraftingRecipe.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/recipes/CraftingRecipe.java
@@ -37,8 +37,8 @@ public class CraftingRecipe implements NeuRecipe {
public static final ResourceLocation BACKGROUND = new ResourceLocation("notenoughupdates",
"textures/gui/crafting_table_tall.png");
- private static final int EXTRA_STRING_X = 132;
- private static final int EXTRA_STRING_Y = 50;
+ private static final int EXTRA_STRING_X = 90;
+ private static final int EXTRA_STRING_Y = 35;
private final NEUManager manager;
private final Ingredient[] inputs;
@@ -116,7 +116,7 @@ public class CraftingRecipe implements NeuRecipe {
String craftingText = getCraftText();
if (craftingText != null)
Utils.drawStringCenteredScaledMaxWidth(craftingText,
- gui.guiLeft + EXTRA_STRING_X, gui.guiTop + EXTRA_STRING_Y, false, 75, 0x404040
+ gui.guiLeft + EXTRA_STRING_X, gui.guiTop + EXTRA_STRING_Y, false, 85, 0x404040
);
}