NaturesAura/src/main/java/de/ellpeck/naturesaura/items/ItemImpl.java

38 lines
829 B
Java
Raw Normal View History

2018-10-14 17:46:00 +02:00
package de.ellpeck.naturesaura.items;
2018-11-29 17:58:47 +01:00
import de.ellpeck.naturesaura.reg.ICreativeItem;
2018-10-14 17:46:00 +02:00
import de.ellpeck.naturesaura.reg.IModItem;
import de.ellpeck.naturesaura.reg.IModelProvider;
import de.ellpeck.naturesaura.reg.ModRegistry;
import net.minecraft.item.Item;
2018-11-29 17:58:47 +01:00
public class ItemImpl extends Item implements IModItem, ICreativeItem, IModelProvider {
2018-10-14 17:46:00 +02:00
private final String baseName;
public ItemImpl(String baseName) {
this.baseName = baseName;
2018-11-29 17:58:47 +01:00
ModRegistry.add(this);
2018-10-14 17:46:00 +02:00
}
@Override
public String getBaseName() {
return this.baseName;
}
@Override
public void onPreInit(FMLPreInitializationEvent event) {
}
@Override
public void onInit(FMLInitializationEvent event) {
}
@Override
public void onPostInit(FMLPostInitializationEvent event) {
}
}