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
Requiredminecraft:this_entity - Mandatory as the entity that obtains the loyalty
Optionalmineminenomi:completed_challenge - Used purely for determining the source of the obtained loyalty

Example

{
    "functions": [
        {
            "function": "mineminenomi:increase_loyalty",
            "amount": 50,
            "source": "QUEST"
        }
    ]
}
Last change: 2024-09-22