* - Added VV

* - Updated block culling

* - Added remove_in_peaceful

* - Added leashable_to

* - Updated leashable

* - Added body_rotation_always_follows_head

* - Added particle count to destruction_particles

* - Added uv_lock

* - Added liquid_settings to jigsaws

* - Added missing jigsaw fields

* - Added random_offset

* - Updated color grading description for one field

* - Added damaged_by_entity loot table condition

* - Added y offset to interact > spawn_items

* - Added is_riding_self filter

* - Added hides_player_location to wearable

* - Added henyey_greenstein_g to fog

* - Added block component movable

* - Removed internal markers for VV client biome components

* - Removed experimental marker for air controlled
This commit is contained in:
Xterionix
2025-06-02 17:48:10 +05:00
committed by GitHub
parent 6c6420b96f
commit caef874bf8
44 changed files with 1779 additions and 254 deletions

View File

@@ -0,0 +1,16 @@
{
"title": "Height Provider",
"description": "The type of the the height provider. These values determine the format of the start_height JSON Object.",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"enum": [ "constant", "uniform" ]
}
},
"allOf": [
{ "if": { "properties": { "processor_type": { "const": "constant" } } }, "then": { "$ref": "./height_provider/constant.json" } },
{ "if": { "properties": { "processor_type": { "const": "uniform" } } }, "then": { "$ref": "./height_provider/uniform.json" } }
]
}

View File

@@ -0,0 +1,19 @@
{
"title": "Constant",
"description": "Constant anchor point.",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"const": "constant"
},
"value": {
"$ref": "../vertical_anchor.json"
}
},
"required": [
"value",
"type"
]
}

View File

@@ -0,0 +1,23 @@
{
"title": "Uniform",
"description": "When the type is \"uniform\" it now also expects two vertical anchor points to use as the minimum and maximum heights over which to perform the uniform distribution.",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"const": "uniform"
},
"min": {
"$ref": "../vertical_anchor.json"
},
"max": {
"$ref": "../vertical_anchor.json"
}
},
"required": [
"min",
"max",
"type"
]
}

View File

@@ -21,7 +21,7 @@
"description": "The description of this jigsaw.",
"type": "object",
"additionalProperties": false,
"required": ["identifier"],
"required": [ "identifier" ],
"properties": {
"identifier": {
"title": "Identifier",
@@ -48,16 +48,67 @@
},
"start_height": {
"title": "Start Height",
"description": "World height at which the Jigsaw Structure should begin generation.",
"type": "integer",
"maximum": 320,
"minimum": -64
"description": "Height at which the Jigsaw Structure's start_pool should begin.",
"$ref": "./height_provider.json"
},
"start_pool": {
"title": "Start Pool",
"type": "string",
"description": "The first Template Pool to use when generating the Jigsaw Structure."
},
"start_jigsaw_name": {
"title": "Start Jigsaw Name",
"description": "The name of the Jigsaw Block from the start_pool to be placed first.",
"type": "string"
},
"max_distance_from_center": {
"title": "Max Distance From Center",
"description": "The max distance from the jigsaw pieces to the structure start.",
"type": "integer",
"minimum": 1,
"maximum": 128
},
"pool_aliases": {
"title": "Pool Aliases",
"description": "Pool Aliases are used to determine which Template Pool can be a substitute.",
"type": "array",
"items": {
"$ref": "./pool_aliases.json"
}
},
"dimension_padding": {
"anyOf": [
{
"title": "Dimension Padding",
"description": "Dimension padding prevents the structure from getting cut off at the top or bottom of the world.",
"type": "integer",
"minimum": 0,
"default": 0
},
{
"title": "Dimension Padding",
"description": "Dimension padding prevents the structure from getting cut off at the top or bottom of the world.",
"type": "object",
"additionalProperties": false,
"properties": {
"top": {
"title": "Top",
"description": "Distance in blocks from the top of the dimension that may not be used by the Jigsaw Structure.",
"type": "integer",
"minimum": 0,
"default": 0
},
"bottom": {
"title": "Bottom",
"description": "Distance in blocks from the bottom of the dimension that may not be used by the Jigsaw Structure.",
"type": "integer",
"minimum": 0,
"default": 0
}
}
}
]
},
"step": {
"title": "Step",
"description": "Specifies the world generation phase in which the structure is generated. This is used as a grouping concept to keep similar world-generation features generally bundled together.",
@@ -87,6 +138,12 @@
"encapsulate",
"none"
]
},
"liquid_settings": {
"title": "Liquid Settings",
"description": "How to handle waterloggable blocks overlapping with existing liquid.",
"type": "string",
"enum": [ "apply_waterlogging", "ignore_waterlogging" ]
}
}
}

