Initial stab at 1.11
About halfway.
This commit is contained in:
parent
ce52aea512
commit
00d6f8eb46
157 changed files with 1036 additions and 1554 deletions
|
@ -76,8 +76,9 @@ public class ItemPotionFlask extends Item implements IVariantProvider
|
|||
}
|
||||
|
||||
@Override
|
||||
public ActionResult<ItemStack> onItemRightClick(ItemStack stack, World world, EntityPlayer player, EnumHand hand)
|
||||
public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer player, EnumHand hand)
|
||||
{
|
||||
ItemStack stack = player.getHeldItem(hand);
|
||||
int remainingUses = stack.getMaxDamage() - stack.getItemDamage();
|
||||
if (remainingUses <= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue