base mod created

This commit is contained in:
Mohammad-Ali Minaie
2018-10-08 09:07:47 -04:00
parent 0a7700c356
commit b86dedad2f
7848 changed files with 584664 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
package net.minecraft.item;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.init.Items;
import net.minecraft.world.World;
public class ItemSoup extends ItemFood
{
public ItemSoup(int healAmount)
{
super(healAmount, false);
this.setMaxStackSize(1);
}
/**
* Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using
* the Item before the action is complete.
*/
public ItemStack onItemUseFinish(ItemStack stack, World worldIn, EntityLivingBase entityLiving)
{
super.onItemUseFinish(stack, worldIn, entityLiving);
return new ItemStack(Items.BOWL);
}
}