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:
@@ -7,12 +7,6 @@
|
|||||||
"minProperties": 0,
|
"minProperties": 0,
|
||||||
"maxProperties": 3,
|
"maxProperties": 3,
|
||||||
"properties": {
|
"properties": {
|
||||||
"peaks_factor": {
|
|
||||||
"type": "number",
|
|
||||||
"title": "Peaks factor",
|
|
||||||
"description": "UNDOCUMENTED.",
|
|
||||||
"$comment": "UNDOCUMENTED"
|
|
||||||
},
|
|
||||||
"steep_material_adjustment": {
|
"steep_material_adjustment": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Steep material adjustment",
|
"title": "Steep material adjustment",
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.blocks.minecraft.destruction_particles",
|
||||||
|
"title": "Destruction Particles",
|
||||||
|
"description": "[Experimental] Sets the particles that will be used when block is destroyed. This component can be omitted.",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": ["texture"],
|
||||||
|
"properties": {
|
||||||
|
"texture": {
|
||||||
|
"title": "Texture",
|
||||||
|
"description": "The texture name used for the particle.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"tint_method": {
|
||||||
|
"title": "Tint Method",
|
||||||
|
"description": "Tint multiplied to the color. Tint method logic varies, but often refers to the \"rain\" and \"temperature\" of the biome the block is placed in to compute the tint.",
|
||||||
|
"type": "string",
|
||||||
|
"$ref": "../../../../general/vanilla/tint_methods.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,37 +2,63 @@
|
|||||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.map_color",
|
"$id": "blockception.minecraft.behavior.blocks.minecraft.map_color",
|
||||||
"title": "Map Color",
|
"title": "Map Color",
|
||||||
"description": "Sets the color of the block when rendered to a map. The color is represented as a hex value in the format \"#RRGGBB\". May also be expressed as an array of [R, G, B] from 0 to 255. If this component is omitted, the block will not show up on the map.",
|
"description": "Sets the color of the block when rendered to a map. The color is represented as a hex value in the format \"#RRGGBB\". May also be expressed as an array of [R, G, B] from 0 to 255. If this component is omitted, the block will not show up on the map.",
|
||||||
"oneOf": [
|
"definitions": {
|
||||||
|
"color": {
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "string",
|
"$ref": "#/definitions/color"
|
||||||
"format": "colox-hex",
|
|
||||||
"default": "#FFFFFF"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "object",
|
||||||
"items": [
|
"additionalProperties": false,
|
||||||
{
|
"required": ["color"],
|
||||||
"title": "Red",
|
"properties": {
|
||||||
"type": "integer",
|
"color": {
|
||||||
"default": 0,
|
"title": "Color",
|
||||||
"minimum": 0,
|
"$ref": "#/definitions/color"
|
||||||
"maximum": 255
|
|
||||||
},
|
},
|
||||||
{
|
"tint_method": {
|
||||||
"title": "Green",
|
"title": "Tint Method",
|
||||||
"type": "integer",
|
"description": "Tint multiplied to the color. Tint method logic varies, but often refers to the \"rain\" and \"temperature\" of the biome the block is placed in to compute the tint.",
|
||||||
"default": 0,
|
"type": "string",
|
||||||
"minimum": 0,
|
"$ref": "../../../../general/vanilla/tint_methods.json"
|
||||||
"maximum": 255
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "Blue",
|
|
||||||
"type": "integer",
|
|
||||||
"default": 0,
|
|
||||||
"minimum": 0,
|
|
||||||
"maximum": 255
|
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"examples": ["#FFFFFF", [255, 255, 255]]
|
"examples": ["#FFFFFF", [255, 255, 255]]
|
||||||
|
|||||||
@@ -57,6 +57,17 @@
|
|||||||
"title": "Texture",
|
"title": "Texture",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Texture name for the material."
|
"description": "Texture name for the material."
|
||||||
|
},
|
||||||
|
"isotropic": {
|
||||||
|
"title": "Isotropic",
|
||||||
|
"description": "[Experimental] Controls rotating the face UVs randomly based on BlockPos",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"tint_method": {
|
||||||
|
"title": "Tint Method",
|
||||||
|
"description": "[Experimental] Tint multiplied to the color. Tint method logic varies, but often refers to the \"rain\" and \"temperature\" of the biome the block is placed in to compute the tint.",
|
||||||
|
"type": "string",
|
||||||
|
"$ref": "../../../../general/vanilla/tint_methods.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.blocks.minecraft.replaceable",
|
||||||
|
"title": "Replaceable",
|
||||||
|
"description": "A block with this component can be replaced when another block is placed in the same block position. Experimental toggles required: Upcoming Creator Features",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {}
|
||||||
|
}
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
"minecraft:crafting_table": { "$ref": "./components/crafting_table.json" },
|
"minecraft:crafting_table": { "$ref": "./components/crafting_table.json" },
|
||||||
"minecraft:destructible_by_explosion": { "$ref": "./components/destructible_by_explosion.json" },
|
"minecraft:destructible_by_explosion": { "$ref": "./components/destructible_by_explosion.json" },
|
||||||
"minecraft:destructible_by_mining": { "$ref": "./components/destructible_by_mining.json" },
|
"minecraft:destructible_by_mining": { "$ref": "./components/destructible_by_mining.json" },
|
||||||
|
"minecraft:destruction_particles": { "$ref": "./components/destruction_particles.json" },
|
||||||
"minecraft:display_name": { "$ref": "./components/display_name.json" },
|
"minecraft:display_name": { "$ref": "./components/display_name.json" },
|
||||||
"minecraft:flammable": { "$ref": "./components/flammable.json" },
|
"minecraft:flammable": { "$ref": "./components/flammable.json" },
|
||||||
"minecraft:friction": { "$ref": "./components/friction.json" },
|
"minecraft:friction": { "$ref": "./components/friction.json" },
|
||||||
@@ -32,6 +33,7 @@
|
|||||||
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
||||||
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
||||||
"minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" },
|
"minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" },
|
||||||
|
"minecraft:replaceable": { "$ref": "./components/replaceable.json" },
|
||||||
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
|
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
|
||||||
"minecraft:transformation": { "$ref": "./components/transformation.json" },
|
"minecraft:transformation": { "$ref": "./components/transformation.json" },
|
||||||
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
|
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
|
||||||
|
|||||||
@@ -35,6 +35,12 @@
|
|||||||
"required": ["format_version", "minecraft:entity"],
|
"required": ["format_version", "minecraft:entity"],
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"use_beta_features": {
|
||||||
|
"title": "Use Beta Features",
|
||||||
|
"description": "Allows an entity to use experimental features.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
"format_version": { "$ref": "../../general/format_version.json" },
|
"format_version": { "$ref": "../../general/format_version.json" },
|
||||||
"minecraft:entity": { "$ref": "./format/minecraft.entity.json" }
|
"minecraft:entity": { "$ref": "./format/minecraft.entity.json" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,12 @@
|
|||||||
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one.",
|
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one.",
|
||||||
"title": "Random Reselect"
|
"title": "Random Reselect"
|
||||||
},
|
},
|
||||||
|
"use_home_position_restriction": {
|
||||||
|
"title": "Use Home Position Restriction",
|
||||||
|
"description": "If true, the mob will respect home position restrictions when choosing new target positions. If false, it will choose target position without considering home restrictions.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
"float_duration": {
|
"float_duration": {
|
||||||
"$ref": "../types/range_number_type.json",
|
"$ref": "../types/range_number_type.json",
|
||||||
"default": [0.0, 0.0],
|
"default": [0.0, 0.0],
|
||||||
|
|||||||
@@ -21,6 +21,13 @@
|
|||||||
"description": "The range of distances from the target entity within which the goal should look for a position to move the owner entity to.",
|
"description": "The range of distances from the target entity within which the goal should look for a position to move the owner entity to.",
|
||||||
"$ref": "../../../../general/vectors/number2.json"
|
"$ref": "../../../../general/vectors/number2.json"
|
||||||
},
|
},
|
||||||
|
"destination_pos_spread_degrees": {
|
||||||
|
"title": "Desitnation Pos Spread Degrees",
|
||||||
|
"description": "UNDOCUMENTED",
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 360
|
||||||
|
},
|
||||||
"height_difference_limit": {
|
"height_difference_limit": {
|
||||||
"title": "Height Difference Limit",
|
"title": "Height Difference Limit",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
"minecraft:barter": { "$ref": "./components/barter.json" },
|
"minecraft:barter": { "$ref": "./components/barter.json" },
|
||||||
"minecraft:block_climber": { "$ref": "./components/block_climber.json" },
|
"minecraft:block_climber": { "$ref": "./components/block_climber.json" },
|
||||||
"minecraft:block_sensor": { "$ref": "./components/block_sensor.json" },
|
"minecraft:block_sensor": { "$ref": "./components/block_sensor.json" },
|
||||||
|
"minecraft:body_rotation_axis_aligned": { "$ref": "./components/body_rotation_axis_aligned.json" },
|
||||||
"minecraft:body_rotation_blocked": { "$ref": "./components/body_rotation_blocked.json" },
|
"minecraft:body_rotation_blocked": { "$ref": "./components/body_rotation_blocked.json" },
|
||||||
"minecraft:boostable": { "$ref": "./components/boostable.json" },
|
"minecraft:boostable": { "$ref": "./components/boostable.json" },
|
||||||
"minecraft:boss": { "$ref": "./components/boss.json" },
|
"minecraft:boss": { "$ref": "./components/boss.json" },
|
||||||
@@ -83,6 +84,7 @@
|
|||||||
"minecraft:horse.jump_strength": { "$ref": "./components/horse.jump_strength.json" },
|
"minecraft:horse.jump_strength": { "$ref": "./components/horse.jump_strength.json" },
|
||||||
"minecraft:hurt_on_condition": { "$ref": "./components/hurt_on_condition.json" },
|
"minecraft:hurt_on_condition": { "$ref": "./components/hurt_on_condition.json" },
|
||||||
"minecraft:hurt_when_wet": { "$ref": "./components/hurt_when_wet.json" },
|
"minecraft:hurt_when_wet": { "$ref": "./components/hurt_when_wet.json" },
|
||||||
|
"minecraft:input_air_controlled": { "$ref": "./components/input_air_controlled.json" },
|
||||||
"minecraft:input_ground_controlled": { "$ref": "./components/input_ground_controlled.json" },
|
"minecraft:input_ground_controlled": { "$ref": "./components/input_ground_controlled.json" },
|
||||||
"minecraft:inside_block_notifier": { "$ref": "./components/inside_block_notifier.json" },
|
"minecraft:inside_block_notifier": { "$ref": "./components/inside_block_notifier.json" },
|
||||||
"minecraft:insomnia": { "$ref": "./components/insomnia.json" },
|
"minecraft:insomnia": { "$ref": "./components/insomnia.json" },
|
||||||
@@ -92,6 +94,7 @@
|
|||||||
"minecraft:is_baby": { "$ref": "./components/is_baby.json" },
|
"minecraft:is_baby": { "$ref": "./components/is_baby.json" },
|
||||||
"minecraft:is_charged": { "$ref": "./components/is_charged.json" },
|
"minecraft:is_charged": { "$ref": "./components/is_charged.json" },
|
||||||
"minecraft:is_chested": { "$ref": "./components/is_chested.json" },
|
"minecraft:is_chested": { "$ref": "./components/is_chested.json" },
|
||||||
|
"minecraft:is_collidable": { "$ref": "./components/is_collidable.json" },
|
||||||
"minecraft:is_dyeable": { "$ref": "./components/is_dyeable.json" },
|
"minecraft:is_dyeable": { "$ref": "./components/is_dyeable.json" },
|
||||||
"minecraft:is_hidden_when_invisible": { "$ref": "./components/is_hidden_when_invisible.json" },
|
"minecraft:is_hidden_when_invisible": { "$ref": "./components/is_hidden_when_invisible.json" },
|
||||||
"minecraft:is_ignited": { "$ref": "./components/is_ignited.json" },
|
"minecraft:is_ignited": { "$ref": "./components/is_ignited.json" },
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"title": "Attack",
|
"title": "Attack",
|
||||||
"description": "Defines an entity's melee attack and any additional effects on it.",
|
"description": "Defines an entity's melee attack and any additional effects on it.",
|
||||||
"required": ["damage"],
|
"required": [ "damage" ],
|
||||||
"properties": {
|
"properties": {
|
||||||
"damage": {
|
"damage": {
|
||||||
"title": "Damage",
|
"title": "Damage",
|
||||||
@@ -18,11 +18,19 @@
|
|||||||
"title": "Effect Name"
|
"title": "Effect Name"
|
||||||
},
|
},
|
||||||
"effect_duration": {
|
"effect_duration": {
|
||||||
"type": "number",
|
"anyOf": [
|
||||||
"default": 1,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 1,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "Duration in seconds of the status ailment applied to the damaged entity.",
|
"description": "Duration in seconds of the status ailment applied to the damaged entity.",
|
||||||
"title": "Effect Duration"
|
"title": "Effect Duration"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"examples": [{ "damage": 1 }, { "damage": 1, "effect_name": "example", "effect_duration": 1 }]
|
"examples": [ { "damage": 1 }, { "damage": 1, "effect_name": "example", "effect_duration": 1 } ]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.minecraft.body_rotation_axis_aligned",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Body Rotation Axis Aligned",
|
||||||
|
"description": "Causes the entity's body to automatically rotate to align with the nearest cardinal direction based on its current facing direction.\nCombining this with the \"minecraft:body_rotation_blocked\" component will cause the entity to align to the nearest cardinal direction and remain fixed in that orientation, regardless of future changes in its facing direction.",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {},
|
||||||
|
"examples": [{}]
|
||||||
|
}
|
||||||
@@ -233,8 +233,7 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": {
|
||||||
"properties": {
|
|
||||||
"mutation_chance": {
|
"mutation_chance": {
|
||||||
"title": "Mutation Chance",
|
"title": "Mutation Chance",
|
||||||
"description": "The chance it should not inherit from either parent",
|
"description": "The chance it should not inherit from either parent",
|
||||||
@@ -247,6 +246,9 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"minItems": 1
|
"minItems": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"propertyNames": {
|
||||||
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,18 +4,22 @@
|
|||||||
"title": "Collision Box",
|
"title": "Collision Box",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Sets the width and height of the Entity's collision box.",
|
"description": "Sets the width and height of the Entity's collision box.",
|
||||||
"required": [],
|
"required": [ ],
|
||||||
"properties": {
|
"properties": {
|
||||||
"height": {
|
"height": {
|
||||||
"title": "Height",
|
"title": "Height",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 1.0,
|
"default": 1.0,
|
||||||
|
"minimum": -100000000,
|
||||||
|
"maximum": 100000000,
|
||||||
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0."
|
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0."
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"title": "Width",
|
"title": "Width",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 1.0,
|
"default": 1.0,
|
||||||
|
"minimum": -100000000,
|
||||||
|
"maximum": 100000000,
|
||||||
"description": "Width of the collision box in blocks. A negative value will be assumed to be 0."
|
"description": "Width of the collision box in blocks. A negative value will be assumed to be 0."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,8 +18,16 @@
|
|||||||
"title": "Apply To Self"
|
"title": "Apply To Self"
|
||||||
},
|
},
|
||||||
"regeneration_duration": {
|
"regeneration_duration": {
|
||||||
"type": "integer",
|
"anyOf": [
|
||||||
"default": 5,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 5,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "The duration in seconds of Regeneration I added to the mob.",
|
"description": "The duration in seconds of Regeneration I added to the mob.",
|
||||||
"title": "Regeneration Duration"
|
"title": "Regeneration Duration"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,12 @@
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
"default": -1
|
"default": -1
|
||||||
},
|
},
|
||||||
|
"y_offset": {
|
||||||
|
"title": "Y Offset",
|
||||||
|
"description": "Vertical offset applied to the entity's position when computing the distance from other entities.",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0
|
||||||
|
},
|
||||||
"event_filters": {
|
"event_filters": {
|
||||||
"$ref": "../../filters/filters.json"
|
"$ref": "../../filters/filters.json"
|
||||||
},
|
},
|
||||||
@@ -105,6 +111,12 @@
|
|||||||
"default": true,
|
"default": true,
|
||||||
"description": "If true the sensor range is additive on top of the entity's size.",
|
"description": "If true the sensor range is additive on top of the entity's size.",
|
||||||
"title": "Relative Range"
|
"title": "Relative Range"
|
||||||
|
},
|
||||||
|
"find_players_only": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Limits the search to Players only for all subsensors.",
|
||||||
|
"title": "Find Players Only"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,9 +16,17 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"duration": {
|
"duration": {
|
||||||
"type": "integer",
|
"title": "Duration",
|
||||||
"default": 0,
|
"anyOf": [
|
||||||
"minimum": 0,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 1,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "The duration of the effect."
|
"description": "The duration of the effect."
|
||||||
},
|
},
|
||||||
"amplifier": {
|
"amplifier": {
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.minecraft.input_air_controlled",
|
||||||
|
"description": "When configured as a rideable entity, the entity will be controlled using WASD controls and mouse to move in three dimensions.\nOnly available with `\"use_beta_features\": true` and likely to be drastically changed or removed.",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Input Air Controlled",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"backwards_movement_modifier": {
|
||||||
|
"title": "Backwards Movement Modifier",
|
||||||
|
"description": "Modifies speed going backwards.",
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
"strafe_speed_modifier": {
|
||||||
|
"title": "Strafe Speed Modifier",
|
||||||
|
"description": "Modifies the strafe speed.",
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.minecraft.is_collidable",
|
||||||
|
"description": "Allows other mobs to have vertical and horizontal collisions with this mob. For a collision to occur, both mobs must have a \"minecraft:collision_box\" component. This component can only be used on mobs and enables collisions exclusively between mobs.\nPlease note that this type of collision is unreliable for moving collidable mobs. It is recommended to use this component only in scenarios where the collidable mob remains stationary.\nCollidable behavior is closely related to stackable behavior. While the \"minecraft:is_collidable\" component governs how other mobs interact with the component's owner, the \"minecraft:is_stackable\" component describes how an entity interacts with others of its own kind.",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Is Collidable",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [ ],
|
||||||
|
"properties": { }
|
||||||
|
}
|
||||||
@@ -19,8 +19,16 @@
|
|||||||
},
|
},
|
||||||
"effect_time": {
|
"effect_time": {
|
||||||
"title": "Effect Time",
|
"title": "Effect Time",
|
||||||
"type": "integer",
|
"anyOf": [
|
||||||
"default": 10,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 10,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "How long the applied mob effect lasts in seconds."
|
"description": "How long the applied mob effect lasts in seconds."
|
||||||
},
|
},
|
||||||
"entity_filter": {
|
"entity_filter": {
|
||||||
|
|||||||
@@ -128,7 +128,7 @@
|
|||||||
},
|
},
|
||||||
"offset": {
|
"offset": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"default": [0, 0.0, 0],
|
"default": [ 0, 0.0, 0 ],
|
||||||
"description": "The offset from the entity's anchor where the projectile will spawn.",
|
"description": "The offset from the entity's anchor where the projectile will spawn.",
|
||||||
"title": "Offset",
|
"title": "Offset",
|
||||||
"$ref": "../../../../general/vectors/number3.json"
|
"$ref": "../../../../general/vectors/number3.json"
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"shape": {
|
"shape": {
|
||||||
"enum": ["sphere", "cube"],
|
"enum": [ "sphere", "cube" ],
|
||||||
"default": "sphere",
|
"default": "sphere",
|
||||||
"description": "The shape of the area that is frozen.",
|
"description": "The shape of the area that is frozen.",
|
||||||
"title": "Shape"
|
"title": "Shape"
|
||||||
@@ -404,26 +404,59 @@
|
|||||||
},
|
},
|
||||||
"duration": {
|
"duration": {
|
||||||
"title": "Duration",
|
"title": "Duration",
|
||||||
"type": "integer",
|
"anyOf": [
|
||||||
"default": 1,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 1,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "The effect's duration."
|
"description": "The effect's duration."
|
||||||
},
|
},
|
||||||
"durationeasy": {
|
"durationeasy": {
|
||||||
"title": "Duration Easy",
|
"title": "Duration Easy",
|
||||||
"type": "integer",
|
"anyOf": [
|
||||||
"default": 0,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 0,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "The effect's duration on easy mode."
|
"description": "The effect's duration on easy mode."
|
||||||
},
|
},
|
||||||
"durationhard": {
|
"durationhard": {
|
||||||
"title": "Duration Hard",
|
"title": "Duration Hard",
|
||||||
"type": "integer",
|
"anyOf": [
|
||||||
"default": 800,
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 800,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "The effect's duration on hard mode."
|
"description": "The effect's duration on hard mode."
|
||||||
},
|
},
|
||||||
"durationnormal": {
|
"durationnormal": {
|
||||||
"title": "Duration Normal",
|
"title": "Duration Normal",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 200,
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 200,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "The effect's duration on normal mode."
|
"description": "The effect's duration on normal mode."
|
||||||
},
|
},
|
||||||
"effect": {
|
"effect": {
|
||||||
@@ -474,6 +507,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "not set",
|
"default": "not set",
|
||||||
"description": "The id of the particle to spawn on hit."
|
"description": "The id of the particle to spawn on hit."
|
||||||
|
},
|
||||||
|
"particle_item_name": {
|
||||||
|
"title": "Particle Item Name",
|
||||||
|
"description": "Maps an item name to an actor filter to determine what the name of the item used in the particle should be.",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"$ref": "../../filters/filters.json"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -488,7 +529,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Removes the projectile.",
|
"description": "Removes the projectile.",
|
||||||
"additionalProperties": true,
|
"additionalProperties": true,
|
||||||
"properties": {}
|
"properties": { }
|
||||||
},
|
},
|
||||||
"spawn_aoe_cloud": {
|
"spawn_aoe_cloud": {
|
||||||
"title": "Spawn AOE Cloud",
|
"title": "Spawn AOE Cloud",
|
||||||
@@ -593,6 +634,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "not set",
|
"default": "not set",
|
||||||
"description": "The entity that will spawn."
|
"description": "The entity that will spawn."
|
||||||
|
},
|
||||||
|
"on_spawn": {
|
||||||
|
"title": "On Spawn",
|
||||||
|
"description": "Triggered on the newly spawned entity with other set to the owning entity.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "../types/trigger.json"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -716,9 +765,9 @@
|
|||||||
"lightning": false,
|
"lightning": false,
|
||||||
"liquid_inertia": 0.6,
|
"liquid_inertia": 0.6,
|
||||||
"multiple_targets": true,
|
"multiple_targets": true,
|
||||||
"offset": [],
|
"offset": [ ],
|
||||||
"on_fire_time": 5,
|
"on_fire_time": 5,
|
||||||
"on_hit": {},
|
"on_hit": { },
|
||||||
"particle": "iconcrack",
|
"particle": "iconcrack",
|
||||||
"potion_effect": -1,
|
"potion_effect": -1,
|
||||||
"power": 1.3,
|
"power": 1.3,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"$id": "blockception.minecraft.behavior.entities.minecraft.renders_when_invisible",
|
"$id": "blockception.minecraft.behavior.entities.minecraft.renders_when_invisible",
|
||||||
"title": "Renders When Invisible",
|
"title": "Renders When Invisible",
|
||||||
"description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.",
|
"description": "When set, the entity will render even when invisible. Appropriate rendering behavior can then be specified in the corresponding \"minecraft:client_entity\".",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {}
|
"properties": { }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$id": "blockception.minecraft.behavior.entities.minecraft.rideable",
|
"$id": "blockception.minecraft.behavior.entities.minecraft.rideable",
|
||||||
"description": "Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity.",
|
"description": "Determines whether this entity can be ridden. Allows specifying the different seat positions and amount.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Rideable",
|
"title": "Rideable",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"controlling_seat": {
|
"controlling_seat": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"description": "The seat that designates the driver of the entity.",
|
"description": "The seat that designates the driver of the entity. Entities with the \"minecraft:behavior.controlled_by_player\" goal ignore this field and give control to any player in any seat.",
|
||||||
"title": "Controlling Seat"
|
"title": "Controlling Seat"
|
||||||
},
|
},
|
||||||
"crouching_skip_interact": {
|
"crouching_skip_interact": {
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
},
|
},
|
||||||
"passenger_max_width": {
|
"passenger_max_width": {
|
||||||
"title": "Passenger Max Width",
|
"title": "Passenger Max Width",
|
||||||
"description": "The max width a mob can be to be a passenger. A value of 0 ignores this parameter.",
|
"description": "The max width a mob can have to be a rider. A value of 0 ignores this parameter.",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.0
|
"default": 0.0
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"title": "Spell Effects",
|
"title": "Spell Effects",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Defines what mob effects to add and remove to the entity when adding this component.",
|
"description": "Defines what mob effects to add and remove to the entity when adding this component.",
|
||||||
"required": [],
|
"required": [ ],
|
||||||
"properties": {
|
"properties": {
|
||||||
"add_effects": {
|
"add_effects": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -32,8 +32,16 @@
|
|||||||
"duration": {
|
"duration": {
|
||||||
"title": "Duration",
|
"title": "Duration",
|
||||||
"description": "The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).",
|
"description": "The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).",
|
||||||
"type": "number",
|
"anyOf": [
|
||||||
"minimum": 0
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"default": 1,
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "infinite"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"display_on_screen_animation": {
|
"display_on_screen_animation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -63,7 +71,7 @@
|
|||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": ["string"],
|
"type": [ "string" ],
|
||||||
"title": "Spell Effect ID",
|
"title": "Spell Effect ID",
|
||||||
"description": "identifier of the effect to be removed from this entity after adding this component."
|
"description": "identifier of the effect to be removed from this entity after adding this component."
|
||||||
}
|
}
|
||||||
@@ -76,7 +84,7 @@
|
|||||||
},
|
},
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"add_effects": []
|
"add_effects": [ ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,8 +15,15 @@
|
|||||||
"component_groups": {
|
"component_groups": {
|
||||||
"title": "Component Groups",
|
"title": "Component Groups",
|
||||||
"description": "The components groups to add or remove.",
|
"description": "The components groups to add or remove.",
|
||||||
"type": "array",
|
"anyOf": [
|
||||||
"items": { "type": "string", "description": "A reference to a component group.", "title": "Component Groups" }
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": { "type": "string", "description": "A reference to a component group.", "title": "Component Groups" }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string", "description": "A reference to a component group.", "title": "Component Groups"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -190,6 +197,40 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"stop_movement": {
|
||||||
|
"title": "Stop Movement",
|
||||||
|
"description": "Stops the entity's movement",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"stop_vertical_movement": {
|
||||||
|
"title": "Stop Vertical Movement",
|
||||||
|
"description": "Specifies whether vertical movement should be stopped",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"stop_horizontal_movement": {
|
||||||
|
"title": "Stop Horizontal Movement",
|
||||||
|
"description": "Specifies whether horizontal movement should be stopped",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"set_home_position": {
|
||||||
|
"title": "Set Home Position",
|
||||||
|
"description": "Sets the entity's home position to its current position",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": { }
|
||||||
|
},
|
||||||
|
"first_valid": {
|
||||||
|
"title": "First Valid",
|
||||||
|
"description": "Will evaluate every filter in order and execute the first valid one",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"fill_with": {
|
"fill_with": {
|
||||||
"title": "Fill With",
|
"title": "Fill With",
|
||||||
"description": "Reference to the block to fill the cave with.",
|
"description": "Reference to the block to fill the cave with.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"width_modifier": {
|
"width_modifier": {
|
||||||
"title": "Width Modifier",
|
"title": "Width Modifier",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"ore_block": {
|
"ore_block": {
|
||||||
"title": "Ore Block",
|
"title": "Ore Block",
|
||||||
"description": "Reference to the block to fill the cave with.",
|
"description": "Reference to the block to fill the cave with.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"max_empty_corners": {
|
"max_empty_corners": {
|
||||||
"title": "Max Empty Corners",
|
"title": "Max Empty Corners",
|
||||||
|
|||||||
@@ -70,31 +70,31 @@
|
|||||||
"title": "Filler",
|
"title": "Filler",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The block to fill the inside of the geode.",
|
"description": "The block to fill the inside of the geode.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"inner_layer": {
|
"inner_layer": {
|
||||||
"title": "Inner Layer",
|
"title": "Inner Layer",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The block that forms the inside layer of the geode shell.",
|
"description": "The block that forms the inside layer of the geode shell.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"alternate_inner_layer": {
|
"alternate_inner_layer": {
|
||||||
"title": "Alternate Inner Layer",
|
"title": "Alternate Inner Layer",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The block that has a chance of generating instead of inner_layer.",
|
"description": "The block that has a chance of generating instead of inner_layer.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"middle_layer": {
|
"middle_layer": {
|
||||||
"title": "Middle Layer",
|
"title": "Middle Layer",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The block that forms the middle layer of the geode shell.",
|
"description": "The block that forms the middle layer of the geode shell.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"outer_layer": {
|
"outer_layer": {
|
||||||
"title": "Outer Layer",
|
"title": "Outer Layer",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The block that forms the outer shell of the geode.",
|
"description": "The block that forms the outer shell of the geode.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"inner_placements": {
|
"inner_placements": {
|
||||||
"title": "Inner Placements",
|
"title": "Inner Placements",
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"title": "Block Reference",
|
"title": "Block Reference",
|
||||||
"description": "A block that may be replaced during placement.",
|
"description": "A block that may be replaced during placement.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"min_outer_wall_distance": {
|
"min_outer_wall_distance": {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
"title": "Plant Body Block",
|
"title": "Plant Body Block",
|
||||||
"description": "Plant body block.",
|
"description": "Plant body block.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Age",
|
"title": "Age",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"title": "Places Block",
|
"title": "Places Block",
|
||||||
"description": "Reference to the block to be placed.",
|
"description": "Reference to the block to be placed.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"search_range": {
|
"search_range": {
|
||||||
"title": "Search Range",
|
"title": "Search Range",
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"title": "Block",
|
"title": "Block",
|
||||||
"description": " A list of blocks that the block in this feature can be placed on. Omit this field to allow any block to be placed on.",
|
"description": " A list of blocks that the block in this feature can be placed on. Omit this field to allow any block to be placed on.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"title": "Identifier",
|
"title": "Identifier",
|
||||||
"description": "Reference to the block to fill the cave with.",
|
"description": "Reference to the block to fill the cave with.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"width_modifier": {
|
"width_modifier": {
|
||||||
"title": "Identifier",
|
"title": "Identifier",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
"places_block": {
|
"places_block": {
|
||||||
"title": "Places Block",
|
"title": "Places Block",
|
||||||
"description": "Reference to the block to be placed.",
|
"description": "Reference to the block to be placed.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"may_replace": {
|
"may_replace": {
|
||||||
"title": "May Replace",
|
"title": "May Replace",
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"minItems": 1,
|
"minItems": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"places_block": {
|
"places_block": {
|
||||||
"title": "Places Block",
|
"title": "Places Block",
|
||||||
"description": "Reference to the block to be placed.",
|
"description": "Reference to the block to be placed.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"placement_radius_around_floor": {
|
"placement_radius_around_floor": {
|
||||||
"title": "Placement Radius Around Floor",
|
"title": "Placement Radius Around Floor",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"title": "Scatter Feature",
|
"title": "Scatter Feature",
|
||||||
"description": "`minecraft:scatter_feature` scatters a feature throughout a chunk. The `x`, `y`, and `z` fields are per-coordinate parameters.\nNote that coordinates represent an offset from the input position, not an absolute position. Coordinates may be a single value, a random distribution, or molang expression that resolves to a numeric value. The `coordinate_eval_order` field is provided for finer control of coordinate resolution (particularly when using the `grid` distribution). `iterations` controls how many individual placements should occur if the `scatter_chance` check succeeds. The `scatter_chance` check happens once, so either all placements will run or none will.\nSucceeds if: At least one feature placement succeeds.\nFails if: All feature placements fail.",
|
"description": "`minecraft:scatter_feature` scatters a feature throughout a chunk. The `x`, `y`, and `z` fields are per-coordinate parameters.\nNote that coordinates represent an offset from the input position, not an absolute position. Coordinates may be a single value, a random distribution, or molang expression that resolves to a numeric value. The `coordinate_eval_order` field is provided for finer control of coordinate resolution (particularly when using the `grid` distribution). `iterations` controls how many individual placements should occur if the `scatter_chance` check succeeds. The `scatter_chance` check happens once, so either all placements will run or none will.\nSucceeds if: At least one feature placement succeeds.\nFails if: All feature placements fail.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["description", "places_feature", "iterations"],
|
"required": ["description", "places_feature"],
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"coord_dist": {
|
"coord_dist": {
|
||||||
"title": "Coordinate",
|
"title": "Coordinate",
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
"definitions": {
|
"definitions": {
|
||||||
"block_side": {
|
"block_side": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/identifier.json" },
|
{ "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/reference.json" },
|
||||||
{ "type": "array", "items": { "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/identifier.json" } }
|
{ "type": "array", "items": { "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/reference.json" } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"title": "Places Block",
|
"title": "Places Block",
|
||||||
"description": "Reference to the block to be placed.",
|
"description": "Reference to the block to be placed.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Places Block",
|
"title": "Places Block",
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
"description": "Reference to the block to be placed.",
|
"description": "Reference to the block to be placed.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": [
|
"items": [
|
||||||
{ "title": "Block", "description": "Reference to the block to be placed.", "$ref": "../../../general/block/identifier.json" },
|
{ "title": "Block", "description": "Reference to the block to be placed.", "$ref": "../../../general/block/reference.json" },
|
||||||
{
|
{
|
||||||
"title": "Weight",
|
"title": "Weight",
|
||||||
"description": "Random weight of this block. A higher number will increase the probability of this block to be picked during placement.",
|
"description": "Random weight of this block. A higher number will increase the probability of this block to be picked during placement.",
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
"title": "Block",
|
"title": "Block",
|
||||||
"description": "A block that may be replaced during placement. Omit this field to allow any block to be replaced.",
|
"description": "A block that may be replaced during placement. Omit this field to allow any block to be replaced.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"title": "Block",
|
"title": "Block",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"block_whitelist": {
|
"block_whitelist": {
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"title": "Block",
|
"title": "Block",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,7 @@
|
|||||||
"title": "Decoration Block",
|
"title": "Decoration Block",
|
||||||
"description": "The block used for decorating the trunk.",
|
"description": "The block used for decorating the trunk.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"num_steps": {
|
"num_steps": {
|
||||||
"title": "Num Steps",
|
"title": "Num Steps",
|
||||||
@@ -228,7 +228,7 @@
|
|||||||
"hanging_block": {
|
"hanging_block": {
|
||||||
"title": "Hanging Block",
|
"title": "Hanging Block",
|
||||||
"description": "The block to be used as a hanging block.",
|
"description": "The block to be used as a hanging block.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"hanging_block_placement_chance": {
|
"hanging_block_placement_chance": {
|
||||||
"title": "Hanging Block Placement Chance",
|
"title": "Hanging Block Placement Chance",
|
||||||
@@ -380,7 +380,7 @@
|
|||||||
"title": "Leaf Block",
|
"title": "Leaf Block",
|
||||||
"description": "The block thata forms the canopy of the tree.",
|
"description": "The block thata forms the canopy of the tree.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"trunk_width": {
|
"trunk_width": {
|
||||||
"title": "Trunk Width",
|
"title": "Trunk Width",
|
||||||
@@ -415,7 +415,7 @@
|
|||||||
"title": "Decoration Block",
|
"title": "Decoration Block",
|
||||||
"description": "The block used for decorating the trunk.",
|
"description": "The block used for decorating the trunk.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"num_steps": {
|
"num_steps": {
|
||||||
"title": "Num Steps",
|
"title": "Num Steps",
|
||||||
@@ -440,7 +440,7 @@
|
|||||||
"title": "Trunk Block",
|
"title": "Trunk Block",
|
||||||
"description": "The block that forms the tree trunk.",
|
"description": "The block that forms the tree trunk.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -450,10 +450,10 @@
|
|||||||
"base_block": {
|
"base_block": {
|
||||||
"title": "Base Block",
|
"title": "Base Block",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "$ref": "../../../general/block/identifier.json" },
|
{ "$ref": "../../../general/block/reference.json" },
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "title": "Block", "$ref": "../../../general/block/identifier.json" }
|
"items": { "title": "Block", "$ref": "../../../general/block/reference.json" }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -469,7 +469,7 @@
|
|||||||
"description": "List of blocks that the base cluster of a tree can replace.",
|
"description": "List of blocks that the base cluster of a tree can replace.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"num_clusters": {
|
"num_clusters": {
|
||||||
@@ -491,7 +491,7 @@
|
|||||||
"description": "List of blocks where a tree can grow on.",
|
"description": "List of blocks where a tree can grow on.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"may_replace": {
|
"may_replace": {
|
||||||
@@ -499,7 +499,7 @@
|
|||||||
"description": "List of blocks that a tree can replace.",
|
"description": "List of blocks that a tree can replace.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"may_grow_through": {
|
"may_grow_through": {
|
||||||
@@ -507,7 +507,7 @@
|
|||||||
"description": "List of blocks that a tree can grow through.",
|
"description": "List of blocks that a tree can grow through.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"acacia_trunk": {
|
"acacia_trunk": {
|
||||||
@@ -1131,7 +1131,7 @@
|
|||||||
"title": "Decoration Block",
|
"title": "Decoration Block",
|
||||||
"description": "The block used for decorating the trunk.",
|
"description": "The block used for decorating the trunk.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"num_steps": {
|
"num_steps": {
|
||||||
"title": "Num Steps",
|
"title": "Num Steps",
|
||||||
@@ -1247,7 +1247,7 @@
|
|||||||
"hanging_block": {
|
"hanging_block": {
|
||||||
"title": "Hanging Block",
|
"title": "Hanging Block",
|
||||||
"description": "The block to be used as a hanging block.",
|
"description": "The block to be used as a hanging block.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"hanging_block_placement_chance": {
|
"hanging_block_placement_chance": {
|
||||||
"title": "Hanging Block Placement Chance",
|
"title": "Hanging Block Placement Chance",
|
||||||
@@ -1452,7 +1452,7 @@
|
|||||||
"title": "Root Block",
|
"title": "Root Block",
|
||||||
"description": "Block used for roots.",
|
"description": "Block used for roots.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"above_root": {
|
"above_root": {
|
||||||
"title": "Above Root",
|
"title": "Above Root",
|
||||||
@@ -1469,19 +1469,19 @@
|
|||||||
"title": "Above Root Block",
|
"title": "Above Root Block",
|
||||||
"description": "The block placed on the top of the roots.",
|
"description": "The block placed on the top of the roots.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"muddy_root_block": {
|
"muddy_root_block": {
|
||||||
"title": "Muddy Root Block",
|
"title": "Muddy Root Block",
|
||||||
"description": "The block used for muddy roots.",
|
"description": "The block used for muddy roots.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"mud_block": {
|
"mud_block": {
|
||||||
"title": "Mud Block",
|
"title": "Mud Block",
|
||||||
"description": "The block used to determine if a muddy root should be placed.",
|
"description": "The block used to determine if a muddy root should be placed.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"y_offset": {
|
"y_offset": {
|
||||||
"title": "Y Offset",
|
"title": "Y Offset",
|
||||||
@@ -1493,7 +1493,7 @@
|
|||||||
"description": "List of blocks that a root can grow through.",
|
"description": "List of blocks that a root can grow through.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root_decoration": {
|
"root_decoration": {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"fill_with": {
|
"fill_with": {
|
||||||
"title": "Fill With",
|
"title": "Fill With",
|
||||||
"description": "Reference to the block to fill the cave with.",
|
"description": "Reference to the block to fill the cave with.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"width_modifier": {
|
"width_modifier": {
|
||||||
"title": "Width Modifier",
|
"title": "Width Modifier",
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
"replace_air_with": {
|
"replace_air_with": {
|
||||||
"title": "Replace Air With",
|
"title": "Replace Air With",
|
||||||
"description": "Reference to the block to replace air blocks with.",
|
"description": "Reference to the block to replace air blocks with.",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -15,14 +15,14 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"title": "Replace Block",
|
"title": "Replace Block",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ground_block": {
|
"ground_block": {
|
||||||
"title": "Ground Block",
|
"title": "Ground Block",
|
||||||
"description": "Block used to create a base for the vegetation patch.",
|
"description": "Block used to create a base for the vegetation patch.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../../general/block/identifier.json"
|
"$ref": "../../../general/block/reference.json"
|
||||||
},
|
},
|
||||||
"vegetation_feature": {
|
"vegetation_feature": {
|
||||||
"title": "Vegetation Feature",
|
"title": "Vegetation Feature",
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"description": "Items that can be used to repeair it",
|
"description": "Items that can be used to repeair it",
|
||||||
"$comment": "List of items",
|
"$comment": "List of items",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "type": "string", "title": "Item", "description": "Item identifier" }
|
"items": { "$ref": "../../../../general/item/descriptor.json" }
|
||||||
},
|
},
|
||||||
"repair_amount": {
|
"repair_amount": {
|
||||||
"title": "Repair Amount",
|
"title": "Repair Amount",
|
||||||
|
|||||||
@@ -55,6 +55,14 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"minecraft:match_tool_filter_any": {
|
||||||
|
"title": "Match Tool Filter Any",
|
||||||
|
"description": "List of tags the item must have at least one of",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
15
source/general/vanilla/tint_methods.json
Normal file
15
source/general/vanilla/tint_methods.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.general.vanilla.tint_methods",
|
||||||
|
"type": "string",
|
||||||
|
"title": "Tint Method",
|
||||||
|
"description": "Tint multiplied to the color.",
|
||||||
|
"enum": [
|
||||||
|
"none",
|
||||||
|
"default_foliage",
|
||||||
|
"birch_foliage",
|
||||||
|
"evergreen_foliage",
|
||||||
|
"dry_foliage",
|
||||||
|
"grass",
|
||||||
|
"water"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -164,6 +164,12 @@
|
|||||||
"effect": {
|
"effect": {
|
||||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
|
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
|
||||||
"type": "string"
|
"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,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Actor Animation",
|
"title": "Actor Animation",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Particle Effect",
|
"title": "Particle Effect",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["effect"],
|
"required": [ "effect" ],
|
||||||
"properties": {
|
"properties": {
|
||||||
"effect": { "type": "string", "title": "Particle Id", "description": "The name of a particle effect that should be played." },
|
"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." },
|
"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",
|
"title": "Position Array",
|
||||||
"description": "An array of 3 items that describe the bones position.",
|
"description": "An array of 3 items that describe the bones position.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"examples": [[0, 0, 0]],
|
"examples": [ [ 0, 0, 0 ] ],
|
||||||
"maxItems": 3,
|
"maxItems": 3,
|
||||||
"minItems": 3,
|
"minItems": 3,
|
||||||
"items": [
|
"items": [
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
"title": "Rotation Array",
|
"title": "Rotation Array",
|
||||||
"description": "An array of 3 items that describe the bones rotation.",
|
"description": "An array of 3 items that describe the bones rotation.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"examples": [[0, 0, 0]],
|
"examples": [ [ 0, 0, 0 ] ],
|
||||||
"maxItems": 3,
|
"maxItems": 3,
|
||||||
"minItems": 3,
|
"minItems": 3,
|
||||||
"items": [
|
"items": [
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
"title": "Scale Array",
|
"title": "Scale Array",
|
||||||
"description": "An array of 3 items that describe the bones scale.",
|
"description": "An array of 3 items that describe the bones scale.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"examples": [[0, 0, 0]],
|
"examples": [ [ 0, 0, 0 ] ],
|
||||||
"maxItems": 3,
|
"maxItems": 3,
|
||||||
"minItems": 3,
|
"minItems": 3,
|
||||||
"items": [
|
"items": [
|
||||||
@@ -88,13 +88,19 @@
|
|||||||
"title": "Effect",
|
"title": "Effect",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
|
"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": {
|
"properties": {
|
||||||
"format_version": { "type": "string", "enum": ["1.8.0", "1.10.0"] },
|
"format_version": { "type": "string", "enum": [ "1.8.0", "1.10.0" ] },
|
||||||
"animations": {
|
"animations": {
|
||||||
"title": "Animations Schema",
|
"title": "Animations Schema",
|
||||||
"description": "The animation specification.",
|
"description": "The animation specification.",
|
||||||
@@ -125,7 +131,7 @@
|
|||||||
"bones": {
|
"bones": {
|
||||||
"title": "Bones",
|
"title": "Bones",
|
||||||
"description": "Defines how the bones in an animation move or transform.",
|
"description": "Defines how the bones in an animation move or transform.",
|
||||||
"propertyNames": { "examples": ["leftArm"] },
|
"propertyNames": { "examples": [ "leftArm" ] },
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"minProperties": 1,
|
"minProperties": 1,
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@@ -141,7 +147,7 @@
|
|||||||
{ "type": "array", "$ref": "#/definitions/PositionV3" },
|
{ "type": "array", "$ref": "#/definitions/PositionV3" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time.",
|
"description": "A single point in time.",
|
||||||
@@ -157,7 +163,7 @@
|
|||||||
"title": "Lerp Mode",
|
"title": "Lerp Mode",
|
||||||
"description": "UNDOCUMENTED.",
|
"description": "UNDOCUMENTED.",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"enum": ["linear", "catmullrom"]
|
"enum": [ "linear", "catmullrom" ]
|
||||||
},
|
},
|
||||||
"pre": {
|
"pre": {
|
||||||
"title": "Pre",
|
"title": "Pre",
|
||||||
@@ -185,7 +191,7 @@
|
|||||||
{ "type": "array", "$ref": "#/definitions/RotationV3" },
|
{ "type": "array", "$ref": "#/definitions/RotationV3" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time.",
|
"description": "A single point in time.",
|
||||||
@@ -206,7 +212,7 @@
|
|||||||
"title": "Lerp Mode",
|
"title": "Lerp Mode",
|
||||||
"description": "UNDOCUMENTED.",
|
"description": "UNDOCUMENTED.",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"enum": ["linear", "catmullrom"]
|
"enum": [ "linear", "catmullrom" ]
|
||||||
},
|
},
|
||||||
"pre": {
|
"pre": {
|
||||||
"title": "Pre",
|
"title": "Pre",
|
||||||
@@ -247,7 +253,7 @@
|
|||||||
{ "$ref": "#/definitions/ScaleV3" },
|
{ "$ref": "#/definitions/ScaleV3" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time.",
|
"description": "A single point in time.",
|
||||||
@@ -268,7 +274,7 @@
|
|||||||
"title": "Lerp Mode",
|
"title": "Lerp Mode",
|
||||||
"description": "UNDOCUMENTED.",
|
"description": "UNDOCUMENTED.",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"enum": ["linear", "catmullrom"]
|
"enum": [ "linear", "catmullrom" ]
|
||||||
},
|
},
|
||||||
"pre": {
|
"pre": {
|
||||||
"title": "Pre",
|
"title": "Pre",
|
||||||
@@ -295,7 +301,7 @@
|
|||||||
"loop": {
|
"loop": {
|
||||||
"title": "Loop",
|
"title": "Loop",
|
||||||
"description": "Should this animation stop, loop, or stay on the last frame when finished (true, false, hold_on_last_frame).",
|
"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": {
|
"loop_delay": {
|
||||||
"title": "Loop Delay",
|
"title": "Loop Delay",
|
||||||
@@ -312,8 +318,8 @@
|
|||||||
"description": "UNDOCUMENTED.",
|
"description": "UNDOCUMENTED.",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||||
"examples": [{ "0.0": {} }],
|
"examples": [ { "0.0": { } } ],
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time.",
|
"description": "A single point in time.",
|
||||||
@@ -333,7 +339,7 @@
|
|||||||
"description": "UNDOCUMENTED.",
|
"description": "UNDOCUMENTED.",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time.",
|
"description": "A single point in time.",
|
||||||
@@ -347,8 +353,8 @@
|
|||||||
"title": "Timeline",
|
"title": "Timeline",
|
||||||
"description": "The time line.",
|
"description": "The time line.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
|
||||||
"examples": [{ "0.0": {} }],
|
"examples": [ { "0.0": { } } ],
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "string", "title": "Molang", "description": "Variable definition.", "pattern": "^(v|variable)\\..*=.*;$" },
|
{ "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": {
|
"properties": {
|
||||||
// Components
|
// Components
|
||||||
"minecraft:ambient_sounds": { "$ref": "./components/ambient_sounds.json" },
|
"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: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:fog_appearance": { "$ref": "./components/fog_appearance.json" },
|
||||||
"minecraft:foliage_appearance": { "$ref": "./components/foliage_appearance.json" },
|
"minecraft:foliage_appearance": { "$ref": "./components/foliage_appearance.json" },
|
||||||
"minecraft:grass_appearance": { "$ref": "./components/grass_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: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",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["sound"],
|
"required": [ "sound" ],
|
||||||
"properties": {
|
"properties": {
|
||||||
"volume": { "$ref": "#/definitions/volume" },
|
"volume": { "$ref": "#/definitions/volume" },
|
||||||
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
|
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
|
||||||
@@ -63,6 +63,38 @@
|
|||||||
"title": "Events",
|
"title": "Events",
|
||||||
"propertyNames": { "pattern": "[a-z\\._]+" },
|
"propertyNames": { "pattern": "[a-z\\._]+" },
|
||||||
"additionalProperties": { "$ref": "#/definitions/sound_event" }
|
"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": {
|
"events": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Events",
|
"title": "Events",
|
||||||
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
|
"propertyNames": { "enum": [ "default", "fall", "step", "hit", "jump", "land" ] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Sound Event",
|
"title": "Sound Event",
|
||||||
"description": "A single sound event definition.",
|
"description": "A single sound event definition.",
|
||||||
|
|||||||
Reference in New Issue
Block a user