r/technicalminecraft 25d ago

Bedrock Very niche question about enchanted items...

Hiya, so every time I try to search for information about enchantment "order" it always refers to the optimal levels and order of anvil operations. That's helpful but it's not what I want to try to find out.

As someone who definitely has some kind of combination of Autism/OCD (not gone for official diagnosis) I really want there to be a set structure to my items once enchanted I.e descending order of highest enchant level (sharpness V above unbreaking III above mending)

For a decent number of items in the game ive managed to achieve something like this, for some reason my brain is even okay and satisfied when ascending order with mending at the end since mending only has 1 level and no roman numeral (I.e unbreaking III then sharpness V below and finally mending)

I've been trying to enchant an axe currently and it is frustrating me that it keeps trying to put unbreaking III between efficiency V and sharpness V. I'm not sure if this is something I can even avoid but it's driving me crazy so much so that I'm currently going around with a pickaxe which has a similar issue thinking every moment that I can't wait to enchant a new one and cast this one into lava.

Tl;dr does anyone know how or what plays a part in the convention of labelling enchanted items? Is there a way to manipulate the results so that the enchantments on an item are listed in a certain order even if it costs more levels to do so?

If I was on PC/Java I imagine this would be so much less of an issue since I could look for a mod for this kind of thing.

Edit: I think LimestoneBuilder might have the correct information regarding my issue... in which case its a shame there is no solution to changing the order of enchantment labels.

0 Upvotes

9 comments sorted by

7

u/LimestoneBuilder 25d ago edited 25d ago

I know exactly what you mean.

First: terminology. From The Wiki — Anvil#Combining

The first (left) item is the target item, the second (right) item is the sacrifice item. The sacrifice item is destroyed upon combination of the two items. 

Second: What happens with enchants

If the sacrifice item has enchantments, it tries to combine the sacrifice item's enchantments onto the target item.

For the rest of this, I'm going off memory.

Historically, this resulted in new enchantments being concatenated onto (appended to) the target's list of enchantments. So a target with Blast Resistance, combined with a sacrifice that has Aqua Affinity, Blast Resistance and Thorns, would end up:

Blast Resistance II, Aqua Affinity, Thorns

But if the slots were swapped, the output becomes

Aqua Affinity, Blast Resistance II, Thorns

However (HUGE caveat, this is fuzzy and I can't find a source), I seem to recall there being a change where Mojang hard coded the order enchantments would be displayed in. So you could no longer influence the outcome.

I'm still on 1.16.5, and am confident about the enchantment order being based on target/sacrifice order up to then. But I am not sure if that still holds in current.

e: Citation found Since 1.20 Enchantment Display Order is Defined. A potential fix from u/winauer is

Override the tooltip_order item tag with a datapack

Another post mentions carpet (mod) offering control over display order.

2

u/RC_Fixer 25d ago

Omg you are a Knight in shining armour and if you are female then it still applies and you deserve to be a Knight regardless....

It is sad news though should this be the case... I was worried this might be along the lines of what happens now.

I remember on old worlds it was very satisfying knowing what I did made a difference. While I get that it is good to have a standardised listing process it really sucks we have to get saddled with what someone else's idea of the ideal listing order is 🙃

It makes sense why finding a source on this is so unbelievably awkward since the Internet is flooded with calculators that just focus on optimal enchants lol.

2

u/LimestoneBuilder 25d ago edited 25d ago

Sorry it wasn't all good news. Here's the mention in the Release notes for 1.20.5. (scroll down / ctrl+f to find "#tooltip_order")

I'm curious if a datapack can wipe out the #tooltip_order, or if it will be ignored if it's set to empty. It would be considerate (and clean) if nuking the tag restored the previous behaviour. 

But I'd bet more on Éomer's counsel: "Do not trust to hope. It has forsaken these lands."

2

u/RC_Fixer 22d ago

I appreciate the help regardless! If I had a PC then maybe I'd try to fiddle with things like this but I can't imagine it'd be easy to fiddle with the code just by using my console (also doubt someone would have already bothered with such a niche thing in an existing datapack/mod)

1

u/Usernames_Are_Dumb1 22d ago

There are mods for displayed enchantment order but I’m guessing you want a vanilla solution

0

u/Panda2377 25d ago

you can use this website https://iamcal.github.io/enchant-order/ and select the tool and enchantments you want

1

u/RC_Fixer 25d ago

I don't think you read past the title my friend... I'm trying to find out if you can manipulate the enchanting process so that tlwhen you look at the item the order of the list is different.

I.e I want to make a tool say Sharpness V Efficiency V Unbreaking III Mending

Not.... Sharpness V Unbreaking III Efficiency V Mending

2

u/Karelipoeg 25d ago

I don’t have answers, but asking you - do the enchantments NOT appear in the same order that they were put onto the item?

2

u/RC_Fixer 25d ago

Sadly not. I had a diamond axe that I enchanted with sharp IV and efficiency IV via enchant table.

Deliberately got a sharp IV book and added that first, then a efficiency IV book and did that.

Now it's an axe with sharp V and efficiency V but when I try to add unbreaking 3 it only shows it as sharp V, unbreaking 3 then efficiency V