From 7ebb0ebe33fb79648290969e86e3ba9148151cee Mon Sep 17 00:00:00 2001 From: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:01:40 +1000 Subject: [PATCH] Fix Hand Framing Display Recipes (#1024) [BUG] --- .../Post-Initial/Main/General/Misc/handFraming.groovy | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/overrides/groovy/postInit/Post-Initial/Main/General/Misc/handFraming.groovy b/overrides/groovy/postInit/Post-Initial/Main/General/Misc/handFraming.groovy index 1194201..4b246a4 100644 --- a/overrides/groovy/postInit/Post-Initial/Main/General/Misc/handFraming.groovy +++ b/overrides/groovy/postInit/Post-Initial/Main/General/Misc/handFraming.groovy @@ -42,13 +42,13 @@ for (ItemStack stack : items) { .name(recipeName) .output(recipeStack) .matrix( - 'ST ', + 'IT ', 'FS ', ' ') .key('S', item("xtones:zane")) .key('T', trim ? item("extendedcrafting:storage", 4) : IIngredient.EMPTY) .key('F', front ? item("xtones:zane", 15) : IIngredient.EMPTY) - .key('S', stack) + .key('I', stack) .recipeClassFunction((output, width, height, ingredients) -> new ShapedDummyRecipe(output, ingredients, width, height, false)) .register() @@ -66,9 +66,6 @@ for (ItemStack stack : items) { static String getRecipeName(ItemStack stack, boolean trim, boolean front) { String baseName = "nomiceu:hand_framing_" - // We have to use safe method helpers, because some items from Framed Compacting Drawers mislabel addInformation, - // Without SideOnly, so it crashes. - // Use the special of class type so the addInformation method isn't loaded. def rl = stack.getItem().getRegistryName() if (rl != null) baseName = baseName + rl.getNamespace() + "_" + rl.getPath()