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

Aquatic creatures spawned using buckets do not have the persistent tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.20.6
    • None
    • Windows 11, using Java 21 from a fresh install of amazon corretto. 1.20.6 tested using 'latest version' from the vanilla launcher, and 1.20.4 tested using a vanilla instance thru prism launcher.
    • Unconfirmed
    • (Unassigned)

      Placing creatures via Bucket of <name> doesn't properly give them the persistent tag, leading to them quickly despawning. This was tested in 1.20.4 and 1.20.6 and affected both versions. 

      The fish didn't spawn with the persistent tag regardless of survival or creative, or whether placing the animal into water that was already there. It doesn't matter whether the item was obtained from the creative inventory, or was an empty bucket that later picked up a fish. It affects buckets of cod, salmon, tropical fish, pufferfish, axolotl, and tadpole.

      Steps to reproduce:

      1. Place a bucket of <creature>.
      2. Run /data get entity @e[limit=1,sort=nearest,type=!player]
      3. Note that the tag "PersistenceRequired" is equal to `0b` instead of `1b` as it should be. (The tag "FromBucket" is `1b`, as intended.)

       

            Unassigned Unassigned
            lightningtow Lightningtow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: