* 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
91 lines
3.4 KiB
JSON
91 lines
3.4 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.spell_effects",
|
|
"type": "object",
|
|
"title": "Spell Effects",
|
|
"additionalProperties": false,
|
|
"description": "Defines what mob effects to add and remove to the entity when adding this component.",
|
|
"required": [ ],
|
|
"properties": {
|
|
"add_effects": {
|
|
"type": "array",
|
|
"description": "List of effects to add to this entity after adding this component.",
|
|
"items": {
|
|
"oneOf": [
|
|
{ "$ref": "../../../../general/vanilla/effect.json" },
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"amplifier": {
|
|
"type": "integer",
|
|
"title": "Amplifier",
|
|
"description": "The level of the effect, same as used in the /effect command (0 for level I, 1 for level II, etc). Defaults to 0. NOTE: Values can be negative but its not an intentional feature",
|
|
"default": 0,
|
|
"minimum": 0
|
|
},
|
|
"ambient": {
|
|
"title": "Ambient",
|
|
"description": "Boolean value that should cause the particles emitted by the entity to be partially transparent. This does not work properly, resulting in this property having no effect. Defaults to false.",
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"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).",
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"default": 1,
|
|
"minimum": 0
|
|
},
|
|
{
|
|
"const": "infinite"
|
|
}
|
|
]
|
|
},
|
|
"display_on_screen_animation": {
|
|
"type": "boolean",
|
|
"title": "Display On Screen Animation",
|
|
"description": "Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."
|
|
},
|
|
"effect": {
|
|
"$ref": "../../../../general/vanilla/effect.json",
|
|
"title": "Effect",
|
|
"description": "The string identifier of the status effect to add. These are the same as used in the /effect command."
|
|
},
|
|
"visible": {
|
|
"type": "boolean",
|
|
"title": "Visible",
|
|
"description": "Boolean value. When set to true, the effect will be visible to the player. Defaults to true."
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"title": "Add Effects"
|
|
},
|
|
"remove_effects": {
|
|
"title": "Remove Effects",
|
|
"description": "List of identifiers of effects to be removed from this entity after adding this component.",
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": [ "string" ],
|
|
"title": "Spell Effect ID",
|
|
"description": "identifier of the effect to be removed from this entity after adding this component."
|
|
}
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"examples": [
|
|
{
|
|
"add_effects": [ ]
|
|
}
|
|
]
|
|
}
|