I need help with my mod, I'd like to create a Music Disc, I've tried to create a class that extends from ItemRecord. I can place the disc in the juke box and I can get it back, but the music won't play. I've tried the sound with the /playsound command, and it does work.
Here is my Item class:
public class ItemModRecord extends ItemRecord implements IHasModel
{
public ItemModRecord(String name, CreativeTabs tab, SoundEvent soundIn)
{
super(name, soundIn);
setCreativeTab(tab);
setUnlocalizedName(name);
setRegistryName(name);
ModItems.ITEMS.add(this);
}
@Override
public void RegisterModels()
{
Main.proxy.registerItemRenderer(this, 0, "inventory");
}
}