-
-
Save anonymous/8801abbff03c4f0e36b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jonas.myMod; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.item.EnumRarity; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemFood; | |
import net.minecraft.item.ItemStack; | |
import net.minecraft.world.World; | |
public class ItemPotatoSkewer extends ItemFood { | |
public ItemPotatoSkewer(int par1, int par2, float par3, boolean par4) | |
{ | |
super(par1, par2, par3, par4); | |
} | |
public ItemStack onEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) | |
{ | |
super.onEaten(par1ItemStack, par2World, par3EntityPlayer); | |
return new ItemStack(Item.stick); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment