Patchouli

Patchouli

167M Downloads

Mods with lexicographically larger IDs than patchouli cannot use custom book items

gliscowo opened this issue ยท 0 comments

commented

Mod loader

Fabric

Minecraft version

1.19

Patchouli version

Any 1.19 build, specifically tested with 1.19-72

Modloader version

Loader 0.14.8 / API 0.56.1+1.19

Modpack info

No response

The latest.log file

https://paste.ee/p/1BHI7

Issue description

Essentially, because the new Xplat Patchouli builds now instantly try to get the book item from registry upon loading, instead of lazily acquiring it like the old fabric builds, any mod which is loaded later than Patchouli cannot use their own items as a custom book item. This specifically occurs with mods whose IDs are lexicographically larger than patchouli , because Fabric runs mod initialization in the natural ordering of the IDs when in a production environment. This issue was reported by users of my mods Victus and Things, both of which get initialized after Patchouli due to their IDs.

Steps to reproduce

  1. Get a basic 1.19 Fabric runtime environment
  2. Install Victus, owo-lib and CCA
  3. Install Patchouli
  4. Launch
  5. Cry because of the error that occurs when Patchouli tries to load Victus' book

Other information

No response