Files
minecraft-bedrock-json-schemas/source/resource/water/water.json

192 lines
7.0 KiB
JSON
Raw Normal View History

{
"$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"
}
}
}
}
}
}
}