1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-08-02 11:26:40 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

290 lines
11 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "662705489",
"x-format-version": "1.21.50",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"3424466759": {
"title": "struct SharedTypes::v1_21_60::Spawn::PermuteType",
"type": "object",
"properties": {
"entity_type": {
"description": "Specifies the entity type to spawn when selected",
"type": "string"
},
"min_guaranteed": {
"description": "The minimum number of this permutation's entity to spawn",
"type": "integer",
"minimum": 0.0
},
"weight": {
"description": "The likelihood of this to be selected over the combined weight of all the entities in the permutation",
"type": "integer",
"minimum": 0.0
}
},
"required": [
"weight"
]
},
"3629386827": {
"title": "struct SharedTypes::v1_21_60::Spawn::BiomeConditions",
"description": "Biome specific rules for spawning",
"type": "object",
"properties": {
"biome_filter": {
"description": "Filter to limit spawns to specific biomes.",
"$ref": "#/definitions/1088251937"
},
"herds": {
"description": "Configurations for size and events when spawning groups of entities",
"type": "array",
"items": {
"$ref": "#/definitions/98158070"
}
},
"mob_event_filter": {
"description": "Filter to exclude entities if the event is disabled.",
"type": "string"
},
"permute_types": {
"description": "List of randomly choosable permutations of the entity",
"type": "array",
"items": {
"$ref": "#/definitions/3424466759"
}
},
"weight": {
"description": "The weight used when comparing other entities that can spawn within a biome",
"type": "integer",
"minimum": 0.0
}
},
"required": [
"weight"
]
},
"1088251937": {
"title": "Filter Group",
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
"oneOf": [
{
"$ref": "#/definitions/4150989894"
},
{
"type": "array",
"items": {
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
"$ref": "#/definitions/1088251937"
}
},
{
"type": "object",
"properties": {
"AND": {
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"NOT": {
"description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"OR": {
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"all": {
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"all_of": {
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"any": {
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"any_of": {
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"none_of": {
"description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
"$ref": "#/definitions/1088251937"
}
}
}
]
},
"98158070": {
"title": "struct SharedTypes::v1_21_60::Spawn::Herd",
"type": "object",
"properties": {
"event": {
"description": "An event to run after 'event_skip_count' number of entities in the group have spawned",
"type": "string"
},
"event_skip_count": {
"description": "Number of entities spawned in the group to skip before running the event",
"type": "integer"
},
"initial_event": {
"description": "Event run for the first 'initial_event_count' number of the group are placed.",
"type": "string"
},
"initial_event_count": {
"description": "Number of times that 'initial_event' can run",
"type": "integer"
},
"max": {
"description": "Maximum number of entities in this group to attempt to spawn",
"type": "integer",
"minimum": 0.0
},
"min": {
"description": "Minimum number of entities in this group to attempt to spawn",
"type": "integer",
"minimum": 0.0
}
}
},
"4150989894": {
"title": "Filter Test",
"type": "object",
"properties": {
"domain": {
"description": "The domain the test should be performed in.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"operator": {
"description": "The comparison to apply with 'value'.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"subject": {
"description": "The subject of this filter test.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"test": {
"description": "The name of the test to apply.",
"type": "string"
},
"value": {
"description": "The value being compared with the test.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
}
},
"required": [
"test"
]
},
"1743975235": {
"title": "struct SharedTypes::v1_21_60::Spawn::Description",
"type": "object",
"properties": {
"identifier": {
"type": "string"
}
},
"required": [
"identifier"
]
},
"1564953790": {
"title": "struct SharedTypes::v1_21_60::Spawn::Placement",
"description": "Placement rule defintions",
"type": "object",
"properties": {
"heightmap": {
"description": "Defines the heightmap filter for initial entity placement during chunk loading.",
"type": "string"
},
"spawn_obstruction_predicate": {
"description": "Checks for obstructions that might prevent entity spawning.",
"type": "string"
},
"spawn_predicate": {
"description": "Determines if an entity is valid to spawn based on specific conditions.",
"type": "string"
},
"type": {
"description": "Specifies the environment where the entity can spawn (e.g., on ground, in water, etc.).",
"type": "string"
}
}
}
},
"title": "struct SharedTypes::v1_21_60::Spawn::Contents",
"type": "object",
"properties": {
"conditions": {
"type": "array",
"items": {
"description": "Biome specific rules for spawning",
"$ref": "#/definitions/3629386827"
}
},
"description": {
"$ref": "#/definitions/1743975235"
},
"placement": {
"description": "Placement rule defintions",
"$ref": "#/definitions/1564953790"
}
},
"required": [
"description"
]
}