This question already has an answer here:
- How many entities in an area? 2 answers
So I am trying to figure out how to teleport someone within a radius, but only when there is one entity left within that radius. I was trying this:
/tp @p[c=1] x y z
c is only for how many people you wish to teleport. So my mind jumped to:
/tp @p[entity=1] x y z
But as far as I'm aware you, can't specify
entity under @p. I am rather new to command blocks in general. Is it possible, and if yes, how? I would normally like to figure it out myself because I learn better that way, but this is too confusing for me. If it is possible I would rather just be told how to figure it out without giving me the complete answer, but at this point I'll be content with anything.