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

Setblock command does not work with gameLoopfunction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12 Pre-Release 5
    • None
    • Java Version 8 update 131 (build 1.8.0_131_b11) Windows 7
    • Unconfirmed

      I try to run a Setblock command using a function with this code

      setblock ~ ~-1 ~ minecraft:cobblestone
      #say hi

      and then do this:

      /gamerule gameLoopfunction example:example

      And nothing happens. It works when run manually.

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

              Created:
              Updated:
              Resolved: