-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crashes and dupe cart resources #1211
Comments
After researching, it happened when i take resources from chest and disable redstone signal on cart assembler. |
So... if you want to fix this problem, the easiest way use my fork (Build it!) https://github.com/Lisoveliy/Create-fork where that line has changed to the one mentioned above. |
Video with reproduce bug |
I'm getting the exact same error in the same environment except for the extra mod. It's so painful...... |
Can confirm that official one also has this issue. The workaround we found was to unload most of the storage before turning the contraption back to blocks. This also applies picking it up, before you put it into your inventory, make sure its near empty so that the NBT data would fit into MC packets. |
downgrade fabric api to 0.88.1 |
duplicate of #1080 |
Describe the Bug
Sodium Fix is installed on the client, but I think it has nothing to do with the crash. My friend and I were playing on my personal server and after installing the cart on the rails (we made a drill) for collect resources from chests, the server closed. I think my friend installed the cart assembler while I was doing my affairs, but server crashed after 10-20 seconds after that. When I restarted the server, I saw a cart with resources on the floor, but the cart and resources in the chests did not disappear.
Reproduction Steps
Expected Result
Server doesn't crash, resources don't dupe.
Screenshots and Videos
Crash Report or Log
---- Minecraft Crash Report ---- // I blame Dinnerbone. Time: 2023-12-03 19:03:52 Description: Ticking block entity java.lang.IllegalArgumentException: Transfer variant may not be blank. at net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions.notBlank(StoragePreconditions.java:39) at net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions.notBlankNotNegative(StoragePreconditions.java:58) at net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage.extract(SingleStackStorage.java:136) at net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage.extract(SingleStackStorage.java:42) at io.github.fabricators_of_create.porting_lib.transfer.TransferUtil.clearStorage(TransferUtil.java:343) at com.simibubi.create.content.contraptions.MountedStorageManager.clear(MountedStorageManager.java:189) at com.simibubi.create.content.contraptions.Contraption.addBlocksToWorld(Contraption.java:1132) at com.simibubi.create.content.contraptions.AbstractContraptionEntity.disassemble(AbstractContraptionEntity.java:667) at com.simibubi.create.content.contraptions.OrientedContraptionEntity.method_5848(OrientedContraptionEntity.java:156) at net.minecraft.class_1297.method_5772(class_1297.java:2138) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.disassembleCart(CartAssemblerBlockEntity.java:223) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.disassemble(CartAssemblerBlockEntity.java:193) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.tryAssemble(CartAssemblerBlockEntity.java:86) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.tick(CartAssemblerBlockEntity.java:65) at com.simibubi.create.foundation.blockEntity.SmartBlockEntityTicker.tick(SmartBlockEntityTicker.java:15) at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:662) at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:716) at net.minecraft.class_1937.method_18471(class_1937.java:470) at net.minecraft.class_3218.method_18765(class_3218.java:390) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.class_3176.method_3813(class_3176.java:283) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:840) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Stacktrace: at net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions.notBlank(StoragePreconditions.java:39) at net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions.notBlankNotNegative(StoragePreconditions.java:58) at net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage.extract(SingleStackStorage.java:136) at net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage.extract(SingleStackStorage.java:42) at io.github.fabricators_of_create.porting_lib.transfer.TransferUtil.clearStorage(TransferUtil.java:343) at com.simibubi.create.content.contraptions.MountedStorageManager.clear(MountedStorageManager.java:189) at com.simibubi.create.content.contraptions.Contraption.addBlocksToWorld(Contraption.java:1132) at com.simibubi.create.content.contraptions.AbstractContraptionEntity.disassemble(AbstractContraptionEntity.java:667) at com.simibubi.create.content.contraptions.OrientedContraptionEntity.method_5848(OrientedContraptionEntity.java:156) at net.minecraft.class_1297.method_5772(class_1297.java:2138) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.disassembleCart(CartAssemblerBlockEntity.java:223) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.disassemble(CartAssemblerBlockEntity.java:193) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.tryAssemble(CartAssemblerBlockEntity.java:86) at com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity.tick(CartAssemblerBlockEntity.java:65) at com.simibubi.create.foundation.blockEntity.SmartBlockEntityTicker.tick(SmartBlockEntityTicker.java:15) at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:662) at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:716) at net.minecraft.class_1937.method_18471(class_1937.java:470) at net.minecraft.class_3218.method_18765(class_3218.java:390) -- Block entity being ticked -- Details: Name: create:cart_assembler // com.simibubi.create.content.contraptions.mounted.CartAssemblerBlockEntity Block: Block{create:cart_assembler}[backwards=false,powered=false,rail_type=regular,shape=north_south,waterlogged=false] Block location: World: (72,61,28), Section: (at 8,13,12 in 4,3,1; chunk contains blocks 64,-64,16 to 79,319,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Block: Block{create:cart_assembler}[backwards=false,powered=false,rail_type=regular,shape=north_south,waterlogged=false] Block location: World: (72,61,28), Section: (at 8,13,12 in 4,3,1; chunk contains blocks 64,-64,16 to 79,319,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Stacktrace: at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:662) at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:716) at net.minecraft.class_1937.method_18471(class_1937.java:470) at net.minecraft.class_3218.method_18765(class_3218.java:390) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.class_3176.method_3813(class_3176.java:283) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:840) -- Affected level -- Details: All players: 2 total; [class_3222['Lisoveliy'/33425, l='ServerLevel[world]', x=96.40, y=65.50, z=44.45], class_3222['Gl3b4ty'/52093, l='ServerLevel[world]', x=74.89, y=61.00, z=30.51]] Chunk stats: 2687 Level dimension: minecraft:overworld Level spawn location: World: (0,70,0), Section: (at 0,6,0 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Level time: 1844088 game time, 2425678 day time Level name: world Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Level weather: Rain time: 42768 (now: false), thunder time: 56668 (now: false) Known server brands: fabric Removed feature flags: Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.class_3176.method_3813(class_3176.java:283) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:840) -- System Details -- Details: Minecraft Version: 1.20.1 Minecraft Version ID: 1.20.1 Operating System: Linux (amd64) version 6.1.0-13-cloud-amd64 Java Version: 17.0.9, Debian Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Debian Memory: 197476560 bytes (188 MiB) / 1493172224 bytes (1424 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 4 Processor Vendor: AuthenticAMD Processor Name: AMD EPYC 7282 16-Core Processor Identifier: AuthenticAMD Family 23 Model 49 Stepping 0 Microarchitecture: Zen 2 Frequency (GHz): -0.00 Number of physical packages: 1 Number of physical CPUs: 4 Number of logical CPUs: 4 Graphics card #0 name: Device Graphics card #0 vendor: Vendor (0x1234) Graphics card #0 VRAM (MB): 16.00 Graphics card #0 deviceId: 0x1111 Graphics card #0 versionInfo: unknown Virtual memory max (MB): 3978.61 Virtual memory used (MB): 2796.19 Swap memory total (MB): 0.00 Swap memory used (MB): 0.00 JVM Flags: 1 total; -Xmx2G Fabric Mods: ae2: Applied Energistics 2 15.0.15 team_reborn_energy: Energy 3.0.0 computercraft: CC: Tweaked 1.108.4 com_electronwill_night-config_core: core 3.6.7 com_electronwill_night-config_toml: toml 3.6.7 com_jcraft_jzlib: jzlib 1.1.3 io_netty_netty-codec-http: netty-codec-http 4.1.82.Final io_netty_netty-codec-socks: netty-codec-socks 4.1.82.Final io_netty_netty-handler-proxy: netty-handler-proxy 4.1.82.Final org_squiddev_cobalt: Cobalt 0.7.3 create: Create 0.5.1-d-build.1161+mc1.20.1 com_google_code_findbugs_jsr305: jsr305 3.0.2 forgeconfigapiport: Forge Config API Port 8.0.0 milk: Milk Lib 1.2.60 dripstone_fluid_lib: Dripstone Fluid Lib 3.0.2 porting_lib_accessors: Porting Lib Accessors 2.1.1127+1.20 porting_lib_base: Porting Lib Base 2.1.1127+1.20 porting_lib_attributes: Porting Lib Attributes 2.1.1127+1.20 porting_lib_common: Porting Lib Common 2.1.1127+1.20 porting_lib_lazy_registration: Porting Lib Lazy Register 2.1.1127+1.20 porting_lib_utility: Porting Lib Utility 2.1.1127+1.20 porting_lib_brewing: Porting Lib Brewing 2.1.1127+1.20 porting_lib_client_events: Porting Lib Client Events 2.1.1127+1.20 mm: Manningham Mills 2.3 porting_lib_entity: Porting Lib Entity 2.1.1127+1.20 porting_lib_mixin_extensions: Porting Lib Mixin Extensions 2.1.1127+1.20 porting_lib_extensions: Porting Lib Extensions 2.1.1127+1.20 porting_lib_fake_players: Porting Lib Fake Players 2.1.1127+1.20 porting_lib_models: Porting Lib Models 2.1.1127+1.20 porting_lib_model_loader: Porting Lib Model Loader 2.1.1127+1.20 porting_lib_networking: Porting Lib Networking 2.1.1127+1.20 porting_lib_obj_loader: Porting Lib Obj Loader 2.1.1127+1.20 porting_lib_tags: Porting Lib Tags 3.0 porting_lib_tool_actions: Porting Lib Tool Actions 2.1.1127+1.20 porting_lib_core: Porting Lib Core 2.1.1127+1.20 porting_lib_gametest: Porting Lib GameTest 2.1.1127+1.20 porting_lib_transfer: Porting Lib Transfer 2.1.1127+1.20 reach-entity-attributes: Reach Entity Attributes 2.4.0 registrate-fabric: Registrate for Fabric 1.3.62-MC1.20.1 porting_lib_data: Porting Lib Data 2.1.1090+1.20 porting_lib_model_generators: Porting Lib Model Generators 2.1.1090+1.20 porting_lib_model_materials: Porting Lib Model Materials 2.1.1090+1.20 createaddition: Create Crafts & Additions 0.9.0 fabric-api: Fabric API 0.91.0+1.20.1 fabric-api-base: Fabric API Base 0.4.30+7abfd51577 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.35+4d8536c977 fabric-biome-api-v1: Fabric Biome API (v1) 13.0.12+215bbe9677 fabric-block-api-v1: Fabric Block API (v1) 1.0.10+92a0d36777 fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.0+92a0d36777 fabric-command-api-v1: Fabric Command API (v1) 1.2.33+f71b366f77 fabric-command-api-v2: Fabric Command API (v2) 2.2.12+b3afc78b77 fabric-commands-v0: Fabric Commands (v0) 0.2.50+df3654b377 fabric-containers-v0: Fabric Containers (v0) 0.1.63+df3654b377 fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.10+57aed33f77 fabric-convention-tags-v1: Fabric Convention Tags 1.5.4+a1a980da77 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe77 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.3.3+d7b148e077 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.53+8536527b77 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.22+b3afc78b77 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.1+e91849a877 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.62+df3654b377 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.39+ae9f657a77 fabric-item-api-v1: Fabric Item API (v1) 2.1.27+b3afc78b77 fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.11+d7b148e077 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.21+b3afc78b77 fabric-loot-api-v2: Fabric Loot API (v2) 1.2.0+96dfa95977 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.44+9e7660c677 fabric-message-api-v1: Fabric Message API (v1) 5.1.8+d7b148e077 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.49+b3afc78b77 fabric-networking-api-v1: Fabric Networking API (v1) 1.3.10+eeb8eb3677 fabric-networking-v0: Fabric Networking (v0) 0.3.50+df3654b377 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.2+4ee0bc6077 fabric-particles-v1: Fabric Particles (v1) 1.1.1+201a23a077 fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.20+b3afc78b77 fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.3.2+4df89eb277 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.36+92a0d36777 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.27+b3afc78b77 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.7+29de845d77 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.9+132c48c177 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.29+b3afc78b77 fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.3+c81d263177 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.3.0+6c31357e77 fabric-tab: fabric-tab 2.0.0 fabricloader: Fabric Loader 0.15.0 mixinextras: MixinExtras 0.3.0 java: OpenJDK 64-Bit Server VM 17 jei: Just Enough Items 15.2.0.27 lithium: Lithium 0.11.2 minecraft: Minecraft 1.20.1 plasmovoice: Plasmo Voice 2.0.7 aopalliance_aopalliance: aopalliance 1.0 com_google_inject_guice: guice 5.0.1 fabric-permissions-api-v0: fabric-permissions-api 0.2-SNAPSHOT javax_inject_javax_inject: javax.inject 1 Server Running: true Player Count: 2 / 20; [class_3222['Lisoveliy'/33425, l='ServerLevel[world]', x=96.40, y=65.50, z=44.45], class_3222['Gl3b4ty'/52093, l='ServerLevel[world]', x=74.89, y=61.00, z=30.51]] Data Packs: vanilla, fabric Enabled Feature Flags: minecraft:vanilla World Generation: Stable Is Modded: Definitely; Server brand changed to 'fabric' Type: Dedicated Server (map_server.txt)
Operating System
SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29)
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
Fabric tab 2.0.0
Applied Energistics 2 15.0.15
Lithium 0.11.2
Fabric API 0.91.0
JEI 15.2.0.27
CC Tweaked 1.108.4
Plasmovoice 2.0.7
Create Addition 0.9.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: