-3

This question already has an answer here:

If I can, Using the type=! Or, everything except selector, can I exclude multiple entities? My code is /execute @e[type=lightning_bolt] summon lightning_bolt. I also want to exclude the player.

marked as duplicate by greg-449, Ivo Coumans, Wondercricket, Virusbomb, Malco Apr 15 at 13:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

In 1.12 no, in 1.13 yes.

This is something that can easily be tested by just trying it.

  • Do i just use [type=!Lightning_bolt,Player]? or do i put a ! for both? – Captain Eiko Jun 23 '18 at 19:23
  • That could have been your main question. Comma separates, so you need type= again. And you can use Google for that. – Fabian Röling Jun 24 '18 at 14:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.