MC Toolkit

MC Toolkit / Lệnh / Trình tạo lệnh thực thể và chiến đấu / Trình tạo lệnh /attribute

Trình tạo lệnh /attribute

Tạo lệnh /attribute để đọc giá trị, đặt chỉ số gốc hoặc thêm, gỡ và đọc hệ số; hỗ trợ các thuộc tính hiện đại như max_health và armor.

12 tổ hợp tham số · Minecraft 26.3 · lấy từ cây lệnh của Mojang

  • /attribute <target> <attribute> base get
  • /attribute <target> <attribute> base get <scale>
  • /attribute <target> <attribute> base reset
  • /attribute <target> <attribute> base set <value>
  • /attribute <target> <attribute> get
  • /attribute <target> <attribute> get <scale>
  • /attribute <target> <attribute> modifier add <id> <value> add_multiplied_base
  • /attribute <target> <attribute> modifier add <id> <value> add_multiplied_total
  • /attribute <target> <attribute> modifier add <id> <value> add_value
  • /attribute <target> <attribute> modifier remove <id>
  • /attribute <target> <attribute> modifier value get <id>
  • /attribute <target> <attribute> modifier value get <id> <scale>

Hãy chạy các lệnh này trong chat của người vận hành, khối lệnh hoặc console máy chủ. /rotate, /swing và display entity dùng các tính năng mới hơn; hãy xác nhận chúng được hỗ trợ trên đúng phiên bản Minecraft của bạn.