Rosewood-Development / RoseStacker

A next-generation stacker plugin for Spigot and Paper servers
Other
137 stars 35 forks source link

[Request] Correctly decrease durability on used tools #100

Open quiquelhappy opened 6 months ago

quiquelhappy commented 6 months ago

Correctly decrease durability on used tools, based on the amount of entities. Might include shears, swords, etc.

Esophose commented 6 months ago

The only one I can really think of that would be practical here is shear uses. The sword damage is already applied properly when killing individual mobs in a stack, and it would seem weird to me to have it damaged extra for killing an entire stack. Would it only apply one durability per mob in the stack? A percentage? It's hard to tell. With sheep shearing it's fairly easy, one durability per sheep making sure to take unbreaking into account. I'll add a setting for accurate shears damage at the very least.

Edit: I can also add a similar setting for tools damaging mobs, just don't be surprised when a player is confused that their entire pickaxe broke when they hit a stack of 2000 mobs with it (pickaxes are considered a weapon, like swords and would also take extra damage)