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

Execute Command Does Not Work In 1.12-pre2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.12 Pre-Release 2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      So I'm currently working on a command that will summon villagers next to an armor stand. Whenever I updated to 1.12-Pre2 I found that the command blocks were ignoring the /execute command and just summoning on top of the command block.

      Example command: /execute @e[type=Armor_Stand,name=SellCropsVillager] ~ ~ ~ summon villager ~ ~1 ~

      There is more to this command but I just gave you the part that isn't working.

      Full Command: /execute @e[type=Armor_Stand,name=SellCropsVillager] ~ ~ ~ summon villager ~ ~1 ~ {CustomName:"SellCrops",Profession:5,Willing:1,Offers:{Recipes:[{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:wheat,Count:32b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:potato,Count:20b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:poisonous_potato,Count:6b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:carrot,Count:18b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:beetroot,Count:14b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:reeds,Count:32b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:cactus,Count:28b}

      ,sell:{id:emerald,Count:1b}},{rewardExp:1b,maxUses:2147483647,uses:0,buy:

      {id:dye,Damage:3,Count:8b}

      ,sell:{id:emerald,Count:1b}}]},ArmorItems:[{},{},{},

      {id:emerald,Count:1b}

      ],ArmorDropChances:[0.085F,0.085F,0.085F,0.0F],PersistenceRequired:1,Silent:1}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                CubicPlays CubicPlays
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: