Minecraft multiple commands in one command?

sq
1

How can I enter in a command that, for example, all wandering traders and their llamas are killed? / kill @e [type = minecraft: wandering_trader, minecraft: trader_llama] does not work…

Ke

Try it one by one:

/ kill @e [type = minecraft: wandering_trader]
/ kill @e [type = minecraft: trader_llama]