blob: d88df998013a81e73c805cc3842112aaf86eb5d6 [file] [log] [blame] [raw]
package com.legacy.aether.common.items;
import net.minecraft.item.ItemRecord;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.SoundEvent;
import com.legacy.aether.common.registry.creative_tabs.AetherCreativeTabs;
public class ItemAetherDisc extends ItemRecord
{
public String artistName;
public String songName;
protected ItemAetherDisc(String s, SoundEvent event, String artist, String song)
{
super(s, event);
this.artistName = artist;
this.songName = song;
this.setCreativeTab(AetherCreativeTabs.misc);
}
@Override
public String getRecordNameLocal()
{
return this.artistName + " - " + this.songName;
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("aether_legacy", name);
}
}