#Is it possibly you have my Universal

1 messages · Page 1 of 1 (latest)

frank spruce
#

I do have Universal Enchants, I didn't realize that was yours as well at the time. Unfortunately I can not try the new version. I just tried to install the new version and it crashes the game as soon as I load up my save.

I think Spiky Spikes may be angry because some enchantment I applied no longer exist?

java.lang.NullPointerException: Cannot invoke "java.util.Map.entrySet()" becausde "enchantments" is null
at fuzs.spikyspikes.world.level.block.entity.SpikeBlockEntity.attack(SpikeBlockEntity.java:118) ~[SpikySpikes-v4.0.3-1.19.2-Forge.jar%23427!/:4.0.3] {re:classloading}
at fuzs.spikyspikes.world.level.block.entity.SpikeBlockEntity.attack(SpikeBlockEntity.java:100) ~[SpikySpikes-v4.0.3-1.19.2-Forge.jar%23427!/:4.0.3] {re:classloading}
at fuzs.spikyspikes.world.level.block.SpikeBlock.m_7892_(SpikeBlock.java:182) ~[SpikySpikes-v4.0.3-1.19.2-Forge.jar%23427!/:4.0.3] {re:classloading}

deep jacinth
#

I just pushed another release that should prevent this error. Can you confirm? It‘s v4.0.4.

frank spruce
#

I can confirm the crash is gone and I can apply the sharpness and looting enchants. Nice work, thank you!

deep jacinth
#

Awesome, thanks for the reports!

frank spruce
#

Since we are having such a good run, I got another one: Spiky Spikes does not seem to be Apotheosis compatible. It uses vanilla level caps even with Apotheosis installed

deep jacinth
#

yeah that‘s to be expected, the way apotheosis implements some changes is not designed to get along well with other mods

deep jacinth
frank spruce
#

I'll try it, even though I already found a way to make it work with the apo level caps

deep jacinth
#

Really, How?

#

There's only one thing that doesn't work: you cannot increase the enchanting levels on a spike above vanilla, so e.g. a spike with sharpness 6 + a sharpness 6 book won't give you sharpness 7, it will stay at 6
But as long as the book already has e.g. sharpness 7 that'll work

frank spruce
#

apo uses a coremod, i just unzipped their jar, threw your mod in the classes to be modded and it worked

deep jacinth
#

wow that's a nice trick, didn't think apotheosis was made in a way to support this
but yeah I now see this is also how they support Quark

frank spruce
#

I can confirm that your solution works too.

#

Just an idea for relatively easy Apo compat in the future: If you take the Apo compat you already wrote for the infuser and integrate it into puzzleslib, you could pass anything related to enchanting through the library.