Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/experience_reward.json

22 lines
887 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.experience_reward",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Experience Reward",
2021-10-08 12:59:03 +02:00
"description": "Defines the amount of experience rewarded when the entity dies or is successfully bred.",
"additionalProperties": false,
"properties": {
"on_bred": {
"type": "string",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.",
"title": "On Bred"
},
"on_death": {
"type": "string",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.",
"title": "On Death"
}
}
}