コマンド載っけていきます
コマンド
0.コマンドブロックの入手方法
/give @s command_block
1.反復、無条件、どっちでもよい
/execute at @e[type=item,name="ダイヤモンド",tag=!double] run structure save double ~~0.3~ ~~0.3~
2.チェーン,無条件,常時実行
/execute at @e[type=item,name="ダイヤモンド",tag=!double] run structure load double ~~0.3~
3.チェーン,無条件,常時実行
/tag @e[type=item,name="ダイヤモンド"] add double
最後に
2のコマンドブロックを増やしていくと2倍の数を2倍にした数分出てきます。
何かミス等があればコメントで教えてください。
コメント