// Path: src/main/java/com/team/kalstuff/KalStuffSoundEvents.java
// @ObjectHolder(KalStuff.MODID)
// public class KalStuffSoundEvents
// {
// 	@ObjectHolder("item.closed_soda.open")
// 	public static final SoundEvent CAN_OPEN = null;
// 
// 	@Mod.EventBusSubscriber(modid = KalStuff.MODID)
// 	public static class RegistrationHandler
// 	{
// 		/**
// 		 * Register this mod's {@link SoundEvent}s.
// 		 *
// 		 * @param event
// 		 *            The event
// 		 */
// 		@SubscribeEvent
// 		public static void registerSoundEvents(final RegistryEvent.Register<SoundEvent> event)
// 		{
// 			final SoundEvent[] soundEvents = { createSoundEvent("item.closed_soda.open") };
// 			event.getRegistry().registerAll(soundEvents);
// 		}
// 
// 		/**
// 		 * Create a {@link SoundEvent}.
// 		 *
// 		 * @param soundName
// 		 *            The SoundEvent's name without the testmod3 prefix
// 		 * @return The SoundEvent
// 		 */
// 		private static SoundEvent createSoundEvent(final String soundName)
// 		{
// 			final ResourceLocation soundID = new ResourceLocation(KalStuff.MODID, soundName);
// 			return new SoundEvent(soundID).setRegistryName(soundID);
// 		}
// 	}
// }


import java.util.List;
import com.team.kalstuff.KalStuffSoundEvents;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ActionResult;
import net.minecraft.util.EnumActionResult;
import net.minecraft.util.EnumHand;
import net.minecraft.util.SoundCategory;
import net.minecraft.world.World;
package com.team.kalstuff.item;




public class ItemClosedSoda extends ItemKalStuff
{
	private ItemStack returnStack = ItemStack.EMPTY;

	public ItemClosedSoda(String name)
	{
		super(name);
		this.setMaxStackSize(6);
	}

	@Override
	public ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand hand)
	{
		super.onItemRightClick(worldIn, playerIn, hand);
// Path: src/main/java/com/team/kalstuff/KalStuffSoundEvents.java
// @ObjectHolder(KalStuff.MODID)
// public class KalStuffSoundEvents
// {
// 	@ObjectHolder("item.closed_soda.open")
// 	public static final SoundEvent CAN_OPEN = null;
// 
// 	@Mod.EventBusSubscriber(modid = KalStuff.MODID)
// 	public static class RegistrationHandler
// 	{
// 		/**
// 		 * Register this mod's {@link SoundEvent}s.
// 		 *
// 		 * @param event
// 		 *            The event
// 		 */
// 		@SubscribeEvent
// 		public static void registerSoundEvents(final RegistryEvent.Register<SoundEvent> event)
// 		{
// 			final SoundEvent[] soundEvents = { createSoundEvent("item.closed_soda.open") };
// 			event.getRegistry().registerAll(soundEvents);
// 		}
// 
// 		/**
// 		 * Create a {@link SoundEvent}.
// 		 *
// 		 * @param soundName
// 		 *            The SoundEvent's name without the testmod3 prefix
// 		 * @return The SoundEvent
// 		 */
// 		private static SoundEvent createSoundEvent(final String soundName)
// 		{
// 			final ResourceLocation soundID = new ResourceLocation(KalStuff.MODID, soundName);
// 			return new SoundEvent(soundID).setRegistryName(soundID);
// 		}
// 	}
// }


// Path: src/main/java/com/team/kalstuff/item/ItemClosedSoda.java
import java.util.List;
import com.team.kalstuff.KalStuffSoundEvents;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ActionResult;
import net.minecraft.util.EnumActionResult;
import net.minecraft.util.EnumHand;
import net.minecraft.util.SoundCategory;
import net.minecraft.world.World;

package com.team.kalstuff.item;




public class ItemClosedSoda extends ItemKalStuff
{
	private ItemStack returnStack = ItemStack.EMPTY;

	public ItemClosedSoda(String name)
	{
		super(name);
		this.setMaxStackSize(6);
	}

	@Override
	public ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand hand)
	{
		super.onItemRightClick(worldIn, playerIn, hand);
		worldIn.playSound(playerIn, playerIn.posX, playerIn.posY, playerIn.posZ, KalStuffSoundEvents.CAN_OPEN,