+ this.setCreativeTab(ChemiCraft.tabAtoms);
+ }
+
+ @Override
+ public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5){
+ for(int i=0;i < ChemiCraftAPI.getCompoundsName().size();i++){
+ for(int j=0;j < ChemiCraftAPI.getCompoundHandlerItemName().size();j++){
+ if(ChemiCraftAPI.getCompoundsName().get(i).equals(ChemiCraftAPI.getCompoundHandlerItemName().get(i))){
+ ChemiCraftAPI.getCompoundHandler().get(j).onUpdateHandler(par1ItemStack, par2World, par3Entity, par4, par5);
+ }
+ }
+ }