public boolean hasOverlay(GuiContainer gui, Container container, int recipe) {
return RecipeInfo.hasDefaultOverlay(gui, getOverlayIdentifier()) || RecipeInfo.hasOverlayHandler(gui, getOverlayIdentifier());
}
public IRecipeOverlayRenderer getOverlayRenderer(GuiContainer gui, int recipe) {
IStackPositioner positioner = RecipeInfo.getStackPositioner(gui, getOverlayIdentifier());
if (positioner == null)
return null;
return new DefaultOverlayRenderer(getIngredientStacks(recipe), positioner);
}