Blocks Grows Diamonds? Profits. #minecraft

Here are the commands, Java Only! The grow rate has been made slower as compared to the one seen in the video, but can be tweaked by changing `chance` in the fifth command. Made in 26.1.1.

First, you’ll need to place a Repeating Command Block and 13 Chain Command Blocks (14 total), with the arrows facing into each other starting from the Repeating Command Block. Make sure all blocks are powered.

Then in each Command Block, starting with the Repeating Command Block, paste these commands in order.

execute as @e[type=item] if items entity @s contents diamond if data entity @s Thrower at @s if block ~ ~-1 ~ diamond_block align xyz positioned ~0.5 ~ ~0.5 unless entity @e[tag=diamond_crop,distance=..0.1] if block ~ ~ ~ #replaceable run summon item_display ~ ~ ~ {Tags:[diamond_crop,diamond_crop_root],Passengers:[{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1]},{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1],Rotation:[90,0]},{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1],Rotation:[180,0]},{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1],Rotation:[-90,0]},{id:interaction,Tags:[diamond_crop,diamond_crop_interact],width:1,height:0.5}],data:{grow_stage:[-1,0,1,2,3]}}

execute as @e[type=item] if items entity @s contents diamond if data entity @s Thrower at @s if block ~ ~-1 ~ diamond_block align xyz positioned ~0.5 ~ ~0.5 unless entity @e[tag=diamond_crop,tag=init,distance=..0.1] if block ~ ~ ~ #replaceable run playsound block.stone.break block @a ~ ~ ~ 0.75 1.75

execute as @e[type=item] if items entity @s contents diamond if data entity @s Thrower at @s if block ~ ~-1 ~ diamond_block align xyz positioned ~0.5 ~ ~0.5 unless entity @e[tag=diamond_crop,tag=init,distance=..0.1] if block ~ ~ ~ #replaceable run item modify entity @s contents {function:set_count,count:-1,add:1}

tag @e[tag=diamond_crop,tag=!init] add init

execute as @e[tag=diamond_crop_root] if predicate {condition:random_chance,chance:0.0005} run tag @s add grow

execute as @e[tag=diamond_crop_root,tag=grow] at @s on passengers store result entity @s transformation.translation[1] double 0.125 if data entity @n[tag=diamond_crop_root] data.grow_stage[0] run data get entity @n[tag=diamond_crop_root] data.grow_stage[0]

execute as @e[tag=diamond_crop_root,tag=grow] run data remove entity @s data.grow_stage[0]

execute as @e[tag=diamond_crop_root,tag=grow] unless data entity @s data.grow_stage[0] run tag @s add diamond_crop_full

tag @e[tag=diamond_crop_root,tag=grow] remove grow

execute as @e[tag=diamond_crop_interact] if data entity @s attack on vehicle unless entity @s[tag=diamond_crop_full] at @s run loot spawn ~ ~ ~ loot {pools:[{rolls:1,entries:[{type:item,name:diamond}]}]}

execute as @e[tag=diamond_crop_interact] if data entity @s attack on vehicle if entity @s[tag=diamond_crop_full] at @s run loot spawn ~ ~ ~ loot {pools:[{rolls:1,entries:[{type:item,name:diamond,functions:[{function:set_count,count:{min:3,max:6}}]}]}]}

execute as @e[tag=diamond_crop_interact] if data entity @s attack at @s run playsound block.stone.break block @a ~ ~ ~ 0.75 2

execute as @e[tag=diamond_crop_interact] if data entity @s attack at @s run particle item{item:{id:diamond}} ~ ~0.1 ~ 0.2 0.2 0.2 0 10

execute as @e[tag=diamond_crop_interact] if data entity @s attack at @s run kill @e[tag=diamond_crop,distance=..0.1]

Now you can drop Diamonds onto Diamond Blocks to plant the Diamond Crops, and over time, they will grow into Diamond Buds that will drop 3-6 Diamonds each!

Don’t forget to stand on each Command Block and run “/forceload add ~ ~” to make sure they stay loaded, otherwise it stops working when you get too far away! And run “/gamerule command_block_output false” so it doesn’t spam the chat.

Confused? Join my Community Discord!
https://discord.gg/EBEBtBVKCK

If you’d like to support me, consider tipping on Ko-Fi!
https://ko-fi.com/blockerlocker

Music provided by Ovani Sound, ineedmusic.co, and the Minecraft Creator Safe Playlist

#minecraft

