1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-07-16 15:55:38 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

98 lines
3.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2155635173",
"x-format-version": "1.21.20",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"3138104923": {
"title": "struct SharedTypes::v1_21_20::PoolAliases::Direct",
"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": "struct SharedTypes::v1_21_20::PoolAliases::Random",
"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": "struct SharedTypes::v1_21_20::WeightedRandomItem<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >",
"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": "struct SharedTypes::v1_21_20::WeightedRandomItem<class std::vector<class std::variant<struct SharedTypes::v1_21_20::PoolAliases::Direct,struct SharedTypes::v1_21_20::PoolAliases::Random>,class std::allocator<class std::variant<struct SharedTypes::v1_21_20::PoolAliases::Direct,struct SharedTypes::v1_21_20::PoolAliases::Random> > > >",
"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"
]
}