StackableItems

StackableItems

99k Downloads

All tools get damage, while stacked.

jThenElse opened this issue ยท 4 comments

commented

If two tools are stacked, and you work with them - they both get damaged.

Solution 1 Progress:
Tools (Axe, Pick, Sword, Hoe, Shovel): Fixed
Flint and Steel: Fixed
Fishing Rod: Fixed

commented

I would prefer the 1st solution. Cause i think it will be incompatible with MV-Inventorys and other Inventory plugins like Openinv.

I like the way that stacked bukkits split up on use.

commented

I will do my best to handle both then.

commented

There are two solutions to this:

  1. The way Stackable did it: Split a stack apart when used.
  2. Create a virtual stack (ie. keep track of all data for a stack of different items)

I currently have the Virtual Stacks partially implemented, but there are some bugs that are still popping up, which cause it to break pretty severely. This will allow you though to stack say Iron Pickaxes that have different enchantments or durability.

Because virtual items will be optional though, I might split the stacks when used if virtual items is disabled. Or would it be better to not allow anything with less than max durability stacked?

Let me know what you think on it, but Virtual Items are my current goal in the next update.

commented

All tools should now be handled properly and split off when used.