You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make auto-spliting on item damages optional (tools/weapons/etc.) #35
lol tested if u somehow manage to equip more than 1 armor in one slot it unequip them if it got damaged (one will stay "in you" and the others got send back to ur inv) sadly it also work with shield
in vanilla mc if u obtain stacked armors/tools it's cool bc if u break it u will get all the rest with full durability i mean the durability resets so this is useless :(
i try-ed with leather armor and gold tools if u have
64 gold pickaxe (in stack) and u break 32 block with it u will have 63 gold pickaxe (in stack) and the one is broken (bc gold tools have 32 durability)
and if u have 64 leather cap in ur helmet slot and it got 55 damage (the leather cap durability) u will have 63 leather cap in ur armor slot
lol i see... the game resets the durability of the rest of the stacks to full when one item is broken... so if you have 2 damaged item happens to have the same durability, and you stack them together, broke one, another one get full durability
anyway... if you prefer this way...
there you go AllStackable-v1.5.6-1.19.zip
make sure you have "noAutoUnstackDamageableTools": 1 in your config, something like the following:
lol i see... the game resets the durability of the rest of the stacks to full when one item is broken... so if you have 2 damaged item happens to have the same durability, and you stack them together, broke one, another one get full durability
so yeah, i will not fix the reset issue as the game has no idea what's the durability of the rest of the stack lol
Activity
NukuHack commentedon Jul 25, 2022
lol tested if u somehow manage to equip more than 1 armor in one slot it unequip them if it got damaged (one will stay "in you" and the others got send back to ur inv) sadly it also work with shield
NukuHack commentedon Jul 25, 2022
lol if u have something in ur hand (more than 1) and it got dmg (lost durability) it got unstacked so u will have 1 in ur hand and the rest in ur inv
NukuHack commentedon Jul 25, 2022
ofc if ur inv is full , u will have only one of that thing and the rest will be dropped on the ground
[-]All Stackable Armor[/-][+]All Stackable / Armor[/+]KrisCris commentedon Jul 27, 2022
I think that's the intended behavior, I made it do that.
Whereas without my fixes, all damageable items just got the same dmg lol
KrisCris commentedon Jul 27, 2022
AllStackable/src/main/java/online/connlost/allstackable/mixin/MixinItemStack.java
Lines 33 to 46 in 5c85bee
I honestly can't come up with a better solution. So this probably won't be fixed as this is not a bug.
NukuHack commentedon Jul 27, 2022
in vanilla mc if u obtain stacked armors/tools it's cool bc if u break it u will get all the rest with full durability i mean the durability resets so this is useless :(
NukuHack commentedon Jul 27, 2022
it wouls be cool if u would make it to togle-able or something like that
KrisCris commentedon Jul 27, 2022
hmm what do you mean? when you are using a stack of tools/shields/weapons, only one of them will get damaged.
KrisCris commentedon Jul 27, 2022
by disable that code, not just one, ALL stack of them lose durability
NukuHack commentedon Jul 27, 2022
yes ... but if u manage to break that item one will be loosen
KrisCris commentedon Jul 27, 2022
you mean the damaged item will be unstacked, right?
I don't think a stack of items can have different states, like one with full durability while the rest are broken or something
NukuHack commentedon Jul 27, 2022
i try-ed with leather armor and gold tools if u have
64 gold pickaxe (in stack) and u break 32 block with it u will have 63 gold pickaxe (in stack) and the one is broken (bc gold tools have 32 durability)
and if u have 64 leather cap in ur helmet slot and it got 55 damage (the leather cap durability) u will have 63 leather cap in ur armor slot
NukuHack commentedon Jul 27, 2022
yes if u manually unstack them before one break all will have the durability loss but i don't want that so i wait untill it gets breaked
KrisCris commentedon Jul 27, 2022
lol i see... the game resets the durability of the rest of the stacks to full when one item is broken... so if you have 2 damaged item happens to have the same durability, and you stack them together, broke one, another one get full durability
KrisCris commentedon Jul 27, 2022
anyway... if you prefer this way...
there you go AllStackable-v1.5.6-1.19.zip
make sure you have
"noAutoUnstackDamageableTools": 1in your config, something like the following:[ { "minecraft:golden_axe": 16 }, { "permissionLevel": 4, "stackEmptyShulkerBoxOnly": 0, "noAutoUnstackDamageableTools": 1 } ]KrisCris commentedon Jul 27, 2022
so yeah, i will not fix the reset issue as the game has no idea what's the durability of the rest of the stack lol
[-]All Stackable / Armor[/-][+]Make auto-spliting on item damages optional (tools/weapons/etc.)[/+]