* - 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:
Xterionix
2025-10-15 12:51:49 -05:00
committed by GitHub
parent cbd0262612
commit 6d9e384781
19 changed files with 168 additions and 57 deletions

View File

@@ -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"
}
}
}

View 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"
}
}
}
}
}
}
}

View File

@@ -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"
}
}
}
}
}
}
}