Forumskeyboard_arrow_right Help keyboard_arrow_right Bedrock Edition

Create Forum Thread
2

Command trouble?

2 emeralds5 replies97 views
created 09/14/2019 8:18 pm by HockeyandMarvel101
last reply 09/18/2019 9:03 pm
hi making Mario in Minecraft PE and downloaded a lucky block addon. In Mario when you hit your head on lucky blocks it gives you a coin. Anyway to make something similar to that.
Posted by avatar
HockeyandMarvel101
Level 1 : New Miner
0

comment Login or register to post a reply.

5 replies

1
09/18/2019 6:13 am
Level 28 : Expert Sailor
tomatotownn
you could try the command:
/execute at @a if block ~ ~1.8 ~ minecraft:bricks run give @a minecraft:gold_ingot{display:{Name:"[{\"text\":\"Gold Coin!\"}]"}}
Apply that into a repeating command block that "needs redstone" and have it powered for however long you want the mechanic to work.

alternatively you could replace the command "give @a minecraft:gold_ingot{display:{Name:"[{\"text\":\"Gold Coin!\"}]"}}" with a scoreboard command addition to allow for another command block to target the exact person that just hit a block (just to ensure that whatever ur doing will be multiplayer compatible)

hope that helps!
2
09/18/2019 9:03 pm
Level 1 : New Miner
HockeyandMarvel101
Thank you, so much!
1
09/14/2019 9:06 pm
Level 10 : Journeyman Unicorn
HoboMaggot
You cant make good stuff that requires command blocking without plugins or tons of customised addons in Bedrock.

The command system is better in Java
1
09/15/2019 5:14 pm
Level 1 : New Miner
HockeyandMarvel101
Oh thank you, but I have computer and have java. Do you know how to make it on that
1
09/16/2019 3:01 am
Level 10 : Journeyman Unicorn
HoboMaggot
Have you studied command blocking yet?
Its good to know the basics first, especially /execute which is going to be used alot

Planet Minecraft

Browse

Site

© 2010 - 2019
www.planetminecraft.com

Welcome