{"$id":"blockception.minecraft.behavior.entities","required":["format_version"],"examples":[{"format_version":"1.16.0","minecraft:entity":{"description":{"identifier":"namespace:entity","is_spawnable":true,"is_summonable":true},"component_groups":{},"components":{},"events":{}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.8.0"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/EBF"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.11.0"}}},"then":{"$ref":"#/definitions/ECF"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.12.0"}}},"then":{"$ref":"#/definitions/ECJ"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.13.0"}}},"then":{"$ref":"#/definitions/EDG"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.14.0"}}},"then":{"$ref":"#/definitions/EGE"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.16.0"}}},"then":{"$ref":"#/definitions/EGI"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.16.100"}}},"then":{"$ref":"#/definitions/FFE"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.17.0"}}},"then":{"$ref":"#/definitions/FFE"}},{"properties":{"format_version":{"$ref":"#/definitions/FFH"}}}],"definitions":{"C":{"type":"string","title":"Entity Identifier 1.8.0","description":"A minecraft entity identifier","examples":["namespace:entity_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"E":{"additionalProperties":false,"type":"object","title":"Add Rider 1.8.0","description":"Adds a rider to the entity. Requires `minecraft:rideable.`","required":["entity_type"],"properties":{"entity_type":{"type":"string","description":"The entity type that will be riding this entity","title":"Entity Type"},"spawn_event":{"type":"string","description":"The spawn event that will be used when the riding entity is created","title":"Spawn Event"}}},"G":{"type":"string","title":"Item Identifier","description":"A minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"H":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"F":{"type":"object","title":"Ageable 1.8.0","description":"Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.","additionalProperties":false,"required":[],"properties":{"duration":{"type":"number","default":1200.0,"description":"Amount of time before the entity grows up, -1 for always a baby.","title":"Duration"},"feed_items":{"description":"List of items that can be fed to the entity. Includes `item` for the item name and `growth` to define how much time it grows up by","title":"Feed Items","type":"array","items":{"title":"Feed Item","description":"An item that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by","oneOf":[{"type":"object","properties":{"item":{"type":"string","description":"The item name that can be used to feed","title":"Item","$ref":"#/definitions/G"},"growth":{"type":"integer","description":"The amount that counts for aging","title":"Growth"}}},{"type":"string","$ref":"#/definitions/G"}]}},"drop_items":{"type":"array","description":"List of items that the entity drops when it grows up.","items":{"type":"string","description":"Item names","title":"Drop Items","$ref":"#/definitions/G"},"title":"Drop Items"},"grow_up":{"description":"Event to run when this entity grows up","title":"Grow Up","oneOf":[{"type":"string"},{"type":"object","properties":{"event":{"type":"string"},"target":{"$ref":"#/definitions/H"}}}]}}},"I":{"additionalProperties":false,"type":"object","title":"Ambient Sound Interval 1.8.0","description":"Sets the entity's delay between playing its ambient sound.","required":["event_name"],"properties":{"event_name":{"type":"string","default":"ambient","description":"Levelsoundeventtobeplayed