
/item
แทนที่หรือแก้ไขไอเทมในช่องเก็บของและช่องของภาชนะ รูปแบบพื้นฐานคือ /item fill block <target> <slots> from block <source> <sourceSlots> มีรูปแบบคำสั่ง 26 แบบและอาร์กิวเมนต์ 7 ตัว สิทธิ์: สูตรโกง / op 2
รูปแบบคำสั่ง /item
ข้อมูลเกมทุกรูปแบบที่เกมยอมรับ คำใน <วงเล็บมุม> คืออาร์กิวเมนต์ที่คุณต้องกรอก ส่วนที่เหลือพิมพ์ตามที่เห็น
/item fill block <target> <slots> from block <source> <sourceSlots>/item fill block <target> <slots> from entity <source> <sourceSlots>/item fill block <target> <slots> with <item>/item fill block <target> <slots> with <item> <count>/item fill entity <target> <slots> from block <source> <sourceSlots>/item fill entity <target> <slots> from entity <source> <sourceSlots>/item fill entity <target> <slots> with <item>/item fill entity <target> <slots> with <item> <count>/item modify block <target> <slots> <modifier>/item modify entity <target> <slots> <modifier>/item override block <target> <slots> from block <source> <sourceSlots>/item override block <target> <slots> from entity <source> <sourceSlots>/item override block <target> <slots> with <item>/item override block <target> <slots> with <item> <count>/item override entity <target> <slots> from block <source> <sourceSlots>/item override entity <target> <slots> from entity <source> <sourceSlots>/item override entity <target> <slots> with <item>/item override entity <target> <slots> with <item> <count>/item replace block <target> <slots> from block <source> <sourceSlots>/item replace block <target> <slots> from entity <source> <sourceSlots>/item replace block <target> <slots> with <item>/item replace block <target> <slots> with <item> <count>/item replace entity <target> <slots> from block <source> <sourceSlots>/item replace entity <target> <slots> from entity <source> <sourceSlots>/item replace entity <target> <slots> with <item>/item replace entity <target> <slots> with <item> <count>ตัวอย่างคำสั่ง /item
ตัวอย่างพร้อมวาง (เปิดสูตรโกง) @s คือตัวคุณ @p คือผู้เล่นที่ใกล้ที่สุด @a คือทุกคน @e คือทุกเอนทิตี
/item replace entity @s armor.head with minecraft:carved_pumpkin- ใส่ฟักทองแกะสลักลงในช่องหมวกของคุณโดยตรง
/item replace entity @s weapon.offhand with minecraft:totem_of_undying- ใส่เครื่องรางคลาดแคล้วไว้ในมือรอง
อาร์กิวเมนต์ของ /item
อาร์กิวเมนต์แต่ละตัวรับค่าอะไร พร้อมข้อจำกัดที่เกมบังคับใช้
| อาร์กิวเมนต์ | รับค่า | ข้อจำกัด |
|---|---|---|
<target> | พิกัดบล็อก (x y z, ~ สัมพัทธ์, ^ เฉพาะที่) | — |
<slots> | แหล่งช่อง | — |
<source> | พิกัดบล็อก (x y z, ~ สัมพัทธ์, ^ เฉพาะที่) | — |
<sourceSlots> | แหล่งช่อง | — |
<modifier> | ID ตัวปรับไอเทม | — |
<item> | ID ไอเทมพร้อม [คอมโพเนนต์] (ไม่บังคับ) | — |
<count> | จำนวนเต็ม | 1 … 99 |
คำสั่งที่เกี่ยวข้อง
ข้อมูล: ไฟล์เกม Minecraft Java Edition 26.3 ที่มาของข้อมูล
แทนที่หรือแก้ไขไอเทมในช่องเก็บของและช่องของภาชนะ มีรูปแบบคำสั่ง 26 แบบ และผู้ที่ใช้ได้คือ: สูตรโกง / op 2
ดูเพิ่มเติม
ช่วยเรารักษาความถูกต้อง! หากพบสถิติที่ไม่ถูกต้อง ข้อมูลที่หายไป หรือปัญหาอื่นๆ ความเห็นของคุณช่วยยกระดับคุณภาพข้อมูลของเราให้ทั้งชุมชน
คำถามที่พบบ่อยเกี่ยวกับ /item (Java 26.3)
/item ในมายคราฟทำอะไร?
แทนที่หรือแก้ไขไอเทมในช่องเก็บของและช่องของภาชนะ
รูปแบบของ /item คืออะไร?
รูปแบบพื้นฐานคือ /item fill block <target> <slots> from block <source> <sourceSlots> รูปแบบทั้งหมดอยู่ด้านบน
ตัวอย่างการใช้ /item มีอะไรบ้าง?
/item replace entity @s armor.head with minecraft:carved_pumpkin — ใส่ฟักทองแกะสลักลงในช่องหมวกของคุณโดยตรง
ต้องเปิดสูตรโกงเพื่อใช้ /item ไหม?
ต้อง: สูตรโกง / op 2 ในโหมดผู้เล่นคนเดียวให้เปิด อนุญาตสูตรโกง (หรือเปิดให้ LAN พร้อมสูตรโกง)