コマンドリファレンス
Minecraft OP God Cookie Command
opJava版のみ
プレイヤーに筋力255と耐性255を1分間付与するカスタムフード(クッキー)のスタックを付与します。
バージョン対応
Java版:1.21.4 (1.13+)
コマンド構文
Java版
/give <targets> cookie[food={nutrition:20,saturation:20,effects:[{effect:{id:"minecraft:strength",amplifier:255,duration:1200}},{effect:{id:"minecraft:resistance",amplifier:255,duration:1200}}]}] [<count>]引数の解説
targetsSelector / Player Name必須Who to give the OP Cookie to.
countIntegerThe number of cookies to give (1-64). Defaults to 64.
実用的な使用例
/give @p cookie[food={nutrition:20,saturation:20,effects:[{effect:{id:"minecraft:strength",amplifier:255,duration:1200}},{effect:{id:"minecraft:resistance",amplifier:255,duration:1200}}]}] 64Java 1.20.5+: Gives nearest player 64 custom OP God Cookies.
重要な注意事項
This utilizes the new `food` component syntax introduced in Java 1.20.5. Resistance 255 makes you immune to all damage. Strength 255 lets you deal massive damage with bare fists.