Minecraft / Blogs

Turning Iron Into Diamonds! Command Block Tutorial.

  • 2
  • 1
  • comment
  • playlist_add
  • share
  • more_horiz
avatar Brodie The Nerd
Level 32 : Artisan Nerd
10
Those of us who have played skyblock before will be familiar with using Iron Golem Spawners to make lots of money. But why stick with boring iron when you can have diamonds? Well, today I'll be showing you how to turn Iron into Diamonds with only 10 command blocks!

Before we start. if you don't understand what scoreboards are, I suggest checking out this awesome post made by ShelLuser that does a great job of summarising them: www.planetminecraft.com/blog/commands-amp-command-blocks-part-ii-the-scoreboard/

Okay, lets begin!

To start off, type in the following commands in chat:
Chat Commands
NOTE: If you are making customizations, I suggest putting the first one into a command block with a button, so you can test your moderations without permanently losing the item.

If you want to understand how these commands works to customize them, click the tab below.
Chat Commands explanations

Now that you have your item, you need to be able to use it to spawn in the Iron To Diamond Fusionator. To do that, place a 5 command block chain, with the first one being a repeating one set to Always Active. Then type in the following commands into the command blocks.
Iron-to-Diamond Fusionator Spawn Commands

If you want to understand how these commands work to customize them, click the tab below.
Iron-to-Diamond Fusionator Spawn Commands Explanation
NOTE: If you customized one of the beginning commands, I strongly suggest going through these commands to change them, so that it is referencing your moderations rather than referencing something that isn't even in your world.

If you drop your item, you should find that nothing happens for three seconds, but then a bedrock block would spawn and the item will be consumed. Next, we want players to know that the Iron-to-Diamond Fusionator actually works. A simple particle effect does this perfectly. To do a particle affect, place a repeating command block, set it to "Always Active", and type in the following command.
Particle Effect Command

If you want to understand how this command works to customize it, click the tab below.
Particle Effect Command Explanation
NOTE: If you customized the name of the armor stand, I strongly suggest going through these commands to change them according to the changes you made, so that the console is referencing your moderations rather than something that isn't even in your world.

Finally, but most importantly, we need to make any Iron Ingots that touch the block turn into diamond! (NOTE: I really tried to make the game detect the number of Iron Ingots on top of the bedrock block but that isn't possible without using 63 more command blocks. If you know how to do this in just one command block, please say so down in the comments section.) To do this, create a command block chain (just like at the start) with only 3 command blocks rather than 5. Then copy these commands into the command blocks.
Turning Iron into Diamonds

If you want to understand how these commands work, click the tab below.
Turning Iron into Diamonds Explanation
NOTE: If you have customized anything earlier on, I suggest you change these commands relatively so the game is referencing your moderations rather than something that isn't even in your world

Finally, you want to make it so the armor stand is deleted whenever the bedrock block is deleted (just as a convenience for you so you aren't constantly typing "/kill @e[type=armor_stand,name=IronToDiamond"). To do that, place down one more repeating command block, set it to "Always Active", and copy in the following command.
spoiler=Iron-to-Diamond Fusionator Deleter]/execute @e[type=armor_stand,name=IronToDiamond] ~ ~ ~ detect ~ ~ ~ air 0 /kill @s[/spoiler]
If you want to understand how this command works to customize it, click the tab below.
Iron-to-Diamond Fusionator Deleter Explanation
NOTE: If you have made any... ah screw it. You should get the idea by now.

And vuala! You have you very own Iron-to-Diamond Fusionator, turning Iron into Diamond with haste, ease, and zero nuclear waste! If you liked this tutorial or learned something from it, please say so in the comments. This took half an hour to figure out an a good hour and half to type down all the commands and explanations into this tutorial so your support will be nice. Feel free to check out some of my other tutorials, although this one is the most depth I've gone to in any of my tutorials, so don't expect them to be as educational as this one. Also, if you would like to see what I have next, feel free to subscribe to keep updated with the weird but fun ideas I get. :D

CUSTOMIZATION IDEAS!
-You could make the radius larger
-You could make this replace other items or even monsters
-You could prank your friends by making any dropped diamonds be replaced with a stick
Come up with some more in the comments!
Tags

0 replies

Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome