mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-05-19 08:01:23 +02:00
34 lines
1,012 B
Java
34 lines
1,012 B
Java
package ellpeck.actuallyadditions.nei;
|
|
|
|
import codechicken.nei.api.API;
|
|
import codechicken.nei.api.IConfigureNEI;
|
|
import ellpeck.actuallyadditions.blocks.InitBlocks;
|
|
import ellpeck.actuallyadditions.util.ModUtil;
|
|
import ellpeck.actuallyadditions.util.Util;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class NEIActuallyAdditionsConfig implements IConfigureNEI{
|
|
|
|
@Override
|
|
public void loadConfig(){
|
|
Util.logInfo("Initializing Not Enough Items Plugin...");
|
|
|
|
CrusherRecipeHandler crusherRecipeHandler = new CrusherRecipeHandler();
|
|
API.registerRecipeHandler(crusherRecipeHandler);
|
|
API.registerUsageHandler(crusherRecipeHandler);
|
|
|
|
//TODO Re-add
|
|
API.hideItem(new ItemStack(InitBlocks.blockHeatCollector));
|
|
API.hideItem(new ItemStack(InitBlocks.blockFurnaceSolar));
|
|
}
|
|
|
|
@Override
|
|
public String getName(){
|
|
return ModUtil.MOD_ID + " NEI Plugin";
|
|
}
|
|
|
|
@Override
|
|
public String getVersion(){
|
|
return ModUtil.VERSION;
|
|
}
|
|
} |