mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-11 03:40:48 +00:00
67 lines
1.5 KiB
JSON
67 lines
1.5 KiB
JSON
{
|
|
"$id": "957886722",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"2267778531": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"properties": {
|
|
"expression": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"expression",
|
|
"version"
|
|
],
|
|
"type": "object"
|
|
}
|
|
],
|
|
"title": "Molang string"
|
|
},
|
|
"3178719147": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/2267778531"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
],
|
|
"title": "Molang expression"
|
|
}
|
|
},
|
|
"properties": {
|
|
"on_bred": {
|
|
"$ref": "#/definitions/3178719147",
|
|
"description": "A Molang expression defining the amount of experience rewarded when this entity is successfully bred."
|
|
},
|
|
"on_bred_array": {
|
|
"deprecated": true,
|
|
"items": {
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"on_death": {
|
|
"$ref": "#/definitions/3178719147",
|
|
"description": "A Molang expression defining the amount of experience rewarded when this entity dies."
|
|
},
|
|
"on_death_array": {
|
|
"deprecated": true,
|
|
"items": {
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"title": "minecraft:experience_reward",
|
|
"type": "object",
|
|
"x-format-version": "1.21.110"
|
|
} |