---- Minecraft Crash Report ---- // Everything's going to plan. No, really, that was supposed to happen. Time: 2024-06-07 09:14:42 Description: Saving entity NBT java.lang.IllegalStateException: Cannot encode empty ItemStack at net.minecraft.world.item.ItemStack.net.minecraft.nbt.Tag save(net.minecraft.core.HolderLookup$Provider)(ItemStack.java:401) at net.minecraft.world.entity.projectile.AbstractArrow.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(AbstractArrow.java:541) at net.minecraft.world.entity.projectile.ThrownTrident.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(ThrownTrident.java:195) at net.minecraft.world.entity.Entity.net.minecraft.nbt.CompoundTag saveWithoutId(net.minecraft.nbt.CompoundTag)(Entity.java:1922) at net.minecraft.world.entity.Entity.boolean saveAsPassenger(net.minecraft.nbt.CompoundTag)(Entity.java:1858) at net.minecraft.world.entity.Entity.boolean save(net.minecraft.nbt.CompoundTag)(Entity.java:1866) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:109) at net.minecraft.world.level.chunk.storage.EntityStorage.void lambda$storeEntities$1(net.minecraft.nbt.ListTag,net.minecraft.world.entity.Entity)(EntityStorage.java:109) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:107) at net.minecraft.world.level.entity.PersistentEntitySectionManager.boolean storeChunkSections(long,java.util.function.Consumer)(PersistentEntitySectionManager.java:299) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void lambda$autoSave$13(long)(PersistentEntitySectionManager.java:380) at it.unimi.dsi.fastutil.longs.LongOpenHashSet.null forEach(null)(LongOpenHashSet.java:762) at it.unimi.dsi.fastutil.longs.LongIterable.null forEach(null)(LongIterable.java:146) at it.unimi.dsi.fastutil.longs.AbstractLongCollection.null forEach(null)(AbstractLongCollection.java:153) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void autoSave()(PersistentEntitySectionManager.java:374) at net.minecraft.server.level.ServerLevel.void save(net.minecraft.util.ProgressListener,boolean,boolean)(ServerLevel.java:825) at net.minecraft.server.MinecraftServer.boolean saveAllChunks(boolean,boolean,boolean)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean saveEverything(boolean,boolean,boolean)(MinecraftServer.java:580) at net.minecraft.client.server.IntegratedServer.boolean saveEverything(boolean,boolean,boolean)(IntegratedServer.java:318) at net.minecraft.client.server.IntegratedServer.void tickServer(java.util.function.BooleanSupplier)(IntegratedServer.java:96) at net.minecraft.server.MinecraftServer.void runServer()(MinecraftServer.java:697) at net.minecraft.server.MinecraftServer.net.minecraft.server.MinecraftServer spin(java.util.function.Function)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.void lambda$spin$2(java.util.concurrent.atomic.AtomicReference)(MinecraftServer.java:281) at java.base/java.lang.Thread.run(Thread.java:1583) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Stacktrace: at net.minecraft.world.item.ItemStack.net.minecraft.nbt.Tag save(net.minecraft.core.HolderLookup$Provider)(ItemStack.java:401) at net.minecraft.world.entity.projectile.AbstractArrow.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(AbstractArrow.java:541) at net.minecraft.world.entity.projectile.ThrownTrident.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(ThrownTrident.java:195) -- Entity being saved -- Details: Entity Type: minecraft:trident (coc) Entity ID: 1897 Entity Name: Trident Entity's Exact location: -64.02, 111.02, 14.03 Entity's Block location: World: (-65,111,14), Section: (at 15,15,14 in -5,6,0; chunk contains blocks -80,-64,0 to -65,319,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511) Entity's Momentum: -1.59, -0.73, -0.88 Entity's Passengers: [] Entity's Vehicle: null Stacktrace: at net.minecraft.world.entity.Entity.net.minecraft.nbt.CompoundTag saveWithoutId(net.minecraft.nbt.CompoundTag)(Entity.java:1922) at net.minecraft.world.entity.Entity.boolean saveAsPassenger(net.minecraft.nbt.CompoundTag)(Entity.java:1858) at net.minecraft.world.entity.Entity.boolean save(net.minecraft.nbt.CompoundTag)(Entity.java:1866) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:109) at net.minecraft.world.level.chunk.storage.EntityStorage.void lambda$storeEntities$1(net.minecraft.nbt.ListTag,net.minecraft.world.entity.Entity)(EntityStorage.java:109) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:107) at net.minecraft.world.level.entity.PersistentEntitySectionManager.boolean storeChunkSections(long,java.util.function.Consumer)(PersistentEntitySectionManager.java:299) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void lambda$autoSave$13(long)(PersistentEntitySectionManager.java:380) at it.unimi.dsi.fastutil.longs.LongOpenHashSet.null forEach(null)(LongOpenHashSet.java:762) at it.unimi.dsi.fastutil.longs.LongIterable.null forEach(null)(LongIterable.java:146) at it.unimi.dsi.fastutil.longs.AbstractLongCollection.null forEach(null)(AbstractLongCollection.java:153) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void autoSave()(PersistentEntitySectionManager.java:374) at net.minecraft.server.level.ServerLevel.void save(net.minecraft.util.ProgressListener,boolean,boolean)(ServerLevel.java:825) at net.minecraft.server.MinecraftServer.boolean saveAllChunks(boolean,boolean,boolean)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean saveEverything(boolean,boolean,boolean)(MinecraftServer.java:580) at net.minecraft.client.server.IntegratedServer.boolean saveEverything(boolean,boolean,boolean)(IntegratedServer.java:318) at net.minecraft.client.server.IntegratedServer.void tickServer(java.util.function.BooleanSupplier)(IntegratedServer.java:96) at net.minecraft.server.MinecraftServer.void runServer()(MinecraftServer.java:697) at net.minecraft.server.MinecraftServer.net.minecraft.server.MinecraftServer spin(java.util.function.Function)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.void lambda$spin$2(java.util.concurrent.atomic.AtomicReference)(MinecraftServer.java:281) at java.base/java.lang.Thread.run(Thread.java:1583) -- System Details -- Details: Minecraft Version: 1.21 Pre-Release 4 Minecraft Version ID: 1.21-pre4 Operating System: Mac OS X (aarch64) version 14.5 Java Version: 21.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 763899776 bytes (728 MiB) / 1308622848 bytes (1248 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 8 Processor Vendor: Apple Inc. Processor Name: Apple M1 Identifier: Apple Inc. Family 0x1b588bb3 Model 0 Stepping 0 Microarchitecture: ARM64 SoC: Firestorm + Icestorm Frequency (GHz): 3.20 Number of physical packages: 1 Number of physical CPUs: 8 Number of logical CPUs: 8 Graphics card #0 name: Apple M1 Graphics card #0 vendor: Apple (0x106b) Graphics card #0 VRAM (MiB): 0.00 Graphics card #0 deviceId: unknown Graphics card #0 versionInfo: unknown Memory slot #0 capacity (MiB): 0.00 Memory slot #0 clockSpeed (GHz): 0.00 Memory slot #0 type: unknown Virtual memory max (MiB): 16384.00 Virtual memory used (MiB): 12461.88 Swap memory total (MiB): 0.00 Swap memory used (MiB): 0.00 Space in storage for jna.tmpdir (MiB): available: 413079.53, total: 948584.19 Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 413079.53, total: 948584.19 Space in storage for io.netty.native.workdir (MiB): available: 413079.53, total: 948584.19 Space in storage for java.io.tmpdir (MiB): available: 413079.53, total: 948584.19 Space in storage for workdir (MiB): available: 413079.53, total: 948584.19 JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Server Running: true Player Count: 1 / 8; [aqv['GetSirius55'/24, l='ServerLevel[24w18a]', x=-59.02, y=112.00, z=9.43]] Active Data Packs: vanilla, bundle, file/sp_enchantments (incompatible) Available Data Packs: bundle, file/sp_climate (incompatible), file/sp_enchantments (incompatible), trade_rebalance, vanilla Enabled Feature Flags: minecraft:bundle, minecraft:vanilla World Generation: Experimental World Seed: 7642882926310723309 Type: Integrated Server (map_client.txt) Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched Launched Version: 1.21-pre4