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

23 lines
993 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.experience_reward",
"type": "object",
"title": "Experience Reward 1.8.0",
"description": "Defines the amount of experience rewarded when the entity dies or is successfully bred.",
"additionalProperties": false,
"properties": {
"on_bred": {
"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",
"$ref": "../../../../molang/number.json"
},
"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",
"$ref": "../../../../molang/number.json"
}
}
}