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

/execute doesn't work properly

XMLWordPrintable

    • Unconfirmed

      When you are executing based of an entity and detecting if there is a grass block under it, it detects the grass block under the player, rather the entity.

      Steps to reproduce:
      1. Open Minecraft 1.12-pre2
      2. Make a new creative world
      3. Do /summon creeper
      4. Put a grass block under the creeper
      5. Stay on a stone block
      6. Do /execute @e[type=creeper] ~ ~ ~ detect ~ ~-1 ~ grass 0 say This should work
      7. It says fail to detect
      Another way
      4. Put a stone block under the creeper
      5. Stay on a grass block
      6. Do /execute @e[type=creeper] ~ ~ ~ detect ~ ~-1 ~ grass 0 say This shouldn't work
      7. It works, even though the creeper is on a stone block

            Unassigned Unassigned
            AlexejheroYTB AlexejheroYTB
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: