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

Effect name (instead of ID) can't be used in NBT tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8
    • None
    • Unconfirmed

      This works..

      /give @p minecraft:potion 64 16385 {CustomPotionEffects: [

      {Id:23, Amplifier:3, Duration:1000000}

      ], display: {Name: "Sports drink"}}

      but this doesn't..

      /give @p[team=blue] minecraft:potion 64 16385 {CustomPotionEffects: [

      {Id:"minecraft:saturation", Amplifier:3, Duration:1000000}

      ], display: {Name: "Sports drink"}}

      You can see all available effect names when pressing "/effect @p <TAB>".

            Unassigned Unassigned
            snapy666 Josh Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: