...
 
Commits (3)
......@@ -10,6 +10,7 @@ import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class ModItemBase extends Item {
public ModItemBase(String name) {
setCreativeTab(ModTab.get());
setRegistryName(new ResourceLocation(Coordinated.MODID, name));
......@@ -20,4 +21,5 @@ public class ModItemBase extends Item {
public void initModel() {
ModelLoader.setCustomModelResourceLocation(this, 0, new ModelResourceLocation(getRegistryName(), "inventory"));
}
}