Botania (Fabric/Quilt)

Botania (Fabric/Quilt)

6M Downloads

Botania categories are not sorted in EMI

TheRealWormbo opened this issue ยท 1 comments

commented

Mod Loader

Fabric

Minecraft Version

1.19.2

Botania version

1.19.2-438

Modloader version

Loader 0.14.17, API 0.76.0+1.19.2

Modpack info

No response

The latest.log file

not applicable

Issue description

Botania does not specify any particular sorting order for its EMI categories, while it does so for its JEI categories. The default sorting order seems to be mostly stable between restarts, but doesn't appear to follow any specific logic.

For reference, the JEI sorting definitions from JEIBotaniaPlugin#registerRecipes:

  • Brewery, Pure Daisy, Petal Apothecary, Elven Trades, Runic Altar, Terrestrial Agglomeration Plate: ID
  • Mana Infusion: catalyst type, group (e.g. stone type conversion cycle), ID
  • Orechid, Orechid Ignem, Marimorphosis: weight (not biome-specific for Marimorphosis), ID

Steps to reproduce

No response

Other information

As far as I can tell, EMI does provide a way to specify a sorting order. It may just not be immediately obvious in its API, because it's "hidden away" in the corresponding constructor variant with the most parameters.

commented

It seems the EMI way to allow recipe sorting is (still?) flagged as "experimental", which I guess means if Botania uses that, there might be a chance of not being compatible with a future EMI change.