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

Components of leads are not saved when attached and removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 1.20.5 Pre-Release 3, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5, 24w18a, 1.20.6 Release Candidate 1, 1.20.6, 24w19b
    • None
    • Confirmed
    • Commands
    • Normal
    • Platform

      When attaching a lead to an entity, saved components are lost when detaching the lead.

      For instance, this command gives you an edible lead:

      /give @s minecraft:lead[minecraft:food={nutrition:1, saturation:1}]

      Right clicking a pig to attach it and then clicking again to detach it returns a lead with no food component.

            Unassigned Unassigned
            mattp_12 mattp_12
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: