illusivesoulworks / consecration

Minecraft Mod: Makes the undead more resilent except against fire and holy damage, and adds new features to help you slay them
https://www.curseforge.com/minecraft/mc-mods/consecration
Other
4 stars 5 forks source link

Tetrapak : Modular sword material not recognised #66

Closed MiteEnBois closed 1 year ago

MiteEnBois commented 1 year ago

Versions:

I tried with a clean install with only forge, consecration, tetra and it's dependency (mutil) From what i can see, the code finds the material of items by checking the repair material of the item, i.e. the item needed to repair the sword in an anvil. As tetra items cannot be repaired this way, the mod cannot get the repair material, so they can't determine if it's holy or not.

Also, side note : can you put the default holy material as something other than "silver", as it's not a valid registry name under most circumstance, so people like myself don't know to include the name of the registry.

TheIllusiveC4 commented 1 year ago

This is less of a bug and more a feature that had not been re-added. I have now released an update with integrations for Tetra and other mods that use material systems that differ from vanilla's.

Also, side note : can you put the default holy material as something other than "silver", as it's not a valid registry name under most circumstance, so people like myself don't know to include the name of the registry.

This was a bug, the entries are not meant to be namespaced. Namespacing the entries was the workaround, but I have now fixed this bug so that entries like "silver" or "gold" will work as it did in previous versions. The workaround of using namespaced entries will still work for vanilla behavior, but mod integrations will rely on namespace-less entries going forward.