1

Command Blocks in 1.11?

theillusivemoose's Avatar theillusivemoose4/18/17 2:18 am
4/21/2017 2:05 am
Bertiecrafter's Avatar Bertiecrafter
Sooo... new user here! Extremely sorry if this is in the wrong forum. But I was wondering, have they changed the way command strings are entered in Command Blocks? The little interface changed, and I can't get my stuff to work any more. I have a custom made villager from a website (because I am awful at code strings and bracket stuff and all that jazz hrgh) but I updated his offers recently and killed off the old guy... and when I attempted to use the Command Block to spawn the updated guy, it tells me "Unable to summon object out of the world" or something like that. So I'm assuming my command is outdated, but I don't know how to make it workable again, lol.

Command under spoiler!
Click to reveal
/summon villager ~-160 ~63 ~228 {Invulnerable:1,PersistenceRequired:1,CustomName:Trader Joe,Offers:{Recipes:[{buy:{id:beetroot,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:carrot,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:chorus_fruit,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:dye,Damage:3,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:fish,Damage:2,Count:1},sell:{id:gold_ingot,Count:1},maxUses:9999999},{buy:{id:egg,Count:16},sell:{id:gold_nugget,Count:16},maxUses:9999999},{buy:{id:apple,Count:1},sell:{id:diamond,Count:1},maxUses:9999999},{buy:{id:melon,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:poisonous_potato,Count:1},sell:{id:diamond,Count:1},maxUses:9999999},{buy:{id:potato,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:fish,Damage:3,Count:1},sell:{id:gold_ingot,Count:1},maxUses:9999999},{buy:{id:beef,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:chicken,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:fish,Count:1},sell:{id:dye,Damage:4,Count:8},maxUses:9999999},{buy:{id:mutton,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:porkchop,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:rabbit,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:fish,Damage:1,Count:1},sell:{id:dye,Damage:4,Count:8},maxUses:9999999},{buy:{id:rotten_flesh,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:beef,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:reeds,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:wheat,Count:64},sell:{id:emerald,Count:8},maxUses:9999999},{buy:{id:golden_sword,Count:1},sell:{id:gold_ingot,Count:5},maxUses:9999999},{buy:{id:coal,Count:64},sell:{id:iron_ingot,Count:8},maxUses:9999999},{buy:{id:wool,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:record_cat,Count:1},sell:{id:diamond,Count:9},maxUses:9999999},{buy:{id:bone,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:blaze_rod,Count:8},sell:{id:gold_ingot,Count:1},maxUses:9999999},{buy:{id:ender_pearl,Count:16},sell:{id:gold_nugget,Count:16},maxUses:9999999},{buy:{id:feather,Count:64},sell:{id:iron_nugget,Count:9},maxUses:9999999},{buy:{id:flint,Count:64},sell:{id:iron_nugget,Count:9},maxUses:9999999},{buy:{id:ghast_tear,Count:1},sell:{id:diamond,Count:1},maxUses:9999999},{buy:{id:gunpowder,Count:64},sell:{id:experience_bottle,Count:1},maxUses:9999999},{buy:{id:leather,Count:64},sell:{id:gold_ingot,Count:8},maxUses:9999999},{buy:{id:quartz,Count:8},sell:{id:dye,Damage:4,Count:8},maxUses:9999999},{buy:{id:nether_wart,Count:64},sell:{id:experience_bottle,Count:1},maxUses:9999999},{buy:{id:rabbit_hide,Count:8},sell:{id:gold_ingot,Count:1},maxUses:9999999},{buy:{id:rabbit_foot,Count:1},sell:{id:diamond,Count:1},maxUses:9999999},{buy:{id:redstone,Count:64},sell:{id:gold_nugget,Count:64},maxUses:9999999},{buy:{id:spider_eye,Count:64},sell:{id:experience_bottle,Count:8},maxUses:9999999},{buy:{id:string,Count:64},sell:{id:experience_bottle,Count:8},maxUses:9999999},{buy:{id:saddle,Count:1},sell:{id:leather,Count:5},maxUses:9999999},{buy:{id:minecart,Count:1},sell:{id:iron_ingot,Count:5},maxUses:9999999},{buy:{id:diamond_horse_armor,Count:1},sell:{id:diamond,Count:7},maxUses:9999999},{buy:{id:iron_horse_armor,Count:1},sell:{id:iron_ingot,Count:7},maxUses:9999999},{buy:{id:golden_horse_armor,Count:1},sell:{id:gold_ingot,Count:7},maxUses:9999999},{buy:{id:totem_of_undying,Count:1},sell:{id:diamond_block,Count:64},maxUses:9999999},{buy:{id:magma_cream,Count:8},sell:{id:diamond,Count:1},maxUses:9999999}]},Profession:5,Career:1,CareerLevel:0}


So OP, this guy. xD;; (Can y'all tell I'm a hoarder?!)
Posted by theillusivemoose's Avatar
theillusivemoose
Level 1 : New Explorer
0

Create an account or sign in to comment.

22

info Note: You're viewing a single reply. View all replies
1
04/18/2017 8:56 pm
Level 1 : New Explorer
theillusivemoose
theillusivemoose's Avatar
Pepijn
Bertiecrafter
Minecraft only reads the DataTag until the next space. There is a space after Trader and mc would stop right there. Fix this by surrounding it by quotes.


This is just simply not true.


I'm glad to see it works for you! I'm not sure why it refuses to work for me, though. I tried it in a new world and it still won't do a darn thing. Perhaps I'm not doing something correctly outside of the code. Could you detail the exact steps you take in using the CB? I haven't used it in a long time, so maybe I'm missing something...
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome