increase_loyalty
Used to increase the player's loyalty
Format
increase_loyalty
├─ amount - Integer
└─ source - Source of the loyalty, if its not present a NATURAL source is assumed
Context
| Context | |
|---|---|
| Required | minecraft:this_entity - Mandatory as the entity that obtains the loyalty |
| Optional | mineminenomi:completed_challenge - Used purely for determining the source of the obtained loyalty |
Example
{
"functions": [
{
"function": "mineminenomi:increase_loyalty",
"amount": 50,
"source": "QUEST"
}
]
}