
/item
Zastępuje lub modyfikuje przedmioty w slotach ekwipunku i pojemników. Podstawowa forma to /item fill block <target> <slots> from block <source> <sourceSlots>; komenda ma 26 form składni i 7 argumentów. Uprawnienia: Kody / op 2.
Składnia: /item
Dane z gryKażda forma, którą gra akceptuje. Słowa w <nawiasach ostrych> to argumenty do uzupełnienia; resztę wpisuje się dosłownie.
/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>Przykłady: /item
Gotowe do wklejenia przykłady (z włączonymi kodami). @s to Ty, @p najbliższy gracz, @a wszyscy gracze, @e każdy byt.
/item replace entity @s armor.head with minecraft:carved_pumpkin- Wkłada Wykrawaną dynię prosto do twojego slotu na hełm.
/item replace entity @s weapon.offhand with minecraft:totem_of_undying- Wkłada Totem nieśmiertelności do twojej drugiej ręki.
Argumenty: /item
Czego oczekuje każdy argument, z ograniczeniami narzucanymi przez grę.
| Argument | Oczekuje | Ograniczenia |
|---|---|---|
<target> | Koordynaty bloku (x y z, ~ względne, ^ lokalne) | — |
<slots> | Źródło slotów | — |
<source> | Koordynaty bloku (x y z, ~ względne, ^ lokalne) | — |
<sourceSlots> | Źródło slotów | — |
<modifier> | ID modyfikatora przedmiotu | — |
<item> | ID przedmiotu z opcjonalnymi [komponentami] | — |
<count> | Liczba całkowita | 1 … 99 |
Powiązane komendy
Dane: pliki gry Minecraft Java Edition 26.3. Skąd mamy te dane
Zastępuje lub modyfikuje przedmioty w slotach ekwipunku i pojemników. Ma 26 form składni, a użyć jej mogą: Kody / op 2.
Zobacz także
Pomóż nam utrzymać dokładność! Jeśli zauważysz nieprawidłowe statystyki, brakujące dane lub jakiekolwiek problemy, Twoja opinia bezpośrednio poprawia jakość naszych danych dla całej społeczności.
/item – FAQ (Java 26.3)
Co robi /item w Minecraft?
Zastępuje lub modyfikuje przedmioty w slotach ekwipunku i pojemników.
Jaka jest składnia /item?
Podstawowa forma to /item fill block <target> <slots> from block <source> <sourceSlots>. Wszystkie formy są wymienione powyżej.
Jaki jest przykład użycia /item?
/item replace entity @s armor.head with minecraft:carved_pumpkin — Wkłada Wykrawaną dynię prosto do twojego slotu na hełm.
Czy /item wymaga kodów?
Tak: Kody / op 2. W trybie jednoosobowym włącz „Zezwól na kody” (lub otwórz świat w sieci LAN z kodami).