package buildcraftAdditions.items.dust;
import java.util.List;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import buildcraftAdditions.api.item.dust.IDust;
/**
* Copyright (c) 2014-2015, AEnterprise
* http://buildcraftadditions.wordpress.com/
* Buildcraft Additions is distributed under the terms of GNU GPL v3.0
* Please check the contents of the license located in
* http://buildcraftadditions.wordpress.com/wiki/licensing-stuff/
*/
public class ItemConverter extends Item {
private final IDust dust;
public ItemConverter(IDust dust) {
this.dust = dust;
setUnlocalizedName("dustConverter");
}
public IDust getDust() {
return dust;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister register) {
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean bool) {
list.add("Converter item, please drop this on the ground to retrieve your dust");
list.add("My apologies for this and any issues this might have caused");
}
}