forum Forumsplay_arrow Minecraft fiber_manual_record Redstone

1

Adventure Map. Help #2 - srry guys

1 emerald4 replies255 views
created 01/31/2015 5:44 pm by Brevoort43214
last reply 02/01/2015 8:33 am
Hi again, So to goto the next adventure in my map, you need to get sand from the boss. (a custom drop) but how can I make it so players can only place sand blocks, in adventure mode.
Posted by avatar
Brevoort43214
Level 39 : Artisan Modder
12

comment Login or register to post a reply.

4 replies

01/31/2015 11:02 pm
Level 28 : Expert Geek
Histor the Noob
Try using a website I use to make custom mobs. I mainly use it for bosses, but it's useful for other purposes, too!
http://www.minecraftupdates.com/summon-command
Hope I'm helpful!
01/31/2015 9:27 pm
Level 39 : Artisan Modder
Brevoort43214
Another Thing: Why is this not working? Saying unbalanced square brackets
/summon Skeleton ~ ~2 ~ {DropChances:[1.0f,1.0f,1.0f,1.0f,1.0f],Equipment:[{id:276,tag:{ench:{id:16,lvl:4}}},{id:313,Count:1},{id:312,Count:0},{id:311,Count:0},{id:12,Count:1}],CustomNameVisible:1,CustomName:"Astaro"}
02/01/2015 8:33 am
Level 28 : Expert Engineer
Jmal116
The command itself seems to work for me, I just copy pasted it into a command block and it summoned the skeleton. The only thing I can see is that enchantments are surrounded by square brackets because they are a list. You might want to try this and see if it works:/summon Skeleton ~ ~2 ~ {DropChances:[1.0f,1.0f,1.0f,1.0f,1.0f],Equipment:[{id:276,tag:{ench:[{id:16,lvl:4}]}},{id:313,Count:1},{id:312,Count:0},{id:311,Count:0},{id:12,Count:1}],CustomNameVisible:1,CustomName:"Astaro"}
01/31/2015 8:10 pm
Level 28 : Expert Engineer
Jmal116
When you summon an item, you can add data tags allowing players to place the item on certain blocks, like so:summon Item ~ ~1 ~ {Item:{id:sand,Count:1,tag:{CanPlaceOn:[stone,grass]}}}
The key thing here is that after I define what the item is (sand), I add that "tag" tag, with the tag "CanPlaceOn" inside. This tag is a list of all the blocks the player is allowed to put the block on. So wherever it is you want the player to put the sand, make sure you add that type of block to the list.

In addition, if you only want players to be able to break certain blocks, you can add the "CanDestroy" tag to the command:summon Item ~ ~1 ~ {Item:{id:sand,Count:1,tag:{CanPlaceOn:[stone,grass],CanDestroy:[stone]}}}
Also for future reference, if you have more than one question you can post them all in one topic, or add a comment to your own topic containing your new question.

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome