Updated for 1.21.70 along with other improvements (#337)
* Update vscode-settings.json * - Updated map color * - Added replaceable block component * - Effect durations can be set to infinite now * - Added support for entity sound variants * - Fix description for renders_when_invisible entity component * - Added is_collidable component * - Updated entity_sensor * - Added body_rotation_axis_aligned * - Updated projectile > on_hit * - Set min and max for collision_box * - Added locator field to sounds in animation controllers and animations * - Added new event response * - Removed peak_factor from mountain_parameters component * - Added isotropic field to material_instances * - Added tint field to material_instances * - Added input_air_controlled entity component * - Added use_beta_features property to entity.json * - Added missing match_tool property * - Added use_home_position_restriction to float_wander goal * - Added deferred client biome components * - Added dry_foliage_color client biome component * - Added destruction_particles * - Marked biome tinting as experimental * - Fix property_inheritance under breedable * - Fix inconsistency with scatter feature * - Update rideable description * - Allowed event.add/remove to be strings * - Added missing property in move_around_target behavior * - Made features accept block references * - Allowed repairable to use item descriptors * - Fix typo
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sound"],
|
||||
"required": [ "sound" ],
|
||||
"properties": {
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
|
||||
@@ -63,6 +63,38 @@
|
||||
"title": "Events",
|
||||
"propertyNames": { "pattern": "[a-z\\._]+" },
|
||||
"additionalProperties": { "$ref": "#/definitions/sound_event" }
|
||||
},
|
||||
"variants": {
|
||||
"title": "Variants",
|
||||
"description": "Defines sound variants based on the runtime entity",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"key": {
|
||||
"title": "Key",
|
||||
"description": "Key returning the enum string for variants, can use any Molang expression resulting in a string.",
|
||||
"type": "string"
|
||||
},
|
||||
"map": {
|
||||
"title": "Map",
|
||||
"description": "Contains key-value pairs of a variant identifier and the sound events it overrides",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"pitch": { "$ref": "#/definitions/pitch" },
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Events",
|
||||
"propertyNames": { "pattern": "[a-z\\._]+" },
|
||||
"additionalProperties": { "$ref": "#/definitions/sound_event" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -163,7 +195,7 @@
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Events",
|
||||
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
|
||||
"propertyNames": { "enum": [ "default", "fall", "step", "hit", "jump", "land" ] },
|
||||
"additionalProperties": {
|
||||
"title": "Sound Event",
|
||||
"description": "A single sound event definition.",
|
||||
|
||||
Reference in New Issue
Block a user