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

DeathLootTable field doesn't validate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 24w35a
    • None
    • Community Consensus
    • Commands, Entities, Loot tables

      How to Reproduce

      1. Summon a entity with invalid DeathLootTable
        /summon pig ~ ~ ~ {DeathLootTable:"minecraft:",NoAI:1b}
        
      2. Read that field
        /data get entity @n[type=pig] DeathLootTable
        

      Expected Behaviour

      Found no elements matching DeathLootTable

      Observed Behaviour

      Pig has the following entity data: "minecraft:" (although it does drop nothing).

            Unassigned Unassigned
            ccJerrycc ccJerrycc
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: