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.1.8.0.minecraft.rideable" ,
2020-11-01 17:22:42 +01:00
"description" : "Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity." ,
"type" : "object" ,
"title" : "Rideable 1.8.0" ,
"additionalProperties" : false ,
"definitions" : {
"seats_spec" : {
"additionalProperties" : false ,
"type" : "object" ,
"properties" : {
"lock_rider_rotation" : {
"type" : "number" ,
"default" : 181 ,
"description" : "Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit"
} ,
2021-03-21 15:18:38 +01:00
"max_rider_count" : { "type" : "integer" , "default" : 0 , "description" : "Defines the maximum number of riders that can be riding this entity for this seat to be valid" } ,
2020-11-01 17:22:42 +01:00
"min_rider_count" : {
"type" : "integer" ,
"default" : 0 ,
"description" : "Defines the minimum number of riders that need to be riding this entity before this seat can be used"
} ,
2021-03-21 15:18:38 +01:00
"position" : { "$ref" : "../../../../general/array_3_number.json" , "default" : [ 0.0 , 0.0 , 0.0 ] , "description" : "Position of this seat relative to this entity's position" } ,
"rotate_rider_by" : { "type" : "number" , "default" : 0 , "description" : "Offset to rotate riders by" }
2020-11-01 17:22:42 +01:00
}
}
} ,
"required" : [ ] ,
"properties" : {
2021-03-21 15:18:38 +01:00
"controlling_seat" : { "type" : "integer" , "default" : 0 , "description" : "The seat that designates the driver of the entity" , "title" : "TODO Title" } ,
2020-11-01 17:22:42 +01:00
"crouching_skip_interact" : {
"type" : "boolean" ,
"default" : true ,
"description" : "If true, this entity can't be interacted with if the entity interacting with it is crouching" ,
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
"family_types" : { "type" : "array" , "items" : { "type" : "string" } , "description" : "List of entities that can ride this entity" , "title" : "TODO Title" } ,
2020-11-01 17:22:42 +01:00
"interact_text" : {
"type" : "string" ,
"default" : "" ,
"description" : "The text to display when the player can interact with the entity when playing with Touch-screen controls" ,
2021-03-21 15:18:38 +01:00
"title" : "TODO Title"
2020-11-01 17:22:42 +01:00
} ,
"pull_in_entities" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, this entity will pull in entities that are in the correct family_types into any available seats" ,
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
"rider_can_interact" : { "type" : "boolean" , "default" : false , "description" : "If true, this entity will be picked when looked at by the rider" , "title" : "TODO Title" } ,
"seat_count" : { "type" : "integer" , "default" : 1 , "description" : "The number of entities that can ride this entity at the same time" , "title" : "TODO Title" } ,
2020-11-01 17:22:42 +01:00
"seats" : {
"description" : "The list of positions and number of riders for each position for entities riding this entity" ,
"oneOf" : [
2021-03-21 15:18:38 +01:00
{ "type" : "object" , "$ref" : "#/definitions/seats_spec" } ,
{ "type" : "array" , "items" : { "$ref" : "#/definitions/seats_spec" } }
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
}
}
}