Put the summary of the bug you're having here
What I expected to happen was:
Put items stacked at 65 into minecraft:bundle
What actually happened was:
When using minecraft:bundle and using the Change Item Stack Limit command (max_stack_size=65) to put an item into minecraft:bundle, the game crashes
Steps to Reproduce:
1. Give any item with the /give command and the stack line is between 64 and 100, example: /give @s minecraft:diamond[max_stack_size=65] 65
2. Place the item in minecraft:bundle
log:
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 2024-03-28 18:45:01
Description: Container click
java.lang.ArithmeticException: / by zero
at cwb$a.c(SourceFile:133)
at cwb$a.a(SourceFile:144)
at crv.a(SourceFile:90)
at cto.a(SourceFile:464)
at cot.a(SourceFile:535)
at cot.b(SourceFile:408)
at cot.a(SourceFile:294)
at fnl.a(SourceFile:370)
at fmw.b(SourceFile:521)
at fnl.b(SourceFile:606)
at fea.a(SourceFile:103)
at fly.a(SourceFile:451)
at fea.a(SourceFile:103)
at fea.c(SourceFile:186)
at bok.execute(SourceFile:108)
at fea.b(SourceFile:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:211)
at exw.e(SourceFile:287)
at fdz.c(SourceFile:1364)
at fdz.f(SourceFile:898)
at net.minecraft.client.main.Main.main(SourceFile:265)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:71)
at oolloo.jlw.Wrapper.main(Wrapper.java:51)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
– Head –
Thread: Render thread
Stacktrace:
at cwb$a.c(SourceFile:133)
at cwb$a.a(SourceFile:144)
at crv.a(SourceFile:90)
at cto.a(SourceFile:464)
at cot.a(SourceFile:535)
at cot.b(SourceFile:408)
at cot.a(SourceFile:294)
at fnl.a(SourceFile:370)
at fmw.b(SourceFile:521)
at fnl.b(SourceFile:606)
at fea.a(SourceFile:103)
at fly.a(SourceFile:451)
at fea.a(SourceFile:103)
at fea.c(SourceFile:186)
at bok.execute(SourceFile:108)
at fea.b(SourceFile:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:211)
– Click info –
Details:
Menu Type: <no type>
Menu Class: fnl.b
Slot Count: 54
Slot: 45
Button: 1
Type: PICKUP
Stacktrace:
at cot.a(SourceFile:294)
at fnl.a(SourceFile:370)
at fmw.b(SourceFile:521)
at fnl.b(SourceFile:606)
at fea.a(SourceFile:103)
at fly.a(SourceFile:451)
at fea.a(SourceFile:103)
at fea.c(SourceFile:186)
at bok.execute(SourceFile:108)
at fea.b(SourceFile:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:211)
at exw.e(SourceFile:287)
at fdz.c(SourceFile:1364)
at fdz.f(SourceFile:898)
at net.minecraft.client.main.Main.main(SourceFile:265)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:71)
at oolloo.jlw.Wrapper.main(Wrapper.java:51)
– Affected screen –
Details:
Screen name: fnl
Stacktrace:
at fly.a(SourceFile:451)
at fea.a(SourceFile:103)
at fea.c(SourceFile:186)
at bok.execute(SourceFile:108)
at fea.b(SourceFile:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(SourceFile:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:211)
at exw.e(SourceFile:287)
at fdz.c(SourceFile:1364)
at fdz.f(SourceFile:898)
at net.minecraft.client.main.Main.main(SourceFile:265)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:71)
at oolloo.jlw.Wrapper.main(Wrapper.java:51)
– Uptime –
Details:
JVM uptime: 1895.743s
Wall uptime: 1886.331s
High-res time: 1885.983s
Client ticks: 37551 ticks / 1877.550s
Stacktrace:
at fdz.d(SourceFile:2574)
at fdz.c(SourceFile:1005)
at fdz.f(SourceFile:918)
at net.minecraft.client.main.Main.main(SourceFile:265)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:71)
at oolloo.jlw.Wrapper.main(Wrapper.java:51)
– Affected level –
Details:
All players: 1 total; [gbm['YOUXIYONGHUMING'/1, l='ClientLevel', x=-6.50, y=-60.00, z=-7.50]]
Chunk stats: 1521, 1021
Level dimension: minecraft:overworld
Level spawn location: World: (0,-60,0), Section: (at 0,4,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: 2787 game time, 6000 day time
Server brand: vanilla
Server type: Integrated singleplayer server
Tracked entity count: 1
– Last reload –
Details:
Reload number: 2
Reload reason: manual
Finished: Yes
Packs: vanilla
– System Details –
Details:
Minecraft Version: 24w13a
Minecraft Version ID: 24w13a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.8, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 1948888672 bytes (1858 MiB) / 2818572288 bytes (2688 MiB) up to 17179869184 bytes (16384 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Identifier: Intel64 Family 6 Model 158 Stepping 10
Microarchitecture: Coffee Lake
Frequency (GHz): 3.19
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: Microsoft Basic Display Adapter
Graphics card #0 vendor: Microsoft
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 10.0.19041.3636
Graphics card #1 name: Microsoft Basic Display Adapter
Graphics card #1 vendor: Microsoft
Graphics card #1 VRAM (MB): 0.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 10.0.19041.3636
Graphics card #2 name: NVIDIA GeForce RTX 3060
Graphics card #2 vendor: NVIDIA
Graphics card #2 VRAM (MB): 12288.00
Graphics card #2 deviceId: VideoController3
Graphics card #2 versionInfo: 31.0.15.5152
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 2.40
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 16384.00
Memory slot #1 clockSpeed (GHz): 2.40
Memory slot #1 type: DDR4
Virtual memory max (MB): 65403.30
Virtual memory used (MB): 16607.64
Swap memory total (MB): 32768.00
Swap memory used (MB): 0.00
JVM Flags: 6 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn256m -Xmx16384m
Launched Version: 24w13a
Launcher name: PCL
Backend library: LWJGL version 3.3.2+13
Backend API: NVIDIA GeForce RTX 3060/PCIe/SSE2 GL version 3.2.0 NVIDIA 551.52, NVIDIA Corporation
Window size: 3840x2160
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Render Distance: 16/16 chunks
Resource Packs: vanilla
Current Language: en_us
Locale: zh_CN
CPU: 12x Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Server Running: true
Player Count: 1 / 8; [aqn['YOUXIYONGHUMING'/1, l='ServerLevel[新的世界]', x=-6.50, y=-60.00, z=-7.50]]
Data Packs: vanilla, update_1_21, trade_rebalance, bundle
Enabled Feature Flags: minecraft:update_1_21, minecraft:bundle, minecraft:vanilla, minecraft:trade_rebalance
World Generation: Stable
World Seed: 6849010130306801367
- duplicates
-
MC-269644 The game crashes when putting items with max stack sizes above 64 into bundles
- Resolved