Code (cpp):
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~ ~0 ~1 ~ ~-9 ~1 redstone_block},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~3 ~-8 ~-1 command_block 0 replace {Command:/scoreboard players set @e[type=Item] type 1 {Item:{id:"minecraft:diamond",Count:2b}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~3 ~-7 ~1 command_block 0 replace {Command:/scoreboard players set @e[type=Item] type 2 {Item:{id:"minecraft:redstone",Count:1b}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~4 ~-6 ~-1 command_block 0 replace {Command:/execute @e[type=Item,score_type_min=1,score_type=1] ~ ~ ~ execute @e[type=Item,score_type_min=2,score_type=2,r=0] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:clay_ball",Count:1,tag:{Crafted:true}}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~4 ~-5 ~1 command_block 0 replace {Command:/scoreboard players remove @e[type=Item] type 1 {Item:{tag:{Crafted:true}}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~5 ~-4 ~-1 command_block 0 replace {Command:/execute @e[type=Item,score_type=-1,score_type_min=-5] ~ ~ ~ kill @e[type=Item,score_type_min=1,r=1]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"fill ~2 ~-2 ~ ~5 ~-2 ~ redstone_block"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~2 ~-1 ~-1 command_block 0 replace {Command:/fill ~ ~ ~1 ~4 ~ ~1 stone 0 replace redstone_block}"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~2 ~ ~1 command_block 0 replace {Command:/fill ~ ~ ~-1 ~4 ~ ~-1 redstone_block 0 replace stone}"},Time:1,Riding:{id:"FallingSand",Block:stone,Time:1}}}}}}}}}}}}
Avec ça, ça va le faire ! Merci pour le temps passer à aider.