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

Horses, pigs, and other rideable animals sometimes aren't affected properly by the /tp command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.1
    • None
    • Java 17.0.3 64bit
      Operating System: MacOS Ventura 13.4.1
    • Unconfirmed
    • (Unassigned)

      While playing around in a Singleplayer Creative Superflat world, I noticed a bug with rideable animals. If a Command Block is set up to "Repeat" and "Always Active" with the command to teleport a tamed and saddled rideable mob (Pig, Horse, etc. [Tested list at bottom]) to a set of coordinates, and then the said mob is ridden by a player, the mob is not affected by the teleport command. Once the said player has dismounted the said tamed rideable mob, four unexpected things occur: 1. The said rideable mob is still not affected by the teleportation command; 2. The said rideable mob is in a peculiar state where it has "half of its pathfinding AI," in which it is able to look around and turn, but not able to move nor make a sound (I also found something else technically falling under this category in which if a camel is in this state, it doesn't take any knockback); 3. The player teleports to the specified coordinates programmed into the Command Block which was programmed to teleport the said tamed and saddled rideable mob continuously (tp @e[type=minecraft:<rideable mob>,limit=1] <x> <y> <z>); and 4. If you wait a bit, it will act under the influence of the said Command Block programmed to be teleporting the said rideable mob to a specified set of coordinates. In addition, after that, if the said Command Block programmed to be teleporting the said rideable mob to a specified set of coordinates is broken/deactivated, the said rideable mob will teleport once to the specified set of coordinates and then act as it normally would. Plus, if the said rideable mob is already being ridden, the teleport command has no effect on it; once it is dismounted, it will continue to defy the teleport command until, as mentioned two sentences ago, it eventually obeys the command (until the Command Block is broken/deactivated, as mentioned in the previous sentence.

       

      *Only works with saddled mobs.

       

      Works with horses, mules, pigs, donkeys, camels, striders.

        1. 2023-07-04_16.10.09.png
          2023-07-04_16.10.09.png
          513 kB
        2. 2023-07-04_16.10.04.png
          2023-07-04_16.10.04.png
          537 kB
        3. 2023-07-04_16.09.57.png
          2023-07-04_16.09.57.png
          500 kB
        4. 2023-07-04_16.09.39.png
          2023-07-04_16.09.39.png
          532 kB
        5. 2023-07-04_16.09.24.png
          2023-07-04_16.09.24.png
          607 kB
        6. 2023-07-04_16.08.58.png
          2023-07-04_16.08.58.png
          522 kB
        7. 2023-07-04_16.08.41.png
          2023-07-04_16.08.41.png
          321 kB
        8. 2023-07-04_16.08.29.png
          2023-07-04_16.08.29.png
          481 kB

            Unassigned Unassigned
            ConfusedStorm26 ConfusedStorm26
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: