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();
@@ -19,8 +19,6 @@
package appeng.integration.modules.theoneprobe;
import com.google.common.base.Function;
import net.minecraftforge.fml.common.event.FMLInterModComms;
import mcjty.theoneprobe.api.ITheOneProbe;
@@ -28,6 +26,8 @@ import mcjty.theoneprobe.api.ITheOneProbe;
import appeng.integration.IIntegrationModule;
import appeng.integration.modules.theoneprobe.config.AEConfigProvider;
import java.util.function.Function;
public class TheOneProbeModule implements IIntegrationModule, Function<ITheOneProbe, Void>
{