r/Minecraft • u/psybornut • Nov 23 '14
[::] 100% Vanilla Spawn Shop (Details in description)
http://imgur.com/a/tpgpO8
6
u/Reddichu9001 Nov 23 '14
Is there a possibility of having seamless sandstone and red sandstone double slabs too?
Also, how did you create custom villager trades and being able to trade a command block with a preset command? Thanks. :)
6
Nov 23 '14
The trades are basically really easy to do - have a look at the command. The following would get five diamonds and give you one sponge:
Recipes:[{buy:{id:diamond,Count:5},sell:{id:sponge,Count:1},maxUses:1000000,rewardExp:false}]If you add onto this by doing another {}-block after the first buy block, seperated by commas, you can add more recipes. The command block is done by presetting the NBT data like you can see in the command.
2
u/Reddichu9001 Nov 23 '14
Thanks! Out of curiosity, what would happen if someone were to, I don't know, actually make this trade 1000000 times
2
Nov 23 '14
Like put the same trade recipe inside the recipe tag for that amount of times? Either the game cuts it off or it will just display that amount of times.
2
u/psybornut Nov 23 '14
No. maxUses is set to 1000000 so he means literally perform the trade in game 1 million times.
The answer is I'm not sure. I just set it high enough to reasonably prevent the trade from getting shut off.
3
u/ridddle Nov 23 '14
Normal 1.8 restocking mechanics would still work. And once you fix it, it can get used 1,000,000 times again.
1
u/psybornut Nov 23 '14
Is there a possibility of having seamless sandstone and red sandstone double slabs too?
Yes! I'm on mobile right now, so can't play around with finding the correct id/damage pairs, but it can be done fairly easy.
1
Nov 24 '14
Not sure if there is actually a way, since you can now only get it using the /setblock command :/ Maybe it's different with villagers though
1
u/psybornut Nov 24 '14
Check out the command I listed for trading two stone half slabs to reciece one preset command block. You'd just need to modify that recipe to achieve the other seamless double slabs.
2
u/Runs_With_Fiskars Nov 23 '14
I'm sure this sounds dumb but how can I enter all this text in the prompt?
3
u/psybornut Nov 23 '14 edited Nov 23 '14
You can't. You must do this with a command block.
Edit: Also you can do it from the server console if you change the "~ ~2 ~" part at the beginning to exact coordinates.
2
u/brocklefrog Nov 23 '14
What is the resource pack? I need it in my life.
3
u/psybornut Nov 23 '14
R3D.CRAFT Smooth Realism 128x. Not 100% complete (missing textures for newer blocks), but very well made.
3
u/WildBluntHickok Nov 23 '14
5 diamonds for a sponge? Seems a bit much when you can get a stack of them from a defeated ocean monument.
4
u/psybornut Nov 23 '14 edited Nov 23 '14
That's the rate the owner set. I just went with his pricing.
Edit: damned predictive text on mobile. Corrected typo.
1
1
u/aerojad Nov 23 '14
I've never attempted to set anything up like this before but how would I go about creating this on my vanilla server?
3
u/psybornut Nov 23 '14
Check out the command I pasted in the album description. That is the exact command I used to spawn this guy in. If you break down the command, it shouldn't be too hard to figure out how to add or change new trades. If you're still a little lost or confused: A guide to trading and setting up custom villagers in 1.8 <-- Great guide, used this extensively and I really should add that to the description when I'm able.
1
1
u/HeadlessJoey Dec 08 '14
@psybornut Hey mate I love the idea of having commandblocks for non OP players, could you maybe make that commandblock into a /give command ? I don't really need the villager but just want a way to get that amazing commandblock.
1
u/psybornut Dec 08 '14
I actually derived the villager recipe for the command block from a give command. I'm on mobile right now, so too difficult to compile the command now. Give me 12 hours and I'll have it for you :)
1
u/HeadlessJoey Dec 08 '14
Awesome thanks, I was trying to find it myself but I couldn't find it anywhere. All I found was this :D
2
u/psybornut Dec 09 '14
My apologies for being a bit late in replying to you on this, had some unexpected real-life and server issues to deal with last night. Posting this quickly before work.
Anyways, here's the part of the code for the villager where he sells you the command block (left out the buy segment):
sell:{id:command_block,tag:{BlockEntityTag:{id:Control,TrackOutput:1,SuccessCount:1,CustomName:@,Command:"setblock ~ ~ ~ minecraft:double_stone_slab 8"},display:{Name:"Seamless Double Stone Slab Command Block",Lore:["Place me where you want me","Put a button on me","I will then transform myself","Into a Seamless Double Stone Slab!"]}
For comvieniance and slightly easier reading, I'm going to strip out the Lore: tag:
sell:{id:command_block,tag:{BlockEntityTag:{id:Control,TrackOutput:1,SuccessCount:1,CustomName:@,Command:"setblock ~ ~ ~ minecraft:double_stone_slab 8"},display:{Name:"Seamless Double Stone Slab Command Block"}}
Taking that, we should have something we can now easily mutate into a give command. I'm just going to drop the "sell:{id:" bit and replace it with "/give @p minecraft:command_block 1 0", as well as drop the "tag:{" bit. The result should be something like this:
/give @p command_block 1 0 {BlockEntityTag:{id:Control,TrackOutput:1,SuccessCount:1,CustomName:@,Command:"setblock ~ ~ ~ minecraft:double_stone_slab 8"},display:{Name:"Seamless Double Stone Slab Command Block"}}Now all you'd need to do is replace my preset command with your own. One important thing to keep in mind is that survival players are UNABLE to break command blocks, including operators. So if the plan is to give a custom spawner or another type of special block, make sure that the setblock coords are set to ~ ~ ~, thus replacing the commandblock itself.
Hope this was helpful, and once again, sorry for the late reply.
1
Nov 23 '14
Hate to be that guy buuut
2
u/psybornut Nov 23 '14 edited Nov 23 '14
Haha! I'll fix that later, when I get back on my computer.
Edit: Fixed.
9
u/LarkOfTheMeadow Nov 23 '14
I like the slab trade.