Closed ColdTearsYY closed 2 months ago
I see that you're trying to run MC 1.20.1 with version 4.1.1 of Primal Magick. That version of PM is meant to be used with version 1.20.2 of Minecraft. There are often significant differences in the Minecraft codebase, even in minor patches of the game. Do you encounter this error on the supported version as well?
I tried this version because I encountered a bug on 4.0.9. Similar to https://github.com/daedalus4096/PrimalMagick/issues/241 I will test it in seconds and give you more additional information later. I put enchanted ink and quill into the research table and it disappeared immediately. And the server console gave me error message
JadeErrorOutput.txt: java.lang.NullPointerException: Cannot invoke "net.minecraft.core.Direction.ordinal()" because "face" is null at TRANSFORMER/primalmagick@4.0.9/com.verdantartifice.primalmagick.common.tiles.devices.ResearchTableTileEntity.getInventoryIndexForFace(ResearchTableTileEntity.java:64) at TRANSFORMER/primalmagick@4.0.9/com.verdantartifice.primalmagick.common.tiles.base.AbstractTileSidedInventoryPM.getCapability(AbstractTileSidedInventoryPM.java:109) at TRANSFORMER/forge@47.2.20/net.minecraftforge.common.capabilities.ICapabilityProvider.getCapability(ICapabilityProvider.java:33) at TRANSFORMER/jade@11.8.0/snownee.jade.util.CommonProxy.createItemCollector(CommonProxy.java:257) at TRANSFORMER/jade@11.8.0/snownee.jade.addon.universal.ItemStorageProvider.lambda$getGroups$3(ItemStorageProvider.java:241) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2159) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache.get(LocalCache.java:3966) at MC-BOOTSTRAP/com.google.common@31.1-jre/com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863) at TRANSFORMER/jade@11.8.0/snownee.jade.addon.universal.ItemStorageProvider.getGroups(ItemStorageProvider.java:241) at TRANSFORMER/jade@11.8.0/snownee.jade.addon.universal.ItemStorageProvider.putData(ItemStorageProvider.java:166) at TRANSFORMER/jade@11.8.0/snownee.jade.addon.universal.ItemStorageProvider.appendServerData(ItemStorageProvider.java:209) at TRANSFORMER/jade@11.8.0/snownee.jade.addon.universal.ItemStorageProvider.appendServerData(ItemStorageProvider.java:54) at TRANSFORMER/jade@11.8.0/snownee.jade.impl.BlockAccessorImpl.lambda$handleRequest$0(BlockAccessorImpl.java:74) at TRANSFORMER/minecraft@1.20.1/net.minecraft.util.thread.BlockableEventLoop.m18693(BlockableEventLoop.java:67) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.TickTask.run(TickTask.java:18) at TRANSFORMER/minecraft@1.20.1/net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) at TRANSFORMER/minecraft@1.20.1/net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:770) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:161) at TRANSFORMER/minecraft@1.20.1/net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m129961(MinecraftServerMixin.java:753) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m7245(MinecraftServerMixin.java:747) at TRANSFORMER/minecraft@1.20.1/net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m130012(MinecraftServerMixin.java:733) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m130011(MinecraftServerMixin.java:2075) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m206580(MinecraftServerMixin.java:251) at java.base/java.lang.Thread.run(Thread.java:1583)
[10:41:04 ERROR] [Jade]: Caught unhandled exception : [null] java.lang.NullPointerException: Cannot invoke "net.minecraft.core.Direction.ordinal()" because "face" is null [10:41:04 ERROR] [Jade]: See JadeErrorOutput.txt for more information [10:41:06 ERROR]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerClickPacket@25544e78, suppressing error net.minecraft.ReportedException: Container click at net.minecraft.world.inventory.AbstractContainerMenu.m150399(AbstractContainerMenuMixin.java:308) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.m5914(ServerPlayNetHandlerMixin.java:3406) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m5797(ServerboundContainerClickPacket.java:56) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m5797(ServerboundContainerClickPacket.java:12) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.network.protocol.PacketUtils.md8fbd51$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:537) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m129961(MinecraftServerMixin.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m7245(MinecraftServerMixin.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m130012(MinecraftServerMixin.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServerMixin.java:2075) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServerMixin.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.core.Direction.ordinal()" because "face" is null at com.verdantartifice.primalmagick.common.tiles.devices.ResearchTableTileEntity.getInventoryIndexForFace(ResearchTableTileEntity.java:64) ~[primalmagick-4.0.9.jar%23753!/:4.0.9] at com.verdantartifice.primalmagick.common.tiles.base.AbstractTileSidedInventoryPM.getCapability(AbstractTileSidedInventoryPM.java:109) ~[primalmagick-4.0.9.jar%23753!/:4.0.9] at net.minecraftforge.common.capabilities.ICapabilityProvider.getCapability(ICapabilityProvider.java:33) ~[forge-1.20.1-47.2.20-universal.jar%23850!/:?] at net.minecraft.world.level.block.entity.BlockEntity.handler$zin000$onMarkDirty(BlockEntityMixin.java:1033) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.world.level.block.entity.BlockEntity.m6596(BlockEntityMixin.java) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at com.verdantartifice.primalmagick.common.tiles.base.AbstractTileSidedInventoryPM.m6596(AbstractTileSidedInventoryPM.java:131) ~[primalmagick-4.0.9.jar%23753!/:4.0.9] at com.verdantartifice.primalmagick.common.capabilities.ItemStackHandlerPM.onContentsChanged(ItemStackHandlerPM.java:38) ~[primalmagick-4.0.9.jar%23753!/:4.0.9] at net.minecraftforge.items.ItemStackHandler.setStackInSlot(ItemStackHandler.java:45) ~[forge-1.20.1-47.2.20-universal.jar%23850!/:?] at net.minecraftforge.items.SlotItemHandler.m5866(SlotItemHandler.java:83) ~[forge-1.20.1-47.2.20-universal.jar%23850!/:?] at net.minecraft.world.inventory.Slot.m150656(SlotMixin.java:163) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.world.inventory.AbstractContainerMenu.m150430(AbstractContainerMenuMixin.java:1118) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] at net.minecraft.world.inventory.AbstractContainerMenu.m150399(AbstractContainerMenuMixin.java:294) ~[server-1.20.1-20230612.114412-srg.jar%23845!/:?] ... 17 more
The bug you posted for the v4.0.9 version of Primal Magick should be fixed in v4.1.1, but you can only use that version of the mod with 1.20.2 of Minecraft. If you're going to stay on 1.20.1, then I'm afraid your only workaround is to keep your research table away from your Ars Nouveau table.
crash report: https://mclo.gs/fLm8Kpu version: 1.20.1