From daee86d14d6a968f298c932c77806f351efa43b5 Mon Sep 17 00:00:00 2001 From: mezz Date: Sun, 27 Nov 2016 01:49:13 -0800 Subject: [PATCH] Provide access to ShapedOreRecipe width and height (#3439) --- .../net/minecraftforge/oredict/ShapedOreRecipe.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/net/minecraftforge/oredict/ShapedOreRecipe.java b/src/main/java/net/minecraftforge/oredict/ShapedOreRecipe.java index 5c0975190..c626d2dda 100644 --- a/src/main/java/net/minecraftforge/oredict/ShapedOreRecipe.java +++ b/src/main/java/net/minecraftforge/oredict/ShapedOreRecipe.java @@ -283,4 +283,14 @@ public class ShapedOreRecipe implements IRecipe { return ForgeHooks.defaultRecipeGetRemainingItems(inv); } + + public int getWidth() + { + return width; + } + + public int getHeight() + { + return height; + } }