2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
2021-04-04 13:52:35 +02:00
"$id" : "blockception.minecraft.behavior.entities.minecraft:entity" ,
2020-11-01 17:22:42 +01:00
"title" : "Entity 1.11.0" ,
"required" : [ "description" ] ,
2021-01-03 11:36:00 +01:00
"additionalProperties" : false ,
2020-11-01 17:22:42 +01:00
"properties" : {
"description" : {
"required" : [ "identifier" ] ,
"title" : "Description" ,
"description" : "The description of the this entity" ,
"properties" : {
"animations" : {
"title" : "Animations" ,
"description" : "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs" ,
"type" : "object" ,
2021-05-18 23:32:44 +02:00
"additionalProperties" : {
"title" : "Animation (controller)" ,
"description" : "The name of the animation controller / animation" ,
"type" : "string"
}
} ,
"identifier" : {
"$ref" : "../../../general/entity/identifier.json" ,
"description" : "Sets the identifier for this entity's description." ,
"title" : "Identifier"
} ,
"is_spawnable" : {
"type" : "boolean" ,
"title" : "Is Spawnable" ,
"description" : "Sets whether or not this entity has a spawn egg in the creative ui."
2020-11-01 17:22:42 +01:00
} ,
"is_summonable" : {
"type" : "boolean" ,
2021-03-21 15:18:38 +01:00
"title" : "Is Summonable Property" ,
2020-11-01 17:22:42 +01:00
"description" : "Sets whether or not we can summon this entity using commands such as /summon."
} ,
"is_experimental" : {
"type" : "boolean" ,
2021-03-21 15:18:38 +01:00
"title" : "Is Experimental" ,
2020-11-01 17:22:42 +01:00
"description" : "Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled."
} ,
"runtime_identifier" : {
"type" : "string" ,
2021-03-21 15:18:38 +01:00
"title" : "Runtime Identifier" ,
2020-11-01 17:22:42 +01:00
"description" : "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from."
} ,
"scripts" : {
"type" : "object" ,
"title" : "Scripts" ,
"description" : "Sets the mapping of internal animation controller references to actual animation controller. This is a JSON Array of name/animation-controller pairs" ,
"properties" : {
"animate" : {
"type" : "array" ,
"title" : "Animate" ,
"description" : "Tells minecraft to run which animation / animation controllers and under what conditions" ,
"items" : {
"oneOf" : [
2021-03-21 15:18:38 +01:00
{ "type" : "string" , "title" : "Animation" , "description" : "The name of an animation controller referenced in animations" } ,
2021-05-18 23:32:44 +02:00
{
"type" : "object" ,
"title" : "Conditional Animation" ,
"description" : "TODO" ,
"additionalProperties" : { "type" : "string" , "title" : "Animation" }
}
2020-11-01 17:22:42 +01:00
]
}
}
}
}
}
} ,
"component_groups" : {
2021-03-21 15:18:38 +01:00
"title" : "Component Groups" ,
2020-11-01 17:22:42 +01:00
"description" : "Each group when add / remove the default components" ,
"uniqueItems" : true ,
"type" : "object" ,
"additionalProperties" : {
2020-12-12 00:09:25 +01:00
"$ref" : "./components.json" ,
2020-11-01 17:22:42 +01:00
"uniqueItems" : true ,
"description" : "The components that are added as the foundation of the entity" ,
2021-04-19 15:57:02 +02:00
"title" : "Component"
2020-11-01 17:22:42 +01:00
}
} ,
"components" : {
2020-12-12 00:09:25 +01:00
"$ref" : "./components.json" ,
2020-11-01 17:22:42 +01:00
"uniqueItems" : true ,
"description" : "The components that are added as the foundation of the entity" ,
2021-04-19 15:57:02 +02:00
"title" : "Component"
2020-11-01 17:22:42 +01:00
} ,
"events" : {
2020-12-12 00:09:25 +01:00
"$ref" : "./events.json" ,
2020-11-01 17:22:42 +01:00
"uniqueItems" : true ,
"description" : "The events that the entity can run, these add or remove components_groups" ,
2021-04-19 15:57:02 +02:00
"title" : "Events"
2020-11-01 17:22:42 +01:00
}
}
}