Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-143904

Adding a non-rail block to the "rails" block tag will crash the game when placing a minecart on it


    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w18a
    • Minecraft 19w06a, Minecraft 19w13b, 1.14.4, 19w44a, 20w11a
    • None
    • Confirmed
    • Crash

      Adding any block to the "blocks/rails" tag will crash the game when you try to use a minecart item on the block. Judging by the decompiled code I think it will also crash when a minecart entity goes near to a block with that tag, or when you try to place a normal rail next to the block.


      I've attached an example datapack that will crash when using a minecart on a stone slab.

            cojomax99 [Mojang] Cory Scheviak
            AlexIIL AlexIIL
            3 Vote for this issue
            4 Start watching this issue