1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-08-08 16:41:57 +00:00
Files
bedrock-samples/metadata/json_schemas/client_server/1.21.20/RandomGroupPoolAlias.json
Mike Ammerlaan c32ab2ac8e v1.21.100.6
2025-08-05 10:30:44 -07:00

116 lines
3.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2375908812",
"x-format-version": "1.21.20",
"x-minecraft-version": "1.21.100-beta.6",
"definitions": {
"2155635173": {
"title": "WeightedRandomItem",
"description": "Weighted Random Item",
"type": "object",
"properties": {
"data": {
"description": "Item's data",
"type": "array",
"items": {
"oneOf": [
{
"description": "Pool alias for a Direct target.",
"$ref": "#/definitions/3138104923"
},
{
"description": "Pool alias for a Random list of targets",
"$ref": "#/definitions/169701669"
}
]
}
},
"weight": {
"description": "Weight of item",
"type": "integer"
}
},
"required": [
"data",
"weight"
]
},
"3138104923": {
"title": "DirectPoolAlias",
"description": "Pool alias for a Direct target.",
"type": "object",
"properties": {
"alias": {
"description": "Alias of Direct pool",
"type": "string"
},
"target": {
"description": "Target pool",
"type": "string"
}
},
"required": [
"alias",
"target"
]
},
"169701669": {
"title": "RandomPoolAlias",
"description": "Pool alias for a Random list of targets",
"type": "object",
"properties": {
"alias": {
"description": "Alias of Random Pool",
"type": "string"
},
"targets": {
"description": "List of potential pools",
"type": "array",
"items": {
"description": "Weighted Random Item",
"$ref": "#/definitions/2318795732"
}
}
},
"required": [
"alias",
"targets"
]
},
"2318795732": {
"title": "WeightedRandomItem",
"description": "Weighted Random Item",
"type": "object",
"properties": {
"data": {
"description": "Item's data",
"type": "string"
},
"weight": {
"description": "Weight of item",
"type": "integer"
}
},
"required": [
"data",
"weight"
]
}
},
"title": "RandomGroupPoolAlias",
"description": "Pool alias for a RandomGroup of aliases",
"type": "object",
"properties": {
"groups": {
"description": "Aliases for a RandomGroup",
"type": "array",
"items": {
"description": "Weighted Random Item",
"$ref": "#/definitions/2155635173"
}
}
},
"required": [
"groups"
]
}