Lootr Migrate to New Package Path
hammy275 opened this issue ยท 2 comments
Didn't actually address this in the fix for #428, so I should be doing that here. Need to see which Minecraft versions have the new name.
The rename (as mentioned in the second Discord thread linked from #428) is from .blocks.
to .block.
in the package name.
In terms of Fabric, the rename only happened for 1.20.1. In terms of Forge and NeoForge, it's always been block
, and ImmersiveMC's codebase respects this.
So that people can use both older and newer Lootr versions, I'll use reflection on the Fabric-side of things so we can just use whichever is available. This will only happen on the Fabric-side of compat. Although nooby mentioned in the Discord thread that package names will stay the same going forward, I'm going to propagate this across ImmersiveMC, both in case he changes his mind and because I would like to keep a consistent codebase across Minecraft versions (see the Tinkers Construct's Workbench support existing in every Minecraft version ImmersiveMC supports despite TC not going past 1.19.2).