Set Console Command for Block
give @p minecraft:diamond 1
@s = self · @p = nearest player · @a = all players · @e = all entities
Previous Output
-ระดับกลาง · 2 บล็อก
กดปุ่มเพื่อมอบเพชรหนึ่งเม็ดให้ผู้เล่นใกล้ที่สุด แล้วให้เอฟเฟกต์ Speed ต่อด้วย Chain Block
ของที่ต้องเตรียม
ผลที่ควรได้
ผู้เล่นใกล้ที่สุดได้รับเพชร 1 เม็ดและเอฟเฟกต์ Speed I เป็นเวลา 10 วินาที
ทิศทางการวาง
ตั้งค่าทีละบล็อก
ปุ่มคัดลอกจะคัดลอกเฉพาะ Command Input ค่าที่เหลือต้องเลือกในหน้าต่าง Command Block
ติดปุ่มไว้ที่ Impulse Block ตัวแรก
give @p minecraft:diamond 1
@s = self · @p = nearest player · @a = all players · @e = all entities
-ตั้ง Chain Block เป็น Conditional เพื่อให้ทำงานเมื่อการมอบเพชรสำเร็จเท่านั้น
effect give @p minecraft:speed 10 0 false
@s = self · @p = nearest player · @a = all players · @e = all entities
-ถ้าไม่ทำงาน