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 5:58 am
Level 57 : Grandmaster Cyborg
Pepijn
Pepijn's Avatar
"Unable to summon object out of the world" means that the coordinates you put in the summon command (~-160 ~63 ~228) are out of the loaded chunks, the summon command only works with coordinates that are loaded.
1
04/18/2017 6:03 am
Level 1 : New Explorer
theillusivemoose
theillusivemoose's Avatar
I don't get how they aren't loaded. That's at my base, right near my natural spawn point. I'm there all the time. How do I load these chunks?
1
04/18/2017 6:16 am
Level 57 : Grandmaster Cyborg
Pepijn
Pepijn's Avatar
"~-160 ~63 ~228" are relative coordinates (the ~ does that). If you want the mob to spawn at the absolute coordinates, leave out the ~ (so -160 63 228). Relative coordinates mean that the mob gets spawned so many blocks away from the position of the commandblock (so if the commandblock is at x=50, ~-160 means that the mob will spawn at x=50-160=-110)
1
04/18/2017 6:24 am
Level 1 : New Explorer
theillusivemoose
theillusivemoose's Avatar
Just tried that, and it still gave the same message. Before 1.11 everything worked just fine. Is there something in that command that doesn't work?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome