생명력 | |
---|---|
공격력 |
없음 |
내부 ID |
51 |
문자열 ID |
npc |
소리(개선 필요) |
|
Non Player Characters (abbreviated as NPCs) are both passive and interactive mobs that have model similar to villagers. They are exclusive to the Education Edition[1] and Bedrock Edition.
생성 관련[]
Unlike other entities, NPCs don't spawn naturally, they can only be spawned using the NPC spawn egg.
When spawned, NPCs will display a name hovering over their head and defaults to §eNPC
.
Behavior[]
NPC는 AI가 없다. They can neither move nor be pushed by other entities. They also cannot take damage nor be affected by potions. Nevertheless, the NPCs can still turn their body and stare at the nearest player if close enough. The NPCs can be pushed by sticky pistons from below or sides with a slime block attached and they can slide on ice when pushed.
NPCs are invincible, meaning that projectiles will go through their body.
Interface[]
Right-clicking an NPC will show the interface, it can only be edited as long as the player has the world builder permission. The interface allows the player to edit the dialog, name, appearance and advanced settings. When the player doesn't have the world builder permission, it only shows the dialog and buttons.
Customization[]
- Name
- The name of an NPC can be entered in the top text pane titled "Name". The text limit for the name is 32, and the color can be changed by using the color codes.
- Dialog
- The dialog box located right below the "Name" and often used as a tool for guiding. The text limit for the dialog is 256, although in some cases it appears as 337.
- Appearance
- NPCs appearance are selectable, to change the skin simply just by left clicking on the preferred skin.
- There are currently 20 skins available for the NPCs and defaults to the yellow-robed NPC.
- Advanced Settings
- The advanced NPC settings consists of URL and commands. They are used to create interactive buttons. The current maximum advanced settings that can be added is 6.
- URL
- The URL feature allows the player to add a hyperlink button. The URL can be entered at the first input box below the title up to 1024 letters.
- To change the button name or label can be proceeded by filling the input box titled "Button Name", the current text limit for the label is 16 letters.
- When added, the button will show up only if the player has the world builder permission disabled. The button label defaults to "Learn More" and the color defaults to blue, it can be changed by using the color codes.
- Command
- The command feature allows the player to add one or more executable commands in the NPC. The command can be entered at the first input box below the title, unlike the command block multiple commands can be executed in one window. The current maximum letters for the command is 1024. The command(s) get executed when the dialogue with the NPC is closed.
- The command can be presented either as a button or a direct command. As a button, the button name or label can be changed by filling the input box titled "Button Name", the text limit for the label is 16 letters. It can only be executed if the player has the world builder permission disabled.
- When not added as a button, the command will be executed after the dialogue with the NPC, visible by right clicking the NPC, has closed. In contrariwise, the button will be displayed and has a label color defaults to light gray, and can be changed by using the color codes.
History[]
Pocket Edition 알파 | |||||
---|---|---|---|---|---|
0.16.0 | build 1 | NPC가 추가되었다. | |||
build 2 | NPC가 제거되었다. 하지만, NPC의 savegame ID와 스폰 알은 여전히 존재한다. | ||||
build 4 | NPC 스폰 알이 제거되었다. | ||||
build 5 | NPCs will now have a behavior file in: 'server/entities/npc.json'. | ||||
Bedrock Edition | |||||
1.8.0 | beta 1.8.0.8 | NPC가 다시 추가되었다. They currently have no functionality.[검증 필요] | |||
NPCs can only be summoned using the /summon command while having the Education Edition mode enabled. | |||||
1.10.0 | beta 1.10.0.4 | NPCs are no longer summonable using /summon , but can still be spawned via mob editing, and still available in a world if one was spawned in a previous version.
| |||
NPCs now have a dialog GUI and changeable skins. | |||||
Education Edition | |||||
1.0 | NPC가 추가되었다. These NPCs are editable and can be given commands to do certain actions. | ||||
1.0.2 | NPC interface page is now more advanced. | ||||
Added button mode for the URL and commands. |
Issues[]
“NPC”에 관련된 문제점은 이슈 트래커에서 관리된다. 그곳에서 문제점을 보고하면 된다.
Trivia[]
- NPC will instantly die when going below y=0 and makes wood placing sounds as it vaporizes.
- Even though NPC can easily be killed with the world builder permission, it cannot be killed by using the
/kill
command. - The name of an NPC will remain visible from a distance, even through walls.
갤러리[]
- NPC.jpg
NPC.
- Npcpe.png
Example of a spawned NPC named
§eNPC
. - Npcskinsinpe.png
NPC skins.
References[]
- ↑ "Education.minecraft.net" – Minecraft: Education Edition
플레이어 |
| ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
몹 |
| ||||||||||||||||||||||
블록 |
| ||||||||||||||||||||||
탈것 |
| ||||||||||||||||||||||
발사체 |
| ||||||||||||||||||||||
정적 객체 |
| ||||||||||||||||||||||
기타 |
| ||||||||||||||||||||||
기술적 객체 |
|