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:
@@ -164,6 +164,12 @@
|
||||
"effect": {
|
||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
|
||||
"type": "string"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description":
|
||||
"The name of a locator on the actor where the effect should be located."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"examples": [{ "format_version": "1.10.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }],
|
||||
"examples": [ { "format_version": "1.10.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": { } } } } ],
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Actor Animation",
|
||||
@@ -23,7 +23,7 @@
|
||||
"type": "object",
|
||||
"title": "Particle Effect",
|
||||
"additionalProperties": false,
|
||||
"required": ["effect"],
|
||||
"required": [ "effect" ],
|
||||
"properties": {
|
||||
"effect": { "type": "string", "title": "Particle Id", "description": "The name of a particle effect that should be played." },
|
||||
"locator": { "type": "string", "title": "Locator", "description": "The name of a locator on the actor where the effect should be located." },
|
||||
@@ -44,7 +44,7 @@
|
||||
"title": "Position Array",
|
||||
"description": "An array of 3 items that describe the bones position.",
|
||||
"type": "array",
|
||||
"examples": [[0, 0, 0]],
|
||||
"examples": [ [ 0, 0, 0 ] ],
|
||||
"maxItems": 3,
|
||||
"minItems": 3,
|
||||
"items": [
|
||||
@@ -57,7 +57,7 @@
|
||||
"title": "Rotation Array",
|
||||
"description": "An array of 3 items that describe the bones rotation.",
|
||||
"type": "array",
|
||||
"examples": [[0, 0, 0]],
|
||||
"examples": [ [ 0, 0, 0 ] ],
|
||||
"maxItems": 3,
|
||||
"minItems": 3,
|
||||
"items": [
|
||||
@@ -70,7 +70,7 @@
|
||||
"title": "Scale Array",
|
||||
"description": "An array of 3 items that describe the bones scale.",
|
||||
"type": "array",
|
||||
"examples": [[0, 0, 0]],
|
||||
"examples": [ [ 0, 0, 0 ] ],
|
||||
"maxItems": 3,
|
||||
"minItems": 3,
|
||||
"items": [
|
||||
@@ -88,13 +88,19 @@
|
||||
"title": "Effect",
|
||||
"type": "string",
|
||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description":
|
||||
"The name of a locator on the actor where the effect should be located."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animations"],
|
||||
"required": [ "format_version", "animations" ],
|
||||
"properties": {
|
||||
"format_version": { "type": "string", "enum": ["1.8.0", "1.10.0"] },
|
||||
"format_version": { "type": "string", "enum": [ "1.8.0", "1.10.0" ] },
|
||||
"animations": {
|
||||
"title": "Animations Schema",
|
||||
"description": "The animation specification.",
|
||||
@@ -125,7 +131,7 @@
|
||||
"bones": {
|
||||
"title": "Bones",
|
||||
"description": "Defines how the bones in an animation move or transform.",
|
||||
"propertyNames": { "examples": ["leftArm"] },
|
||||
"propertyNames": { "examples": [ "leftArm" ] },
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
@@ -141,7 +147,7 @@
|
||||
{ "type": "array", "$ref": "#/definitions/PositionV3" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time.",
|
||||
@@ -157,7 +163,7 @@
|
||||
"title": "Lerp Mode",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
"enum": [ "linear", "catmullrom" ]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
@@ -185,7 +191,7 @@
|
||||
{ "type": "array", "$ref": "#/definitions/RotationV3" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time.",
|
||||
@@ -206,7 +212,7 @@
|
||||
"title": "Lerp Mode",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
"enum": [ "linear", "catmullrom" ]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
@@ -247,7 +253,7 @@
|
||||
{ "$ref": "#/definitions/ScaleV3" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time.",
|
||||
@@ -268,7 +274,7 @@
|
||||
"title": "Lerp Mode",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
"enum": [ "linear", "catmullrom" ]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
@@ -295,7 +301,7 @@
|
||||
"loop": {
|
||||
"title": "Loop",
|
||||
"description": "Should this animation stop, loop, or stay on the last frame when finished (true, false, hold_on_last_frame).",
|
||||
"oneOf": [{ "type": "boolean" }, { "type": "string", "enum": ["hold_on_last_frame"] }]
|
||||
"oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "hold_on_last_frame" ] } ]
|
||||
},
|
||||
"loop_delay": {
|
||||
"title": "Loop Delay",
|
||||
@@ -312,8 +318,8 @@
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"examples": [{ "0.0": {} }],
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||
"examples": [ { "0.0": { } } ],
|
||||
"additionalProperties": {
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time.",
|
||||
@@ -333,7 +339,7 @@
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time.",
|
||||
@@ -347,8 +353,8 @@
|
||||
"title": "Timeline",
|
||||
"description": "The time line.",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"examples": [{ "0.0": {} }],
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||
"examples": [ { "0.0": { } } ],
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{ "type": "string", "title": "Molang", "description": "Variable definition.", "pattern": "^(v|variable)\\..*=.*;$" },
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$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.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["atmosphere_identifier"],
|
||||
"properties": {
|
||||
"atmosphere_identifier": {
|
||||
"title": "Atmosphere Identifier",
|
||||
"description": "Identifier of atmosphere definition to use",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$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.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["color_grading_identifier"],
|
||||
"properties": {
|
||||
"color_grading_identifier": {
|
||||
"title": "Color Grading Identifier",
|
||||
"description": "Identifier of color_grading definition to use",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.resource.biomes.minecraft.dry_foliage_color",
|
||||
"title": "Dry Foliage Color",
|
||||
"description": "Set the dry foliage color used during rendering. Biomes without this component will have default dry foliage color behavior.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["color"],
|
||||
"properties": {
|
||||
"color": {
|
||||
"title": "Color",
|
||||
"description": "RGB color of dry foliage",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "colox-hex",
|
||||
"default": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Red",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
{
|
||||
"title": "Green",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
{
|
||||
"title": "Blue",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$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.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["lighting_identifier"],
|
||||
"properties": {
|
||||
"lighting_identifier": {
|
||||
"title": "Lighting Identifier",
|
||||
"description": "Identifier of lighting definition to use",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$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.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["water_identifier"],
|
||||
"properties": {
|
||||
"water_identifier": {
|
||||
"title": "Water Identifier",
|
||||
"description": "Identifier of water definition to use",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,12 +15,17 @@
|
||||
"properties": {
|
||||
// Components
|
||||
"minecraft:ambient_sounds": { "$ref": "./components/ambient_sounds.json" },
|
||||
"minecraft:atmosphere_identifier": { "$ref": "./components/atmosphere_identifier.json" },
|
||||
"minecraft:biome_music": { "$ref": "./components/biome_music.json" },
|
||||
"minecraft:color_grading_identifier": { "$ref": "./components/color_grading_identifier.json" },
|
||||
"minecraft:dry_foliage_color": { "$ref": "./components/dry_foliage_color.json" },
|
||||
"minecraft:fog_appearance": { "$ref": "./components/fog_appearance.json" },
|
||||
"minecraft:foliage_appearance": { "$ref": "./components/foliage_appearance.json" },
|
||||
"minecraft:grass_appearance": { "$ref": "./components/grass_appearance.json" },
|
||||
"minecraft:lighting_identifier": { "$ref": "./components/lighting_identifier.json" },
|
||||
"minecraft:sky_color": { "$ref": "./components/sky_color.json" },
|
||||
"minecraft:water_appearance": { "$ref": "./components/water_appearance.json" }
|
||||
"minecraft:water_appearance": { "$ref": "./components/water_appearance.json" },
|
||||
"minecraft:water_identifier": { "$ref": "./components/water_identifier.json" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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