mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
35 lines
887 B
Java
35 lines
887 B
Java
package com.cricketcraft.chisel.compat.nei;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import com.cricketcraft.chisel.Chisel;
|
|
|
|
import codechicken.nei.api.API;
|
|
import codechicken.nei.api.IConfigureNEI;
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
|
|
|
public class NEIChiselConfig implements IConfigureNEI {
|
|
|
|
@Override
|
|
public String getName() {
|
|
return Chisel.MOD_NAME;
|
|
}
|
|
|
|
@Override
|
|
public String getVersion() {
|
|
return Chisel.VERSION;
|
|
}
|
|
|
|
@Override
|
|
public void loadConfig() {
|
|
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "limestone_slab_top")));
|
|
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "marble_slab_top")));
|
|
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "marble_pillar_slab_top")));
|
|
|
|
RecipeHandlerChisel handler = new RecipeHandlerChisel();
|
|
API.registerRecipeHandler(handler);
|
|
API.registerUsageHandler(handler);
|
|
}
|
|
|
|
}
|