package wehavecookies56.kk.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import wehavecookies56.kk.KingdomKeys;
import wehavecookies56.kk.core.extendedproperties.EntityPropertyDriveForm;
import wehavecookies56.kk.lib.Strings;
public class ItemMasterFormOrb extends Item {
public ItemMasterFormOrb() {
super();
this.setUnlocalizedName(Strings.MasterFormOrb);
this.setCreativeTab(KingdomKeys.KKTAB);
}
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer entity)
{
EntityPropertyDriveForm df = EntityPropertyDriveForm.get(entity);
df.setMasterUnlocked(1);
return item;
}
}