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

kill command ignores damage value in json

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w26c
    • None
    • windows 7 pro, java 1.7.0_51, 8GB Ram,
    • Unconfirmed

      In the kill command, it seems to be ignoring the Damage value in the json. for instance, I want to prevent the player from mining Andesite, so I want to kill the entity. They are allowed to mine other stones, but the andesite I want to prevent.

      I setup a clock with a command block to detect when a stone entity is dropped, and fed it into a command block to kill only stone with damage value of 6.

      kill @e[type=Item] {Item:{id:minecraft:stone,Damage:6s}}

      It kills all stone, ignoring the damage value for polished andesite.

            Unassigned Unassigned
            themaskedcrusader Topher Donovan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: