1.21.90 (#350)
* - 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:
241
source/resource/atmospherics/atmospherics.json
Normal file
241
source/resource/atmospherics/atmospherics.json
Normal file
@@ -0,0 +1,241 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.atmospherics.atmospherics",
|
||||
"type": "object",
|
||||
"title": "Atmospherics",
|
||||
"description": "The properties of the atmosphere",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:atmosphere_settings": {
|
||||
"title": "Atmosphere Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "description" ],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Atmosphere Description",
|
||||
"description": "Contains non-component settings for the atmosphere settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "identifier" ],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "The identifier for these atmosphere settings.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"horizon_blend_stops": {
|
||||
"type": "object",
|
||||
"title": "Horizon Blend Stops",
|
||||
"description": "How the atmosphere is divided up",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"min": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Minimum Horizon Height",
|
||||
"description": "The minimum horizon height",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Minimum Horizon Height",
|
||||
"description": "The minimum horizon height",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"start": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Start",
|
||||
"description": "The height relative to the horizon where the zenith contribution will take over",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Start",
|
||||
"description": "The height relative to the horizon where the zenith contribution will take over",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mie_start": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Mie Start",
|
||||
"description": "The height relative to the horizon where mie scattering begins",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Mie Start",
|
||||
"description": "The height relative to the horizon where mie scattering begins",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Maximum Horizon Height",
|
||||
"description": "The maximum horizon height",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Maximum Horizon Height",
|
||||
"description": "The maximum horizon height",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"rayleigh_strength": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Rayleigh Strength",
|
||||
"description": "How strong the atmosphere's rayleigh scattering term is",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Rayleigh Strength",
|
||||
"description": "How strong the atmosphere's rayleigh scattering term is",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sun_mie_strength": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Sun Mie Strength",
|
||||
"description": "How strong the sun's mie scattering term is",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Sun Mie Strength",
|
||||
"description": "How strong the sun's mie scattering term is",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"moon_mie_strength": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Moon Mie Strength",
|
||||
"description": "How strong the moon's mie scattering term is",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Moon Mie Strength",
|
||||
"description": "How strong the moon's mie scattering term is",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sun_glare_shape": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Sun Glare Shape",
|
||||
"description": "How the lobe of the mie scattering is shaped",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Sun Glare Shape",
|
||||
"description": "How the lobe of the mie scattering is shaped",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sky_zenith_color": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Sky Zenith Color",
|
||||
"description": "The RGB color of the zenith region of the atmosphere",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"$ref": "../lighting/format/color.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Sky Zenith Color",
|
||||
"description": "The RGB color of the zenith region of the atmosphere",
|
||||
"$ref": "../lighting/format/color.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sky_horizon_color": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Sky Horizon Color",
|
||||
"description": "The RGB color of the horizon region of the atmosphere",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"$ref": "../lighting/format/color.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Sky Horizon Color",
|
||||
"description": "The RGB color of the horizon region of the atmosphere",
|
||||
"$ref": "../lighting/format/color.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.resource.biomes.minecraft.atmosphere_identifier",
|
||||
"title": "Atmosphere Identifier",
|
||||
"description": "[INTERNAL - WORK IN PROGRESS] Set the atmosphere settings used during deferred rendering.\nBiomes without this component will have default atmosphere settings.",
|
||||
"description": "Set the atmosphere settings used during deferred rendering.\nBiomes without this component will have default atmosphere settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["atmosphere_identifier"],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.resource.biomes.minecraft.color_grading_identifier",
|
||||
"title": "Color Grading Identifier",
|
||||
"description": "[INTERNAL - WORK IN PROGRESS] Set the color_grading settings used during deferred rendering.\nBiomes without this component will have default color_grading settings.",
|
||||
"description": "Set the color_grading settings used during deferred rendering.\nBiomes without this component will have default color_grading settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["color_grading_identifier"],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.resource.biomes.minecraft.lighting_identifier",
|
||||
"title": "Lighting Identifier",
|
||||
"description": "[INTERNAL - WORK IN PROGRESS] Set the lighting settings used during deferred rendering.\nBiomes without this component will have default lighting settings.",
|
||||
"description": "Set the lighting settings used during deferred rendering.\nBiomes without this component will have default lighting settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["lighting_identifier"],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.resource.biomes.minecraft.water_identifier",
|
||||
"title": "Water Identifier",
|
||||
"description": "[INTERNAL - WORK IN PROGRESS] Set the water settings used during deferred rendering.\nBiomes without this component will have default water settings.",
|
||||
"description": "Set the water settings used during deferred rendering.\nBiomes without this component will have default water settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["water_identifier"],
|
||||
|
||||
@@ -51,12 +51,6 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"description": "It provides more control over which neighbor blocks will trigger a face or part to be culled.\n- \"default\" will pass the condition if the neighbor block is full and opaque. All conditions are an extension of \"default\", meaning a full and opaque neighbor will always be a passing condition, before the extended \"same_*\" condition is checked.\n- \"same_culling_layer\" will pass the condition if the neighbor block shares the same \"culling_layer\" as the block being occluded, defined in the geometry component. If either of the culling layers being compared is \"minecraft:culling_layer.undefined\", the condition will never pass.\n- \"same_block\" will pass the condition if the neighbor block has the same identifier.\n- \"same_block_permutation\" will pass the condition if the neighbor block has the same identifier and is the exact same permutation.",
|
||||
"type": "string",
|
||||
"enum": ["default", "same_culling_layer", "same_block", "same_block_permutation"]
|
||||
},
|
||||
"bone": {
|
||||
"title": "Bone",
|
||||
"description": "The bone within the geometry part",
|
||||
@@ -72,15 +66,27 @@
|
||||
"title": "Face",
|
||||
"description": "The face within the geometry part",
|
||||
"type": "string",
|
||||
"enum": ["up", "down", "north", "south", "east", "west"]
|
||||
"enum": [ "up", "down", "north", "south", "east", "west" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"cull_against_full_and_opaque": {
|
||||
"title": "Cull Against Full And Opaque",
|
||||
"description": "Whether to cull against a full, opaque block.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"description": "It provides more control over which neighbor blocks will trigger a face or part to be culled.\n- \"default\" will pass the condition if the neighbor block is full and opaque. All conditions are an extension of \"default\", meaning a full and opaque neighbor will always be a passing condition, before the extended \"same_*\" condition is checked.\n- \"same_culling_layer\" will pass the condition if the neighbor block shares the same \"culling_layer\" as the block being occluded, defined in the geometry component. If either of the culling layers being compared is \"minecraft:culling_layer.undefined\", the condition will never pass.\n- \"same_block\" will pass the condition if the neighbor block has the same identifier.\n- \"same_block_permutation\" will pass the condition if the neighbor block has the same identifier and is the exact same permutation.",
|
||||
"type": "string",
|
||||
"enum": [ "same_culling_layer", "same_block", "same_block_permutation" ]
|
||||
},
|
||||
"direction": {
|
||||
"title": "Direction",
|
||||
"description": "Specifies the direction of the neighbor block to check for culling. This direction rotates with a block's Transform component.",
|
||||
"type": "string",
|
||||
"enum": ["up", "down", "north", "south", "east", "west"] //TODO: Check if "side" and "all" work here too
|
||||
"enum": [ "up", "down", "north", "south", "east", "west" ] //TODO: Check if "side" and "all" work here too
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
282
source/resource/color_grading/color_grading.json
Normal file
282
source/resource/color_grading/color_grading.json
Normal file
@@ -0,0 +1,282 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.color_grading.color_grading",
|
||||
"type": "object",
|
||||
"title": "Color Grading",
|
||||
"description": "The properties of the color grading",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:color_grading_settings": {
|
||||
"title": "Color Grading Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "description" ],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Color Grading Description",
|
||||
"description": "Contains non-component settings for the color grading settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "identifier" ],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "The identifier for these color grading settings.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color_grading": {
|
||||
"type": "object",
|
||||
"title": "Color Grading",
|
||||
"description": "The color grading settings",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"midtones": {
|
||||
"title": "Midtones",
|
||||
"description": "Color grading parameters for midtones, and for when highlights or shadows are not specified.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"contrast": {
|
||||
"title": "Contrast",
|
||||
"description": "Describes the difference in luminance between the bright and dark pixels in an image, otherwise known as the tonal range.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4
|
||||
}
|
||||
},
|
||||
"gain": {
|
||||
"title": "Gain",
|
||||
"description": "A multiplication factor applied to each color channel to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
}
|
||||
},
|
||||
"gamma": {
|
||||
"title": "Gamma",
|
||||
"description": "An exponential factor applied to the final color after both color grading and tone mapping to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4
|
||||
}
|
||||
},
|
||||
"offset": {
|
||||
"title": "Offset",
|
||||
"description": "An additive factor that is multiplied by the average luminance of the scene and then added to a given color channel to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": -1,
|
||||
"maximum": 1
|
||||
}
|
||||
},
|
||||
"saturation": {
|
||||
"title": "Saturation",
|
||||
"description": "Determines the hue intensity of colors. A value of 1.0 results in no change in saturation to the original image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"highlights": {
|
||||
"title": "Highlights",
|
||||
"description": "Optional color grading parameters for highlights.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"title": "Enabled",
|
||||
"description": "Whether to enable highlights",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"highlightsMin": {
|
||||
"title": "Highlights Min",
|
||||
"description": "A factor multiplied by the average luminance of the scene to determine which pixels are considered highlights.",
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"maximum": 4
|
||||
},
|
||||
"contrast": {
|
||||
"title": "Contrast",
|
||||
"description": "Describes the difference in luminance between the bright and dark pixels in an image, otherwise known as the tonal range.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4
|
||||
}
|
||||
},
|
||||
"gain": {
|
||||
"title": "Gain",
|
||||
"description": "A multiplication factor applied to each color channel to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
}
|
||||
},
|
||||
"gamma": {
|
||||
"title": "Gamma",
|
||||
"description": "An exponential factor applied to the final color after both color grading and tone mapping to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4
|
||||
}
|
||||
},
|
||||
"offset": {
|
||||
"title": "Offset",
|
||||
"description": "An additive factor that is multiplied by the average luminance of the scene and then added to a given color channel to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": -1,
|
||||
"maximum": 1
|
||||
}
|
||||
},
|
||||
"saturation": {
|
||||
"title": "Saturation",
|
||||
"description": "Determines the hue intensity of colors. A value of 1.0 results in no change in saturation to the original image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shadows": {
|
||||
"title": "Shadows",
|
||||
"description": "Optional color grading parameters for shadows.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"title": "Enabled",
|
||||
"description": "Whether to enable shadows",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"shadowsMax": {
|
||||
"title": "Shadows Min",
|
||||
"description": "A factor multiplied by the average luminance of the scene to determine which pixels are considered shadows.",
|
||||
"type": "number",
|
||||
"minimum": 0.1,
|
||||
"maximum": 1
|
||||
},
|
||||
"contrast": {
|
||||
"title": "Contrast",
|
||||
"description": "Describes the difference in luminance between the bright and dark pixels in an image, otherwise known as the tonal range.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4
|
||||
}
|
||||
},
|
||||
"gain": {
|
||||
"title": "Gain",
|
||||
"description": "A multiplication factor applied to each color channel to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
}
|
||||
},
|
||||
"gamma": {
|
||||
"title": "Gamma",
|
||||
"description": "An exponential factor applied to the final color after both color grading and tone mapping to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4
|
||||
}
|
||||
},
|
||||
"offset": {
|
||||
"title": "Offset",
|
||||
"description": "An additive factor that is multiplied by the average luminance of the scene and then added to a given color channel to adjust the overall luminance intensity of the image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": -1,
|
||||
"maximum": 1
|
||||
}
|
||||
},
|
||||
"saturation": {
|
||||
"title": "Saturation",
|
||||
"description": "Determines the hue intensity of colors. A value of 1.0 results in no change in saturation to the original image.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"temperature": {
|
||||
"title": "Temperature",
|
||||
"description": "Optional parameters for temperature based color grading.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"title": "Enabled",
|
||||
"description": "Whether to enable temperature grading",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"temperature": {
|
||||
"title": "Temperature",
|
||||
"description": "Sets the temperature in kelvin",
|
||||
"type": "number",
|
||||
"minimum": 1000,
|
||||
"maximum": 15000
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "The type of temperature color grading to apply",
|
||||
"type": "string",
|
||||
"enum": [ "white_balance", "color_temperature" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tone_mapping": {
|
||||
"title": "Tone Mapping",
|
||||
"description": "Tone mapping determines how a color is remapped from HDR-space to SDR-space for display on modern televisions and monitors.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"operator": {
|
||||
"title": "Operator",
|
||||
"description": "The operator for the tone mapping",
|
||||
"type": "string",
|
||||
"enum": [ "reinhard", "reinhard_luma", "reinhard_luminance", "hable", "aces", "generic" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -271,6 +271,40 @@
|
||||
"$ref": "#/definitions/volumeMediaObject"
|
||||
}
|
||||
}
|
||||
},
|
||||
"henyey_greenstein_g": {
|
||||
"title": "Henyey Greenstein G",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"air": {
|
||||
"title": "Air",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"henyey_greenstein_g": {
|
||||
"title": "Henyey Greenstein G",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"water": {
|
||||
"title": "Water",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"henyey_greenstein_g": {
|
||||
"title": "Henyey Greenstein G",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
20
source/resource/lighting/format/color.json
Normal file
20
source/resource/lighting/format/color.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.lighting.color",
|
||||
"title": "Lighting Color",
|
||||
"description": "The color of the light emitted by the block, in RGB format or hex format.",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "color-hex",
|
||||
"examples": ["#FFFFFF", "#000000"]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "title": "Red", "type": "integer", "minimum": 0, "maximum": 255 },
|
||||
{ "title": "Blue", "type": "integer", "minimum": 0, "maximum": 255 },
|
||||
{ "title": "Green", "type": "integer", "minimum": 0, "maximum": 255 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
233
source/resource/lighting/lighting.json
Normal file
233
source/resource/lighting/lighting.json
Normal file
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.lighting.global",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:lighting_settings": {
|
||||
"title": "Lighting Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "description", "directional_lights" ],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Lighting Settings Description",
|
||||
"description": "Contains non-component settings for the lighting settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "identifier" ],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "The identifier for these lighting settings.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"directional_lights": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Directional Lights",
|
||||
"description": "The directional lights that affect the world",
|
||||
"properties": {
|
||||
"orbital": {
|
||||
"title": "Orbital",
|
||||
"description": "Lighting settings for orbital light sources",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"sun": {
|
||||
"type": "object",
|
||||
"title": "Sun",
|
||||
"description": "The sun directional light",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"illuminance": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Illuminance",
|
||||
"description": "How bright the sun is, measured in lux (lx)",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Illuminance",
|
||||
"description": "How bright the sun is, measured in lux (lx)",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Color",
|
||||
"description": "The RGB color that the sun contributes to direct surface lighting",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"$ref": "./format/color.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Color",
|
||||
"description": "The RGB color that the sun contributes to direct surface lighting",
|
||||
"$ref": "./format/color.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"moon": {
|
||||
"type": "object",
|
||||
"title": "Moon",
|
||||
"description": "The moon directional light",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"illuminance": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Illuminance",
|
||||
"description": "How bright the moon is, measured in lux (lx)",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Illuminance",
|
||||
"description": "How bright the moon is, measured in lux (lx)",
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"color": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Color",
|
||||
"description": "The RGB color that the moon contributes to direct surface lighting",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"$ref": "./format/color.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Color",
|
||||
"description": "The RGB color that the moon contributes to direct surface lighting",
|
||||
"$ref": "./format/color.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"orbital_offset_degrees": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Orbital Offset Degrees",
|
||||
"description": "The rotational offset of the sun and moon from their standard orbital axis; measured in degrees",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^\\d*\\.?\\d+$": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 360
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Orbital Offset Degrees",
|
||||
"description": "The rotational offset of the sun and moon from their standard orbital axis; measured in degrees",
|
||||
"minimum": 0,
|
||||
"maximum": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"flash": {
|
||||
"title": "Flash",
|
||||
"description": "Lighting settings for the end flash",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"illuminance": {
|
||||
"title": "Illuminance",
|
||||
"description": "The peak brightness of the End flash, measured in lux (lx)",
|
||||
"type": "number"
|
||||
},
|
||||
"color": {
|
||||
"title": "Color",
|
||||
"description": "The RGB color that the End Flash contributes to direct surface lighting",
|
||||
"$ref": "./format/color.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"emissive": {
|
||||
"title": "Emissive",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"desaturation": {
|
||||
"title": "Desaturation",
|
||||
"description": "The amount of desaturation to apply to albedo color values during emissive light calculation",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"ambient": {
|
||||
"title": "Ambient",
|
||||
"description": "Lighting settings for the ambient light",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"illuminance": {
|
||||
"title": "Illuminance",
|
||||
"description": "How bright the ambient light is, measured in lux (lx)",
|
||||
"type": "number"
|
||||
},
|
||||
"color": {
|
||||
"title": "Color",
|
||||
"description": "The RGB color that the ambient light contributes to direct surface lighting",
|
||||
"$ref": "./format/color.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sky": {
|
||||
"title": "Sky",
|
||||
"description": "Lighting settings for the sky",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"intensity": {
|
||||
"title": "Intensity",
|
||||
"description": "Scales how much energy the sky contributes to lighting",
|
||||
"type": "number",
|
||||
"minimum": 0.1,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
85
source/resource/pbr/global.json
Normal file
85
source/resource/pbr/global.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.pbr.global",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"rgbaOrHex": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Red" },
|
||||
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Green" },
|
||||
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Blue" },
|
||||
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Alpha" }
|
||||
]
|
||||
},
|
||||
{ "type": "string", "format": "color-hex", "pattern": "^\\#[0-9a-fA-F]{6}$" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:pbr_fallback_settings": {
|
||||
"title": "PBR Fallback Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "colors" ],
|
||||
"properties": {
|
||||
"blocks": {
|
||||
"title": "Blocks",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"global_metalness_emissive_roughness_subsurface": {
|
||||
"title": "Global Metalness Emissive Roughness Subsurface",
|
||||
"description": "The default MERS value to use for blocks when not defined via textureset",
|
||||
"$ref": "#/definitions/rgbaOrHex"
|
||||
}
|
||||
}
|
||||
},
|
||||
"actors": {
|
||||
"title": "Actors",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"global_metalness_emissive_roughness_subsurface": {
|
||||
"title": "Global Metalness Emissive Roughness Subsurface",
|
||||
"description": "The default MERS value to use for actors/mobs when not defined via textureset",
|
||||
"$ref": "#/definitions/rgbaOrHex"
|
||||
}
|
||||
}
|
||||
},
|
||||
"particles": {
|
||||
"title": "Particles",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"global_metalness_emissive_roughness_subsurface": {
|
||||
"title": "Global Metalness Emissive Roughness Subsurface",
|
||||
"description": "The default MERS value to use for particles when not defined via textureset",
|
||||
"$ref": "#/definitions/rgbaOrHex"
|
||||
}
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
"title": "Items",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"global_metalness_emissive_roughness_subsurface": {
|
||||
"title": "Global Metalness Emissive Roughness Subsurface",
|
||||
"description": "The default MERS value to use for items when not defined via textureset",
|
||||
"$ref": "#/definitions/rgbaOrHex"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
31
source/resource/point_lights/global.json
Normal file
31
source/resource/point_lights/global.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.point_lights.global",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:point_light_settings": {
|
||||
"title": "Point Light Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "colors" ],
|
||||
"properties": {
|
||||
"colors": {
|
||||
"title": "Colors",
|
||||
"description": " List of key-value pairs where the key is a namespace-qualified block name and the value is a color",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^[0-9a-zA-Z:_\\.\\-]+$": {
|
||||
"$ref": "../lighting/format/color.json"
|
||||
},
|
||||
"tile.[\\w.]+.name": {
|
||||
"$ref": "../lighting/format/color.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
30
source/resource/shadows/global.json
Normal file
30
source/resource/shadows/global.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.shadows.color_grading",
|
||||
"type": "object",
|
||||
"title": "Shadows",
|
||||
"description": "The properties of the shadows",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:shadow_settings": {
|
||||
"title": "Shadow Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "shadow_style" ],
|
||||
"properties": {
|
||||
"shadow_style": {
|
||||
"title": "Shadow Style",
|
||||
"description": "The type of shadows to use.",
|
||||
"type": "string",
|
||||
"enum": [ "blocky_shadows", "soft_shadows" ]
|
||||
},
|
||||
"texel_size": {
|
||||
"title": "Texel Size",
|
||||
"description": "The resolution to snap shadow texels to; recommended to use the same resolution as block texture assets in the accompanying pack",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
191
source/resource/water/water.json
Normal file
191
source/resource/water/water.json
Normal file
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.water.water",
|
||||
"type": "object",
|
||||
"title": "Water",
|
||||
"description": "The properties of the water",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:water_settings": {
|
||||
"title": "Water Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "description" ],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Water Settings Description",
|
||||
"description": "Contains non-component settings for the water settings.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "identifier" ],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "The identifier for these water settings.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"particle_concentrations": {
|
||||
"title": "Particle Concentrations",
|
||||
"description": "The composition of particles in a body of water is what determines its color and how light behaves as it travels through the water",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"cdom": {
|
||||
"title": "Cdom",
|
||||
"description": "Concentration of chromophoric dissolved organic matter in mg/L; higher concentrations produce more yellow/yellow-brown colors",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 15
|
||||
},
|
||||
"chlorophyll": {
|
||||
"title": "Chlorophyll",
|
||||
"description": "Concentration of chlorophyll in mg/L; higher concentrations produce more green colors",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 10
|
||||
},
|
||||
"suspended_sediment": {
|
||||
"title": "Suspended Sediment",
|
||||
"description": "Concentration of suspended sediment in mg/L; higher concentrations produce more red/red-brown colors",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 300
|
||||
}
|
||||
}
|
||||
},
|
||||
"waves": {
|
||||
"title": "Waves",
|
||||
"description": "Waves are an optional effect that can be used to complement water surface animations to make your water appear more realistic.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"title": "Enabled",
|
||||
"description": "Whether or not waves are on or off",
|
||||
"type": "boolean"
|
||||
},
|
||||
"depth": {
|
||||
"title": "Depth",
|
||||
"description": "Controls the amount of wave displacement",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 3
|
||||
},
|
||||
"direction_increment": {
|
||||
"title": "Direction Increment",
|
||||
"description": "Controls how much the heading changes between each octave",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 360
|
||||
},
|
||||
"frequency": {
|
||||
"title": "Frequency",
|
||||
"description": "Controls the size of individual waves; higher values create more tightly packed waves",
|
||||
"type": "number",
|
||||
"minimum": 0.01,
|
||||
"maximum": 3
|
||||
},
|
||||
"frequency_scaling": {
|
||||
"title": "Frequency Scaling",
|
||||
"description": "Controls how much frequencies change in subsequent octaves",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 2
|
||||
},
|
||||
"mix": {
|
||||
"title": "Mix",
|
||||
"description": "Controls how much each octave will blend into the neighboring octave",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"octaves": {
|
||||
"title": "Octaves",
|
||||
"description": "Determines how many layers of waves to simulate; high values result in more complex waves",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 30
|
||||
},
|
||||
"pull": {
|
||||
"title": "Pull",
|
||||
"description": "Controls how much smaller waves are pulled into larger ones",
|
||||
"type": "number",
|
||||
"minimum": -1,
|
||||
"maximum": 1
|
||||
},
|
||||
"sampleWidth": {
|
||||
"title": "Sample Width",
|
||||
"description": "Controls the resolutions of the fractal effect; higher values result in smoother waves",
|
||||
"type": "number",
|
||||
"minimum": 0.01,
|
||||
"maximum": 1
|
||||
},
|
||||
"shape": {
|
||||
"title": "Shape",
|
||||
"description": "Adjusts the shape of the wave",
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"maximum": 10
|
||||
},
|
||||
"speed": {
|
||||
"title": "Speed",
|
||||
"description": "Controls the starting speed of the first waves",
|
||||
"type": "number",
|
||||
"minimum": 0.01,
|
||||
"maximum": 10
|
||||
},
|
||||
"speed_scaling": {
|
||||
"title": "Speed Scaling",
|
||||
"description": "Controls how much faster/slower subsequent octaves move",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"caustics": {
|
||||
"title": "Caustics",
|
||||
"description": "Caustics are an effect that make bodies of water more realistic by projecting light rays on underwater surfaces.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"title": "Enabled",
|
||||
"description": "Whether or not caustics are on or off",
|
||||
"type": "boolean"
|
||||
},
|
||||
"frame_length": {
|
||||
"title": "Frame Length",
|
||||
"description": "How many seconds to spend on each frame of animation in the caustics texture",
|
||||
"type": "number",
|
||||
"minimum": 0.01,
|
||||
"maximum": 5
|
||||
},
|
||||
"power": {
|
||||
"title": "Power",
|
||||
"description": "Controls how bright the caustics effect appears",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 6
|
||||
},
|
||||
"scale": {
|
||||
"title": "Scale",
|
||||
"description": "Controls how size of the repetition of the caustics texture",
|
||||
"type": "number",
|
||||
"minimum": 0.1,
|
||||
"maximum": 5
|
||||
},
|
||||
"texture": {
|
||||
"title": "Texture",
|
||||
"description": "Resource location to a texture for controlling the shape of the caustics; if not used, a built-in Minecraft texture will be supplied automatically",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user