2. Generally, sending an instruction requires finding a meaningful target location, so the common usage of sending an instruction is /tp? Steve Alex means to send Steve to Alex's position. Some people, such as /tp @a @p, mean to give everyone to themselves, or /tp @e @p give monsters to themselves.
Extended data
The command box defines the transaction mode of the villagers.
Copy the code, enter this command into the command box, and an ordinary villager will be brushed out. The trading items are random, because I haven't joined any NBT yet. I won't say much about the basis of/summoning instructions, just go to NBT. First of all, there are six kinds of villagers: librarians, butchers, blacksmiths, farmers and priests. There is also a villager who has never used MC, so naturally he will not be brushed out. The first is to teach you how to brush out different kinds of villagers. The type of villagers is not very interesting, but I think it's just a matter of beauty. Description:
Summon the villagers ~ ~ 1 ~
{Occupation: 1}
Copy the code. You can see that the first line is the same as the previous instruction, which is to brush out a villager. The first NBT: {professor} appears on the second line. This profession means category. As you can see, I wrote 1 at the back, which is the ID of the villagers. Write different ids and brush out different kinds of villagers.