mojira.dev
MC-313435

The game crashes when a dispenser tries to dispense a block that can be stacked in the same block space and has a `place_block` dispense behavior

The game crashes when a dispenser places a block whose block state changes without changing its block ID upon being placed in the same space.
Confirmed affected blocks:
• Slabs (does not occur if the wood/material type is different)
• Snow
Commands used:
• /give @s minecraft:oak_slab[minecraft:dispense_behavior=[{type:"minecraft:place_block"}]]
• /give @s minecraft:snow[minecraft:dispense_behavior=[{type:"minecraft:place_block"}]]

Steps to Reproduce

  1. Place the affected block both inside and directly in front of a dispenser.

  2. Power the dispenser with a redstone signal to place the block.

Expected Behavior

• For slabs:
It turns into a full block (double slab).
• For snow:
The snow layer thickness increases.

Actual Behavior

The game crashes.

Original text below:

同一個所に設置することでidが変わらずにブロック状態が変化するブロックではディスペンサーを用いてブロックを設置した場合にクラッシュする。
確認できたブロック

  • ハーフブロック(材質が違う場合は発生しない)

  • 雪

使用したコマンド

  • /give @s minecraft:oak_slab[minecraft:dispense_behavior=[{type:"minecraft:place_block"}]]

  • /give @s minecraft:snow[minecraft:dispense_behavior=[{type:"minecraft:place_block"}]]

手順

  1. ディスペンサーの中と正面に件のブロックを配置する。

  2. レッドストーン信号を送り、ブロックを設置する。

期待される動作

  • ハーフブロックの場合
    フルブロックになる。

  • 雪の場合
    雪の厚みが増える。

実際の動作
クラッシュする。

Environment

windows11

Linked issues

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media]

suriglasses

(Unassigned)

Confirmed

Commands, Crash, Data Packs

26.4 Snapshot 10

Future Update

Retrieved