Knokko's Custom Items

Knokko's Custom Items

37.4k Downloads

Respect order of attribute modifiers

knokko opened this issue ยท 1 comments

commented

The order of the attribute modifiers that is shown in the item lore should match the order that is configured in the Editor. Currently, this is not the case because the merge operation converts everything to and from a Set.

commented

This is not as easy as I expected: it looks like the minecraft client can also arbitrarily reorder attribute modifiers. It looks like the only solution is adding the HIDE_ATTRIBUTES item flag and including the attribute modifiers in the lore...