Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/experience_reward.json
2021-10-08 13:18:16 +02:00

22 lines
887 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.experience_reward",
"type": "object",
"title": "Experience Reward",
"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"
}
}
}