Highly incomplete code. First work on porting to 1.12. Still need to rework a LOT of things.

This commit is contained in:
Gunther De Wachter
2017-07-06 01:57:19 +02:00
parent d67f97cd16
commit fbcf8c4705
127 changed files with 850 additions and 425 deletions
@@ -86,6 +86,17 @@ class CondenserCategory extends BlankRecipeCategory<CondenserOutputWrapper>
return localizedName;
}
/**
* Return the name of the mod associated with this recipe category.
* Used for the recipe category tab's tooltip.
*
* @since JEI 4.5.0
*/
@Override
public String getModName() {
return AppEng.MOD_NAME;
}
@Override
public IDrawable getBackground()
{
@@ -49,6 +49,9 @@ class GrinderRecipeCategory extends BlankRecipeCategory<GrinderRecipeWrapper>
this.background = guiHelper.createDrawable( location, 11, 16, 154, 64 );
}
@Override
public String getModName() { return AppEng.MOD_NAME; }
@Override
public String getUid()
{
@@ -73,6 +73,17 @@ class InscriberRecipeCategory extends BlankRecipeCategory<InscriberRecipeWrapper
return localizedName;
}
/**
* Return the name of the mod associated with this recipe category.
* Used for the recipe category tab's tooltip.
*
* @since JEI 4.5.0
*/
@Override
public String getModName() {
return AppEng.MOD_NAME;
}
@Override
public IDrawable getBackground()
{
@@ -53,7 +53,7 @@ class ShapedRecipeWrapper extends BlankRecipeWrapper implements IShapedCraftingR
{
final boolean useSingleItems = AEConfig.instance().disableColoredCableRecipesInJEI();
Object[] items = recipe.getIngredients();
Object[] items = recipe.getIIngredients();
int width = recipe.getWidth();
int height = recipe.getHeight();