2

Command trouble?

HockeyandMarvel101's Avatar HockeyandMarvel1019/14/19 8:18 pm
2 emeralds 205 5
9/18/2019 9:03 pm
HockeyandMarvel101's Avatar HockeyandMarvel101
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 HockeyandMarvel101's Avatar
HockeyandMarvel101
Level 2 : Apprentice Miner
0

Create an account or sign in to comment.

5

1
09/18/2019 6:13 am
Level 39 : Artisan Sailor
tomatotownn
tomatotownn's Avatar
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 2 : Apprentice Miner
HockeyandMarvel101
HockeyandMarvel101's Avatar
Thank you, so much!
1
09/14/2019 9:06 pm
Level 52 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
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 2 : Apprentice Miner
HockeyandMarvel101
HockeyandMarvel101's Avatar
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 52 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
Have you studied command blocking yet?
Its good to know the basics first, especially /execute which is going to be used alot
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome