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:
@@ -4,7 +4,7 @@
|
||||
"title": "Spell Effects",
|
||||
"additionalProperties": false,
|
||||
"description": "Defines what mob effects to add and remove to the entity when adding this component.",
|
||||
"required": [],
|
||||
"required": [ ],
|
||||
"properties": {
|
||||
"add_effects": {
|
||||
"type": "array",
|
||||
@@ -32,8 +32,16 @@
|
||||
"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).",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"minimum": 0
|
||||
},
|
||||
{
|
||||
"const": "infinite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"display_on_screen_animation": {
|
||||
"type": "boolean",
|
||||
@@ -63,7 +71,7 @@
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["string"],
|
||||
"type": [ "string" ],
|
||||
"title": "Spell Effect ID",
|
||||
"description": "identifier of the effect to be removed from this entity after adding this component."
|
||||
}
|
||||
@@ -76,7 +84,7 @@
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"add_effects": []
|
||||
"add_effects": [ ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user