「 /attribute 」 基本情報
| /attribute |
![]() |
| JE | /attribute |
information
・構文 /attribute <対象> <属性> (get [倍率]|base get|base set <値>|modifier add <UUID> <名称> <値> (add|multiply|multiply_base))
・権限 OP(レベル2)
メモ
・エンティティの属性(最大体力・移動速度など)を取得・変更する
・使用例: /attribute @s minecraft:generic.max_health base set 40(自分の最大体力を40=ハート20個に)
・対象は単一のエンティティのみ指定可能