View File

@@ -0,0 +1,17 @@
{
"title": "Pool Alias",
"description": "Used to rewire jigsaw pool connections by redirecting pool references in an individual structure. Done by specifying aliases for Template Pools. This can allow for themes across a full structure.",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"enum": [ "direct", "random", "random_group" ]
}
},
"allOf": [
{ "if": { "properties": { "processor_type": { "const": "direct" } } }, "then": { "$ref": "./pool_aliases/direct.json" } },
{ "if": { "properties": { "processor_type": { "const": "random" } } }, "then": { "$ref": "./pool_aliases/random.json" } },
{ "if": { "properties": { "processor_type": { "const": "random_group" } } }, "then": { "$ref": "./pool_aliases/random_group.json" } }
]
}

View File

@@ -0,0 +1,26 @@
{
"title": "Direct",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"const": "direct"
},
"alias": {
"title": "Alias",
"description": "The alias of the Template Pool to replace.",
"type": "string"
},
"target": {
"title": "Target",
"description": "The Template Pool to substitute when matched.",
"type": "string"
}
},
"required": [
"target",
"alias",
"type"
]
}

View File

@@ -0,0 +1,47 @@
{
"title": "Random",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"const": "random"
},
"alias": {
"title": "Alias",
"description": "The alias of the Template Pool to replace.",
"type": "string"
},
"targets": {
"title": "Target",
"description": "The Template Pool to substitute when matched.",
"type": "array",
"items": {
"title": "Weighted Random Item",
"description": "A used by Weighted Random Lists.",
"type": "object",
"additionalProperties": false,
"properties": {
"data": {
"title": "Data",
"description": "The data used when randomly selected.",
"type": "string"
},
"weight": {
"title": "Weight",
"description": "The weight of the item relative to the total weight of all items in the list.",
"type": "integer",
"minimum": 1
}
}
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"targets",
"alias",
"type"
]
}

View File

@@ -0,0 +1,39 @@
{
"title": "Random Group",
"type": "object",
"properties": {
"type": {
"title": "Type",
"type": "string",
"const": "random_group"
},
"groups": {
"title": "Groups",
"description": "A weighted random list containing items that contain pool alias items. The pool alias types can be any valid type except random_group.",
"type": "array",
"items": {
"title": "Weighted Random Item",
"description": "A used by Weighted Random Lists.",
"type": "object",
"additionalProperties": false,
"properties": {
"data": {
"title": "Data",
"description": "The data used when randomly selected.",
"$ref": "../pool_aliases.json"
},
"weight": {
"title": "Weight",
"description": "The weight of the item relative to the total weight of all items in the list.",
"type": "integer",
"minimum": 1
}
}
}
}
},
"required": [
"groups",
"type"
]
}

View File

@@ -0,0 +1,30 @@
{
"title": "Vertical Anchor",
"description": "A vertical anchor defines a point in the dimension to offset from. There are four types and each has it own individually named property",
"type": "object",
"additionalProperties": false,
"properties": {
"absolute": {
"title": "Absolute",
"description": "An absolute height.",
"type": "integer"
},
"above_bottom": {
"title": "Above Bottom",
"description": "A relative height above the bottom of the dimension.",
"type": "integer",
"minimum": 0
},
"below_top": {
"title": "Below Top",
"description": "A relative height below the top of the dimension.",
"type": "integer",
"minimum": 0
},
"from_sea": {
"title": "From Sea",
"description": "A relative height starting at the dimensions sea level.",
"type": "integer"
}
}
}