Provide access to ShapedOreRecipe width and height (#3439)
This commit is contained in:
parent
059605e352
commit
daee86d14d
1 changed files with 10 additions and 0 deletions
|
@ -283,4 +283,14 @@ public class ShapedOreRecipe implements IRecipe
|
||||||
{
|
{
|
||||||
return ForgeHooks.defaultRecipeGetRemainingItems(inv);
|
return ForgeHooks.defaultRecipeGetRemainingItems(inv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getWidth()
|
||||||
|
{
|
||||||
|
return width;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getHeight()
|
||||||
|
{
|
||||||
|
return height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue