Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5367

Invalid tile entities after running /setblock immediately after placing them.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • Windows 10

    • CraftBukkit version git-Spigot-94af569-d6b3edd (MC: 1.14.4)
    • Yes

      I have a datapack that has the user place a "fake" block (in this case a blast furnace) that is then replaced with a different block (in this case a barrel) + an armor stand with a custom model in the same tick the block is placed (using an advancement trigger).

      The following happens after placing the blast furnace:

      1. The console prints the error 
        Block entity invalid: minecraft:blast_furnace @ BlockPosition{x=76, y=72, z=78}
        
      1. The block visually changes to a barrel, but can't be broken or interacted with.
      2. /data get prints the following: 
        {CookTime: 0s, CustomName: '{"italic":false,"color":"dark_aqua","translate":"mech.block.machine_crafting_table"}', x: 76, BurnTime: 0s, y: 72, z: 78, Items: [], RecipesUsedSize: 0s, id: "minecraft:blast_furnace", CookTimeTotal: 200s}
        

      Attached is a simple datapack that will reproduce the issue. I've had multiple reports of this issue from different people trying to use my datapack on their server, so this is not an isolated incident.

       

       

            Unassigned Unassigned
            Weatherby Michael
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: