equivalent-exchange-3/src/main/java/com/pahimar/ee3/nei/NEIConfig.java

32 lines
884 B
Java
Raw Normal View History

package com.pahimar.ee3.nei;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
import com.pahimar.ee3.init.ModBlocks;
import com.pahimar.ee3.reference.Reference;
import net.minecraft.item.ItemStack;
2023-01-03 17:47:36 +01:00
public class NEIConfig implements IConfigureNEI {
@Override
2023-01-03 17:47:36 +01:00
public String getName() {
return Reference.MOD_NAME;
}
@Override
2023-01-03 17:47:36 +01:00
public String getVersion() {
return Reference.MOD_VERSION;
}
@Override
2023-01-03 17:47:36 +01:00
public void loadConfig() {
AludelRecipeHandler aludelRecipeHandler = new AludelRecipeHandler();
API.registerRecipeHandler(aludelRecipeHandler);
API.registerUsageHandler(aludelRecipeHandler);
API.hideItem(new ItemStack(ModBlocks.transmutationTablet));
API.hideItem(new ItemStack(ModBlocks.dummyArray));
API.hideItem(new ItemStack(ModBlocks.alchemyArray));
}
}