49 Comments

  1. Here are the commands, Java Only! The grow rate has been made slower as compared to the one seen in the video, but can be tweaked by changing `chance` in the fifth command. Made in 26.1.1.

    First, you'll need to place a Repeating Command Block and 13 Chain Command Blocks (14 total), with the arrows facing into each other starting from the Repeating Command Block. Make sure all blocks are powered.

    Then in each Command Block, starting with the Repeating Command Block, paste these commands in order.

    execute as @e[type=item] if items entity @s contents diamond if data entity @s Thrower at @s if block ~ ~-1 ~ diamond_block align xyz positioned ~0.5 ~ ~0.5 unless entity @e[tag=diamond_crop,distance=..0.1] if block ~ ~ ~ #replaceable run summon item_display ~ ~ ~ {Tags:[diamond_crop,diamond_crop_root],Passengers:[{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1]},{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1],Rotation:[90,0]},{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1],Rotation:[180,0]},{id:item_display,Tags:[diamond_crop],item:{id:diamond},transformation:[1,0,0,0,0,1,0,-0.25,0,0,0.01,0.25,0,1,0,1],Rotation:[-90,0]},{id:interaction,Tags:[diamond_crop,diamond_crop_interact],width:1,height:0.5}],data:{grow_stage:[-1,0,1,2,3]}}

    execute as @e[type=item] if items entity @s contents diamond if data entity @s Thrower at @s if block ~ ~-1 ~ diamond_block align xyz positioned ~0.5 ~ ~0.5 unless entity @e[tag=diamond_crop,tag=init,distance=..0.1] if block ~ ~ ~ #replaceable run playsound block.stone.break block @a ~ ~ ~ 0.75 1.75

    execute as @e[type=item] if items entity @s contents diamond if data entity @s Thrower at @s if block ~ ~-1 ~ diamond_block align xyz positioned ~0.5 ~ ~0.5 unless entity @e[tag=diamond_crop,tag=init,distance=..0.1] if block ~ ~ ~ #replaceable run item modify entity @s contents {function:set_count,count:-1,add:1}

    tag @e[tag=diamond_crop,tag=!init] add init

    execute as @e[tag=diamond_crop_root] if predicate {condition:random_chance,chance:0.0005} run tag @s add grow

    execute as @e[tag=diamond_crop_root,tag=grow] at @s on passengers store result entity @s transformation.translation[1] double 0.125 if data entity @n[tag=diamond_crop_root] data.grow_stage[0] run data get entity @n[tag=diamond_crop_root] data.grow_stage[0]

    execute as @e[tag=diamond_crop_root,tag=grow] run data remove entity @s data.grow_stage[0]

    execute as @e[tag=diamond_crop_root,tag=grow] unless data entity @s data.grow_stage[0] run tag @s add diamond_crop_full

    tag @e[tag=diamond_crop_root,tag=grow] remove grow

    execute as @e[tag=diamond_crop_interact] if data entity @s attack on vehicle unless entity @s[tag=diamond_crop_full] at @s run loot spawn ~ ~ ~ loot {pools:[{rolls:1,entries:[{type:item,name:diamond}]}]}

    execute as @e[tag=diamond_crop_interact] if data entity @s attack on vehicle if entity @s[tag=diamond_crop_full] at @s run loot spawn ~ ~ ~ loot {pools:[{rolls:1,entries:[{type:item,name:diamond,functions:[{function:set_count,count:{min:3,max:6}}]}]}]}

    execute as @e[tag=diamond_crop_interact] if data entity @s attack at @s run playsound block.stone.break block @a ~ ~ ~ 0.75 2

    execute as @e[tag=diamond_crop_interact] if data entity @s attack at @s run particle item{item:{id:diamond}} ~ ~0.1 ~ 0.2 0.2 0.2 0 10

    execute as @e[tag=diamond_crop_interact] if data entity @s attack at @s run kill @e[tag=diamond_crop,distance=..0.1]

    Now you can drop Diamonds onto Diamond Blocks to plant the Diamond Crops, and over time, they will grow into Diamond Buds that will drop 3-6 Diamonds each!

    Don't forget to stand on each Command Block and run "/forceload add ~ ~" to make sure they stay loaded, otherwise it stops working when you get too far away! And run "/gamerule command_block_output false" so it doesn't spam the chat.

    Confused? Join my Community Discord!

    https://discord.gg/EBEBtBVKCK

  2. can you make a command, where if you right click a mob you "transform" into it and you can controll the mob, whils your player is invis. so basically morph mod, i'm subscribed (im sending this in alot of your videos)