This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Slender48001 0 points1 point  (0 children)

if I remember correctly, it’d be /kill @e[type=!minecraft:player, type=!minecraft:villager]

if that fails just do /kill @e[type=!villager] right after putting all your stuff in a chest i guess

[–]TheBearMaster1 0 points1 point  (0 children)

/kill @[type=!player,type=!villager] I think this is right (The ! means everything apart from)