Want to code your Minecraft game?
Learn how to use command blocks in Minecraft to make lots of crazy custom inventions!
Learn how to use command blocks in Minecraft to make lots of crazy custom inventions!
From my tutorials you can learn how to make cool vanilla Minecraft inventions, like an exploding bow or a bridge egg! The possibilities are endless. I feature my tutorials on my YouTube Channel and also right here on my website. Click the button below to visit my YouTube channel.
Minecraft allows you to code the game using command block to do anything from summon a creeper to make arrows explode.
I am a 10-year old kid who loves Minecraft and coming up with crazy command block inventions.
Check out my tutorials! Be sure to subscribe to my channel on YouTube to be notified about my newest tutorials.
First put this code in a repeating always active command block:
execute at @e[type=arrow,nbt={inGround:1b}] run summon tnt
Next put this code in a second repeating always active command block:
execute if entity @e[type=arrow,nbt={inGround:1b}] in minecraft:overworld run kill @e[type=arrow,nbt={inGround:1b}]
Put this command in a repeating always active command block:
execute at @e[type=minecraft:egg] unless entity @a[distance=..5] run fill ~ ~-2 ~ ~1 ~-2 ~1 minecraft:blue_concrete
This is a custom data pack made by me that summons a falling anvil above a player's head when they place a block.
Click on the button to download the data pack from my page on PlanetMinecraft!
This is a custom data pack made by me that works just like the command block version of my exploding bow except it requires no command blocks. Simply put this in your world and enjoy.
Click on the button to download the data pack from my page on PlanetMinecraft!
First put this code in a repeating always active command block:
execute at @e[type=arrow,nbt={inGround:1b}] run summon creeper ~ ~ ~ {ExplosionRadius:20,ignited:1b,Fuse:0s}
Next put this code in a second repeating always active command block:
execute if entity @e[type=arrow,nbt={inGround:1b}] in minecraft:overworld run kill @e[type=arrow,nbt={inGround:1b}]
You may notice these are almost the same commands for the normal exploding bow.
The main difference is the weapon you fire it out of.
Use this command to get a rapid crossbow. Put this command in an impulse always active command block:
give @p crossbow{display:{Name:'{"text":"Rapid Crossbow","color":"aqua","bold":true}',Lore:['{"text":"Made By Commander of Code","color":"red","italic":true}']},Enchantments:[{id:"minecraft:unbreaking",lvl:10s},{id:"minecraft:multishot",lvl:1s},{id:"minecraft:quick_charge",lvl:5s}]} 1
I am a 10 year old kid starting my own YouTube channel and website. Please consider supporting me to help spread the message that coding is cool!
Powered by
Copyright © 2021 Commander of Code - All Rights Reserved.
Powered by GoDaddy
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.