mirror of
https://github.com/GTNewHorizons/Advanced-Botany.git
synced 2026-11-26 23:03:13 +00:00
put 1.7.10 in main folder
This commit is contained in:
1429 files changed
+1
-135029
No files matched your search
@@ -0,0 +1,29 @@
|
||||
package ab.client.nei;
|
||||
|
||||
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 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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user