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:
Xterionix
2025-03-03 12:44:05 +05:00
committed by GitHub
parent 8de19607a3
commit c9449c75d6
51 changed files with 589 additions and 139 deletions

View File

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

View File

@@ -2,37 +2,63 @@
"$id": "blockception.minecraft.behavior.blocks.minecraft.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.",
"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",
"format": "colox-hex",
"default": "#FFFFFF"
"$ref": "#/definitions/color"
},
{
"type": "array",
"items": [
{
"title": "Red",
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 255
"type": "object",
"additionalProperties": false,
"required": ["color"],
"properties": {
"color": {
"title": "Color",
"$ref": "#/definitions/color"
},
{
"title": "Green",
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 255
},
{
"title": "Blue",
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 255
"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"
}
]
}
}
],
"examples": ["#FFFFFF", [255, 255, 255]]

View File

@@ -57,6 +57,17 @@
"title": "Texture",
"type": "string",
"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"
}
}
}

View File

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