your current location:首页 > news>Minecraft NPC

Minecraft NPC

2024-12-17 06:05:42|Myriagame |source:minecraft skins

This article introduces creatures that only exist in educational editions and base rock editions.For creatures living in villages and trading items, please see "villagers".

minecraft

NPC (Non-Player Controlling Role, Non-Player Character) is a passive interactable biological model with villagers.They are the unique creatures of the education and base rock version of the unique creature .

Generation

Unlike other entities, the NPC will not be generated naturally. However, they have corresponding brushing eggs in the creation mode item bar.NPC can also be generated with /Summon Minecraft: NPC ~ ~ ~ ~ ~ ~ .

NPC has a unique name when generating: NPC .

Behavior

NPC has no AI.Neither move nor can be driven by other entities.They cannot be harmed or affected by the potion.However, when the player is approaching, the NPC will turn around and watch the player.

NPC will not be harmed, which means that projection will pass through their bodies.

interface

minecraft

The NPC interface when there is no World Builder permissions

minecraft

NPC interface when there is a World Builder permissions

Right -click NPC will display interfaces, and they can only be edited by players with world administrators.This interface allows players to edit the dialog box, name and appearance.When the player does not have a World Builder permissions, it will only display the dialog box and button.

The customized NPC name can be entered in the "name" column of the interface.The name is 32 words, and the color of the text can be changed in style code.The dialog dialog box is located directly below the "name", which is usually used as a guide tool.The number of words in the dialog box is limited to 256, although it is 337 in some cases.The appearance of the NPC is optional. Just left -click the skin you want to change the skin.There are currently 20 NPC skin for the default yellow robe NPC.Advanced Settings High -end NPC settings consist of URL and commands.They are used to create interactive buttons.The maximum high -level settings that can be added are currently added to 6.

The URLURL function allows players to add a hyperlink button.URL can be entered in the first input box below the title.Can enter up to 1024 words.To change the button name or label, you can do it by filling in the input box of the title "button name". The label can only enter up to 16 words at most.After adding, the button will only be displayed when the player disables the authority of World Builder.The button tag is default to "understand more", the color default is blue, and the style code can be changed.The command command function allows players to add commands to the NPC.The command can be entered in the first input box below the title. It is not like the command block, because it can execute multiple commands at the same time, and the current command can enter up to 1024 words.This command can be presented as a button or direct command.As a button, the button name or label can be changed by filling in the "button name". The text limit of the label is 16 words.Only when the player's World Builder permissions are disabled.When the non -as the button is added, the right -click NPC will execute the command.On the contrary, the button will be displayed and has the default light gray label color, and can use style code to change the color.