Big parameter name cleanup, part 1

This commit is contained in:
Vincent Lee committed 2016-06-11 14:28:22 -05:00
1 parent c357ab68c3
commit ece95aca1c
73 files changed
+216 -215

No files matched your search

@@ -68,21 +68,21 @@ public abstract class ItemBrewBase extends ItemMod implements IBrewItem, IPickup
}
@Override
public int getMaxItemUseDuration(ItemStack p_77626_1_) {
public int getMaxItemUseDuration(ItemStack stack) {
return drinkSpeed;
}
@Nonnull
@Override
public EnumAction getItemUseAction(ItemStack p_77661_1_) {
public EnumAction getItemUseAction(ItemStack stack) {
return EnumAction.DRINK;
}
@Nonnull
@Override
public ActionResult<ItemStack> onItemRightClick(@Nonnull ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_, EnumHand hand) {
p_77659_3_.setActiveHand(hand);
return ActionResult.newResult(EnumActionResult.SUCCESS, p_77659_1_);
public ActionResult<ItemStack> onItemRightClick(@Nonnull ItemStack stack, World world, EntityPlayer player, EnumHand hand) {
player.setActiveHand(hand);
return ActionResult.newResult(EnumActionResult.SUCCESS, stack);
}
@Override