Bug:
When a dispenser activates containing a snow item modified with the “minecraft:place_block” dispense behavior component, the game crashes if there is already a snow layer block directly in front of the dispenser.
Steps to Reproduce:
Place a dispenser facing an open space and attach a button or lever to power it.
Run the following command to obtain snow layers with the place_block dispense behavior:
/give @s minecraft:snow[minecraft:dispense_behavior=[{type:"minecraft:place_block"}]] 2Place at least 2 of these modified snow layers inside the dispenser.
Activate the dispenser once to place the first snow layer in front of it.
Activate the dispenser a second time.
Observed Behavior:
The game immediately crashes upon the second activation of the dispenser.
Expected Behavior:
The existing snow layer in front of the dispenser increases in height by one layer, or the dispenser fails to place the block without crashing.
Thank you for your report!
We're tracking this issue in MC-313435, so this ticket is being resolved and linked as a Duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, please make use of the search feature to see if an issue you are about to report has already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki