2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
"$id" : "blockception.minecraft.behaviour.entities.1.13.0.minecraft.transformation" ,
"description" : "Defines this entity's ability to trade with players." ,
"type" : "object" ,
"title" : "Transformation 1.13.0" ,
"additionalProperties" : false ,
"required" : [ ] ,
"properties" : {
"add" : {
"type" : "object" ,
"description" : "List of components to add to the entity after the transformation" ,
2021-03-21 15:18:38 +01:00
"properties" : { "component_groups" : { "type" : "array" , "description" : "Names of component groups to add" , "items" : { "type" : "string" } } } ,
"title" : "TODO Title" ,
2020-11-01 17:22:42 +01:00
"additionalProperties" : false
} ,
2021-03-21 15:18:38 +01:00
"begin_transform_sound" : { "type" : "string" , "description" : "Sound to play when the transformation starts" , "title" : "TODO Title" } ,
2020-11-01 17:22:42 +01:00
"delay" : {
"type" : "object" ,
"description" : "Defines the properties of the delay for the transformation" ,
"properties" : {
"block_assist_chance" : {
"type" : "number" ,
"default" : 0 ,
"description" : "Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"
} ,
2021-03-21 15:18:38 +01:00
"block_chance" : { "type" : "number" , "default" : 0 , "description" : "Chance that, once a block is found, will help speed up the transformation" } ,
2020-11-01 17:22:42 +01:00
"block_max" : {
"type" : "integer" ,
"default" : 0 ,
"description" : "Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"
} ,
2021-03-21 15:18:38 +01:00
"block_radius" : { "type" : "integer" , "default" : 0 , "description" : "Distance in Blocks that the entity will search for blocks that can help the transformation" } ,
2020-11-01 17:22:42 +01:00
"block_types" : {
"type" : "array" ,
"description" : "List of blocks that can help the transformation of this entity" ,
2021-03-21 15:18:38 +01:00
"items" : { "$ref" : "../../../../general/blocks_identifiers.json" }
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"value" : { "type" : "number" , "default" : 0 , "description" : "Time in seconds before the entity transforms" }
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"title" : "TODO Title" ,
2020-11-01 17:22:42 +01:00
"additionalProperties" : false
} ,
2021-03-21 15:18:38 +01:00
"drop_equipment" : { "type" : "boolean" , "default" : false , "description" : "Cause the entity to drop all equipment upon transformation" , "title" : "TODO Title" } ,
"into" : { "type" : "string" , "description" : "Entity Definition that this entity will transform into" , "title" : "TODO Title" } ,
2020-11-01 17:22:42 +01:00
"keep_level" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If this entity has trades and has leveled up, it should maintain that level after transformation." ,
2021-03-21 15:18:38 +01:00
"title" : "TODO Title"
2020-11-01 17:22:42 +01:00
} ,
"keep_owner" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If this entity is owned by another entity, it should remain owned after transformation." ,
2021-03-21 15:18:38 +01:00
"title" : "TODO Title"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"transformation_sound" : { "type" : "string" , "description" : "Sound to play when the entity is done transforming" , "title" : "TODO Title" }
2020-11-01 17:22:42 +01:00
}
}