1.21.120 (#392)
* - Fix typo "torse" -> "torso" * - Added "main_hand" as an equipment location * - Added support for "beta" version of script modules * - Update point lights to local light * - Added precipitation_interactions * - Added control flags field to more goals * - Update fire_resistant to not accept direct values * - Added swing_duration component * - Added emissive block rendering * - Added emit_vibrations field to use_modifiers * - Added underwater ambient sounds - Added chance field to ambient sound addition * - Added alpha_masked_tint * - Added apply_knockback_to_blocking_targets field to projectile
This commit is contained in:
@@ -4,11 +4,31 @@
|
||||
"description": "Sets the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"sound_addition": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"asset": {
|
||||
"title": "Asset",
|
||||
"description": "Name of the sound asset to play",
|
||||
"type": "string"
|
||||
},
|
||||
"chance": {
|
||||
"title": "Chance",
|
||||
"description": "Probability of the sound playing each interval, between 0.0 and 1.0",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"addition": {
|
||||
"title": "Addition",
|
||||
"description": "Named sound that occasionally plays at the listener position.",
|
||||
"type": "string"
|
||||
"oneOf": [ { "type": "string" }, { "$ref": "#/definitions/sound_addition" } ] //TODO: Check if this is dependent on format version and flag through diagnoser accordingly
|
||||
},
|
||||
"loop": {
|
||||
"title": "Loop",
|
||||
@@ -20,6 +40,22 @@
|
||||
"description": "Named sound that rarely plays at a nearby air block position when the light level is low.",
|
||||
"type": "string",
|
||||
"default": "ambient.cave"
|
||||
},
|
||||
"underwater_addition": {
|
||||
"title": "Underwater Addition",
|
||||
"description": "Named sound that occasionally plays at the listener position when underwater.",
|
||||
"$ref": "#/definitions/sound_addition"
|
||||
},
|
||||
"underwater_loop": {
|
||||
"title": "Underwater Loop",
|
||||
"description": "Named sound that loops while the listener position is inside the biome and underwater.",
|
||||
"type": "string"
|
||||
},
|
||||
"underwater_mood": {
|
||||
"title": "Underwater Mood",
|
||||
"description": "Named sound that rarely plays at a nearby water block position when the light level is low.",
|
||||
"type": "string",
|
||||
"default": "ambient.underwater.loop"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
34
source/resource/local_lighting/local_lighting.json
Normal file
34
source/resource/local_lighting/local_lighting.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.local_lighting.local_lighting",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:local_light_settings": {
|
||||
"title": "Local Light Settings",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^[0-9a-zA-Z:_\\.\\-]+$": {
|
||||
"title": "Block",
|
||||
"description": "Namespace-qualified block name",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["light_type"],
|
||||
"properties": {
|
||||
"light_type": {
|
||||
"title": "Light Type",
|
||||
"description": "`static_light` is currently unused",
|
||||
"type": "string",
|
||||
"enum": ["static_light", "point_light"]
|
||||
},
|
||||
"light_color": {
|
||||
"$ref": "../lighting/format/color.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user