Timeline for How can I swap two specific items using a command block?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 1, 2020 at 9:08 | vote | accept | Jacques KOUJA MAKHOUL | ||
Mar 16, 2020 at 17:25 | vote | accept | Jacques KOUJA MAKHOUL | ||
Apr 1, 2020 at 9:08 | |||||
Mar 16, 2020 at 12:46 | comment | added | Fabian Röling |
You could also add unless data entity @s SelectedItem.tag.CanDestroy . That improves performance and prevents the output spam.
|
|
Mar 16, 2020 at 12:43 | history | edited | Bloodbeast 234 | CC BY-SA 4.0 |
added 152 characters in body
|
Mar 16, 2020 at 12:43 | comment | added | Fabian Röling |
Oh right, weapon.mainhand is also a slot, I forgot! Good solution.
|
|
Mar 16, 2020 at 12:41 | history | answered | Bloodbeast 234 | CC BY-SA 4.0 |