package uk.co.wehavecookies56.kk.common.item.org; import java.util.List; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumActionResult; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumHand; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import uk.co.wehavecookies56.kk.common.item.base.ItemOrgWeapon; import uk.co.wehavecookies56.kk.common.util.Utils; import uk.co.wehavecookies56.kk.common.util.Utils.OrgMember; public class ItemEtherealBlade extends ItemOrgWeapon implements IOrgWeapon{ public ItemEtherealBlade (double strength, double magic) { super(strength,magic); setMaxStackSize(1); } @Override @SideOnly (Side.CLIENT) public void addInformation (ItemStack itemStack, EntityPlayer player, List dataList, boolean bool) { dataList.add("I Xemnas"); } @Override public EnumActionResult onItemUse(ItemStack stack, EntityPlayer playerIn, World worldIn, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { return super.onItemUse(stack, playerIn, worldIn, pos, hand, facing, hitX, hitY, hitZ); } @Override public OrgMember getMember() { return Utils.OrgMember.XEMNAS; } }