This commit is contained in:
EnderProyects committed 2023-03-06 23:23:19 +01:00
1 parent 17454c4993
commit 8e0818be4a
150 files changed
+13246 -12429

No files matched your search

+15 -15
View File
@@ -1,29 +1,29 @@
package ab.client.nei;
import net.minecraft.item.ItemStack;
import ab.AdvancedBotany;
import ab.common.core.handler.ConfigABHandler;
import ab.common.lib.register.BlockListAB;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
import codechicken.nei.recipe.ICraftingHandler;
import codechicken.nei.recipe.IUsageHandler;
import net.minecraft.item.ItemStack;
public class NEIConfig implements IConfigureNEI {
public String getName() {
return AdvancedBotany.modid;
}
public String getName() {
return AdvancedBotany.modid;
}
public String getVersion() {
return AdvancedBotany.version;
}
public String getVersion() {
return AdvancedBotany.version;
}
public void loadConfig() {
API.registerRecipeHandler((ICraftingHandler)new RecipeHandlerAlphirine());
API.registerUsageHandler((IUsageHandler)new RecipeHandlerAlphirine());
API.registerRecipeHandler((ICraftingHandler)new RecipeHandlerAdvancedPlate());
API.registerUsageHandler((IUsageHandler)new RecipeHandlerAdvancedPlate());
API.hideItem(new ItemStack(BlockListAB.blockAntigravitation));
}
public void loadConfig() {
API.registerRecipeHandler((ICraftingHandler) new RecipeHandlerAlphirine());
API.registerUsageHandler((IUsageHandler) new RecipeHandlerAlphirine());
API.registerRecipeHandler((ICraftingHandler) new RecipeHandlerAdvancedPlate());
API.registerUsageHandler((IUsageHandler) new RecipeHandlerAdvancedPlate());
API.hideItem(new ItemStack(BlockListAB.blockAntigravitation));
}
}