... | @@ -22,28 +22,42 @@ npcs: |
... | @@ -22,28 +22,42 @@ npcs: |
|
**Every npc data has generic settings.**
|
|
**Every npc data has generic settings.**
|
|
|
|
|
|
```YAML
|
|
```YAML
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
# Client-side NPCs for QuestCreator
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
npcs:
|
|
|
|
|
|
|
|
# Example NPC
|
|
1: # This is the NPC id, must be between 1 and 10000
|
|
1: # This is the NPC id, must be between 1 and 10000
|
|
|
|
# Name of the NPC
|
|
name: 'My NPC'
|
|
name: 'My NPC'
|
|
skin: 6833a1c9-95a5-4c79-bc1f-45341ec0ff40
|
|
# Skin data of the NPC (can be generated or obtained with https://mineskin.org/)
|
|
|
|
skin_data: 'eyJ0aW1lc3RhbXAiOjE1NTYwNDc1MTM5NTUsInByb2ZpbGVJZCI6IjNmYzdmZGY5Mzk2MzRjNDE5MTE5OWJhM2Y3Y2MzZmVkIiwicHJvZmlsZU5hbWUiOiJZZWxlaGEiLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzUyZTEwNmI3NGQxYTI4OTBmZjcyYzU1Y2I3NjFlYzBjMmIwMjdlYmE2NWY2YTVkYWJkM2FkZjNkMmZiMzUyOWEifX19'
|
|
|
|
skin_signature: 'otbzMAfHHBYSGtObEvrtSQvrERDPgl88T0Ja47N1zBYD32OyKR3WOLre7osarmS4Eft9lFE56/87aeMvnIkK9Fj7tiBi8dgCjGstj19lVSrFqIrwd9LqKoHugOfzwR7KdSrH0dkTzuZD+m/DxKeS0VsAUmdLtemYwP/Bj8Ff8ZNL7l/ANioSkWdF+b1YOlONXfPoeY2tauCWvcG3ZFlIvc6XG4lTVtp7BrXbYJoKR880MDny/AkOEJaYnmiMcZ7y3xpnTW1uv+OiagtFVyrDCyaKwEVyskp7l5vsya1pZd4Zg6405DhMsEQv+5kGHAWGvfvqUGdoaBoWteN6rfKCx+eLozf0WGYXNlZEkmRPjbo/Ywc9iId1xMkYJo5/LLkMrRIarp6GWHbbXW3V9L/eKw+dfdAZdxX2SXfWt+yv8cQpWU+6IAzRtaOE2EHcIr/hGtRZuXZEWJQvMmEJCNAgj9kf0FbVKs763P1ktWj/9wvDj69SnyzLdDW5+HlfpzGTeQFUeoOu+qmsu2olRCrhH2tKDbievqmO3J8q3AJdQWL0C5AyJUlzZh3JA9Kcfhjq/W6KT3EMmRflNl+3ha4Fwfrzow+RCSaZa7aOgwQlLOBzKVckOsZB5ci2X1gK32rY4plihMfVl3VvydrHjEMfqM0Q1NuaKfdxUKzMCBtT5JU='
|
|
|
|
# Default location
|
|
location: world,0,0,0
|
|
location: world,0,0,0
|
|
|
|
# The NPC will look at the player if he's below that distance
|
|
target_distance: 5.0
|
|
target_distance: 5.0
|
|
|
|
# List of status ; can be ON_FIRE, CROUCHED, SPRINTING, INTERACT, INVISIBLE, GLOWING, ELYTRA
|
|
status: []
|
|
status: []
|
|
held_item:
|
|
# Inventory content
|
|
|
|
held_item: # Held item
|
|
type: DIAMOND_SWORD
|
|
type: DIAMOND_SWORD
|
|
held_item_off:
|
|
held_item_off: # Held item in off-hand (1.9+)
|
|
type: SHIELD
|
|
type: SHIELD
|
|
boots:
|
|
boots: # Boots
|
|
type: DIAMOND_BOOTS
|
|
type: DIAMOND_BOOTS
|
|
leggings:
|
|
leggings: # Leggings
|
|
type: DIAMOND_LEGGINGS
|
|
type: DIAMOND_LEGGINGS
|
|
chestplate:
|
|
chestplate: # Chestplate
|
|
type: DIAMOND_CHESTPLATE
|
|
type: DIAMOND_CHESTPLATE
|
|
helmet:
|
|
helmet: # Helmet
|
|
type: DIAMOND_HELMET
|
|
type: DIAMOND_HELMET
|
|
```
|
|
```
|
|
|
|
|
|
- 'name' is the name of the NPC.
|
|
- 'name' is the name of the NPC.
|
|
- 'skin' is the skin of the NPC (currently, must be an UUID).
|
|
- 'skin_data' and 'skin_signature' is the skin texture of the NPC (can be obtained or generated with https://mineskin.org/
|
|
- 'location' is the default NPC location.
|
|
- 'location' is the default NPC location.
|
|
- 'target_distance' : the NPC will look at the player if he's in that range.
|
|
- 'target_distance' : the NPC will look at the player if he's in that range.
|
|
- 'status' is a list of status (ON_FIRE, CROUCHED, SPRINTING, INTERACT, INVISIBLE, GLOWING, ELYTRA). Multiple status can be defined in that list.
|
|
- 'status' is a list of status (ON_FIRE, CROUCHED, SPRINTING, INTERACT, INVISIBLE, GLOWING, ELYTRA). Multiple status can be defined in that list.
|
... | | ... | |