mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Remove NEI Recipe Handlers (until it gets properly updated)
This commit is contained in:
parent
aa30035cee
commit
54cc8eedbd
11 changed files with 32 additions and 229 deletions
|
@ -38,9 +38,9 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "codechicken:CodeChickenLib:1.8-1.1.2.139:dev"
|
//compile "codechicken:CodeChickenLib:1.8-1.1.2.139:dev"
|
||||||
compile "codechicken:CodeChickenCore:1.8-1.0.5.36:dev"
|
//compile "codechicken:CodeChickenCore:1.8-1.0.5.36:dev"
|
||||||
compile "codechicken:NotEnoughItems:1.8-1.0.5.104:dev"
|
//compile "codechicken:NotEnoughItems:1.8-1.0.5.104:dev"
|
||||||
|
|
||||||
deobfCompile "mezz.jei:jei_1.8.9:2.19.0.93"
|
deobfCompile "mezz.jei:jei_1.8.9:2.19.0.93"
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,18 +10,9 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.nei.api.API;
|
public class NEIActuallyAdditionsConfig/* implements IConfigureNEI*/{
|
||||||
import codechicken.nei.api.IConfigureNEI;
|
|
||||||
import codechicken.nei.recipe.DefaultOverlayHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.inventory.gui.GuiCrafter;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.Util;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
public class NEIActuallyAdditionsConfig implements IConfigureNEI{
|
/*@Override
|
||||||
|
|
||||||
@Override
|
|
||||||
public void loadConfig(){
|
public void loadConfig(){
|
||||||
ModUtil.LOGGER.info("Initializing Not Enough Items Plugin...");
|
ModUtil.LOGGER.info("Initializing Not Enough Items Plugin...");
|
||||||
|
|
||||||
|
@ -80,6 +71,5 @@ public class NEIActuallyAdditionsConfig implements IConfigureNEI{
|
||||||
@Override
|
@Override
|
||||||
public String getVersion(){
|
public String getVersion(){
|
||||||
return ModUtil.VERSION;
|
return ModUtil.VERSION;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
}
|
}
|
|
@ -10,33 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEIBookletRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.IBookletChapter;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.page.PagePicture;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ItemUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.Minecraft;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
import net.minecraft.util.EnumChatFormatting;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class NEIBookletRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.booklet";
|
public static final String NAME = "actuallyadditions.booklet";
|
||||||
|
|
||||||
public NEIBookletRecipe(){
|
/*public NEIBookletRecipe(){
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,5 +147,5 @@ public class NEIBookletRecipe extends TemplateRecipeHandler implements INEIRecip
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,38 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEICoffeeMachineRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.NEIServerUtils;
|
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.api.recipe.coffee.CoffeeBrewing;
|
|
||||||
import de.ellpeck.actuallyadditions.api.recipe.coffee.CoffeeIngredient;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.inventory.gui.GuiCoffeeMachine;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.ItemCoffee;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.metalists.TheMiscItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.tile.TileEntityCoffeeMachine;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class NEICoffeeMachineRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.coffee";
|
public static final String NAME = "actuallyadditions.coffee";
|
||||||
|
|
||||||
public NEICoffeeMachineRecipe(){
|
/*public NEICoffeeMachineRecipe(){
|
||||||
super();
|
super();
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 35, 3);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 35, 3);
|
||||||
}
|
}
|
||||||
|
@ -178,5 +151,5 @@ public class NEICoffeeMachineRecipe extends TemplateRecipeHandler implements INE
|
||||||
list.add(this.coffeeBeans);
|
list.add(this.coffeeBeans);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,31 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEICompostRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.NEIServerUtils;
|
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.metalists.TheMiscItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.tile.TileEntityCompost;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.Collections;
|
|
||||||
|
|
||||||
public class NEICompostRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.compost";
|
public static final String NAME = "actuallyadditions.compost";
|
||||||
|
|
||||||
public NEICompostRecipe(){
|
/*public NEICompostRecipe(){
|
||||||
super();
|
super();
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
@ -127,5 +107,5 @@ public class NEICompostRecipe extends TemplateRecipeHandler implements INEIRecip
|
||||||
public PositionedStack getIngredient(){
|
public PositionedStack getIngredient(){
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,31 +10,9 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEICrusherRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.api.recipe.CrusherRecipe;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.inventory.gui.GuiGrinder;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ItemUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.awt.*;
|
/*public NEICrusherRecipe(){
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class NEICrusherRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public NEICrusherRecipe(){
|
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,5 +182,5 @@ public class NEICrusherRecipe extends TemplateRecipeHandler implements INEIRecip
|
||||||
}
|
}
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,32 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEIFurnaceDoubleRecipe /*extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.NEIServerUtils;
|
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.inventory.gui.GuiFurnaceDouble;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
import net.minecraft.item.crafting.FurnaceRecipes;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
public class NEIFurnaceDoubleRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.furnaceDouble";
|
public static final String NAME = "actuallyadditions.furnaceDouble";
|
||||||
|
|
||||||
public NEIFurnaceDoubleRecipe(){
|
/*public NEIFurnaceDoubleRecipe(){
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,5 +124,5 @@ public class NEIFurnaceDoubleRecipe extends TemplateRecipeHandler implements INE
|
||||||
public List<PositionedStack> getIngredients(){
|
public List<PositionedStack> getIngredients(){
|
||||||
return getCycledIngredients(cycleticks/48, Collections.singletonList(ingredient));
|
return getCycledIngredients(cycleticks/48, Collections.singletonList(ingredient));
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,31 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEIHairyBallRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.NEIServerUtils;
|
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.api.recipe.BallOfFurReturn;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class NEIHairyBallRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.ballOfHair";
|
public static final String NAME = "actuallyadditions.ballOfHair";
|
||||||
|
|
||||||
public NEIHairyBallRecipe(){
|
/*public NEIHairyBallRecipe(){
|
||||||
super();
|
super();
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
@ -148,5 +128,5 @@ public class NEIHairyBallRecipe extends TemplateRecipeHandler implements INEIRec
|
||||||
public PositionedStack getIngredient(){
|
public PositionedStack getIngredient(){
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,35 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEIReconstructorRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.api.recipe.LensNoneRecipe;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.lens.LensColor;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.*;
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.client.Minecraft;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.Item;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class NEIReconstructorRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.reconstructor";
|
public static final String NAME = "actuallyadditions.reconstructor";
|
||||||
|
|
||||||
public NEIReconstructorRecipe(){
|
/*public NEIReconstructorRecipe(){
|
||||||
super();
|
super();
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
@ -192,5 +168,5 @@ public class NEIReconstructorRecipe extends TemplateRecipeHandler implements INE
|
||||||
list.addAll(this.getCycledIngredients(cycleticks/48, Collections.singletonList(this.result)));
|
list.addAll(this.getCycledIngredients(cycleticks/48, Collections.singletonList(this.result)));
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
|
@ -10,25 +10,14 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.nei.recipe.GuiRecipe;
|
|
||||||
import codechicken.nei.recipe.IRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.GuiBooklet;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.button.TexturedButton;
|
import de.ellpeck.actuallyadditions.mod.booklet.button.TexturedButton;
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.Minecraft;
|
|
||||||
import net.minecraftforge.client.event.GuiScreenEvent;
|
|
||||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
|
||||||
|
|
||||||
public class NEIScreenEvents{
|
public class NEIScreenEvents{
|
||||||
|
|
||||||
private static final int NEI_BUTTON_ID = 123782;
|
private static final int NEI_BUTTON_ID = 123782;
|
||||||
private TexturedButton neiButton;
|
private TexturedButton neiButton;
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
/*@SuppressWarnings("unchecked")
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onInitGuiForNEI(GuiScreenEvent.InitGuiEvent event){
|
public void onInitGuiForNEI(GuiScreenEvent.InitGuiEvent event){
|
||||||
if(event.gui instanceof GuiRecipe){
|
if(event.gui instanceof GuiRecipe){
|
||||||
|
@ -75,5 +64,5 @@ public class NEIScreenEvents{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,31 +10,11 @@
|
||||||
|
|
||||||
package de.ellpeck.actuallyadditions.mod.nei;
|
package de.ellpeck.actuallyadditions.mod.nei;
|
||||||
|
|
||||||
import codechicken.lib.gui.GuiDraw;
|
public class NEITreasureChestRecipe/* extends TemplateRecipeHandler implements INEIRecipeHandler*/{
|
||||||
import codechicken.nei.NEIServerUtils;
|
|
||||||
import codechicken.nei.PositionedStack;
|
|
||||||
import codechicken.nei.recipe.RecipeInfo;
|
|
||||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
|
||||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
|
||||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
||||||
import de.ellpeck.actuallyadditions.api.recipe.TreasureChestLoot;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.BookletUtils;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
|
||||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class NEITreasureChestRecipe extends TemplateRecipeHandler implements INEIRecipeHandler{
|
|
||||||
|
|
||||||
public static final String NAME = "actuallyadditions.treasureChest";
|
public static final String NAME = "actuallyadditions.treasureChest";
|
||||||
|
|
||||||
public NEITreasureChestRecipe(){
|
/*public NEITreasureChestRecipe(){
|
||||||
super();
|
super();
|
||||||
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
RecipeInfo.setGuiOffset(this.getGuiClass(), 0, 0);
|
||||||
}
|
}
|
||||||
|
@ -150,5 +130,5 @@ public class NEITreasureChestRecipe extends TemplateRecipeHandler implements INE
|
||||||
public PositionedStack getIngredient(){
|
public PositionedStack getIngredient(){
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
Loading…
Reference in a new issue