1 package net.minecraft.src.ChemiCraft;
3 import java.util.Random;
5 import net.minecraft.src.*;
7 public class ItemGasCollectingBottle extends Item {
9 protected ItemGasCollectingBottle(int id) {
11 this.setMaxStackSize(1);
13 this.setCreativeTab(CreativeTabs.tabMaterials);
17 public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer){
19 par1ItemStack.damageItem(1, par3EntityPlayer);
20 AtomInfo AtomInfo = new AtomInfo(par2World, par3EntityPlayer);
21 AtomInfo.aboveY(par3EntityPlayer, 128, null, null, 0, 7);
26 public String getTextureFile()
28 this.isDefaultTexture = false;
29 return "/ChemiCraft/items.png";