
[Bug]: Compatibility problem with `Majrusz Library`
SiverDX opened this issue ยท 0 comments
Bug Description
Tested with:
- spirit-forge-1.19.2-2.2.4.jar
- vitalize-forge-1.19.2-1.1.1.jar
- majruszs-accessories-1.19.2-1.1.4.jar
- create-1.19.2-0.5.0.i.jar
- createaddition-1.19.2-20230426a.jar
[14:58:33] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.ReportedException: Ticking block entity
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:870) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.util.NoSuchElementException: minecraft:last_damage_player
at earth.terrarium.vitalize.api.ModifiedLootContext.m_165124_(ModifiedLootContext.java:44) ~[vitalize-forge-1.19.2-1.1.1.jar%23168!/:?]
at com.mlib.events.AnyLootModificationEvent.getParameter(AnyLootModificationEvent.java:43) ~[majrusz-library-1.19.2-3.3.0.jar%23164!/:3.3.0]
at com.mlib.events.AnyLootModificationEvent.<init>(AnyLootModificationEvent.java:37) ~[majrusz-library-1.19.2-3.3.0.jar%23164!/:3.3.0]
at com.mlib.features.AnyModification.doApply(AnyModification.java:29) ~[majrusz-library-1.19.2-3.3.0.jar%23164!/:3.3.0]
at net.minecraftforge.common.loot.LootModifier.apply(LootModifier.java:58) ~[forge-1.19.2-43.2.10-universal.jar%23174!/:?]
at net.minecraftforge.common.ForgeHooks.modifyLoot(ForgeHooks.java:1320) ~[forge-1.19.2-43.2.10-universal.jar%23174!/:?]
at net.minecraft.world.level.storage.loot.LootTable.m_230922_(LootTable.java:90) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at earth.terrarium.vitalize.api.LootTableUtils.getLootTable(LootTableUtils.java:22) ~[vitalize-forge-1.19.2-1.1.1.jar%23168!/:?]
at earth.terrarium.vitalize.blocks.SoulRevitalizerBlockEntity.tick(SoulRevitalizerBlockEntity.java:157) ~[vitalize-forge-1.19.2-1.1.1.jar%23168!/:?]
at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:687) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:780) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.world.level.Level.m_46463_(Level.java:446) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:331) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23169!/:?]
... 5 more
How to Reproduce?
- Use the described mods
- Create a
Vitalize
setup - Wait for the timer to finish
Expected Behavior
No crash
Version
1.1.1
Mod Loader Version
1.19.2 - 43.2.10
Mod Loader
Forge
Logs or additional context
No response
Code of Conduct
- I have searched the issue tracker and confirmed that the issue has not been reported
- I have checked the FAQ (if one is present) and my issue is not listed
- I have verified that I am using the latest version of the mod
- I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.