//Display name of the vehicle
name Bus
//Unique Identifier
id bus

model bus.obj

//Possible textures of the vehicle
textures bus.png bus_white_red.png bus_yellow.png


//Wheels. Wheel type -> Position coordinates (multiples of 0.0625 (one pixel)) -> whether or not it can rotate
wheel wheel_large 1.312500202165174 0.375 2.5625 true
wheel wheel_large -1.3124997978348163 0.375 2.5625 true
wheel wheel_large -1.3125002076290977 0.375 -2.125 
wheel wheel_large 1.3124997923708925 0.375 -2.125 

//Seats. Position coordinates -> whether or not it is a driver seat -> passenger scale -> rotation
seat 0.8000002622683371 0.5 3.25 true
seat -0.8999997727007686 0.5 2.85 
seat -0.8999998251544366 0.5 2.25 false 1 180
seat 0.9000001748455566 0.5 2.25 false 1 180
seat 0.9000000174845526 0.5 0.45 
seat 0.8999999781443015 0.5 0 false 1 180
seat 0.8999998338967146 0.5 -1.65 
seat -0.9000001661032786 0.5 -1.65 
seat 0.8999998032987415 0.5 -2 false 1 180
seat -0.9000001967012516 0.5 -2 false 1 180
 
seat 0 0.5 -4.35 
seat -0.9 0.5 -4.35 


health 20
inventorySize 9

maxSpeed 1.2
acceleration 0.005
deceleration -0.0125

//Dimensions used for hitbox calculations
width 3
length 9
height 3

//Sound stuff
soundEngineRunning engine_truck_running.ogg

//Whether or not players can ride this vehicle
rideable true

//Add items needed for crafting.
//Item name -> item count
craftingRecipeEntry minecraft:paper 1
craftingRecipeEntry minecraft:lapis_lazuli 1


//right headlight
light 1f 1f 0.4f 1f 0 -0.9375,0.4375,4.5813 -0.9375,0.625,4.5813 -1.375,0.625,4.5813 -1.375,0.4375,4.5813 night
//front right turn indicator
light 1f 0.7f 0.0f 1f 10 -1.0625,0.25,4.565 -1.0625,0.375,4.565 -1.1875,0.375,4.565 -1.1875,0.25,4.565 indicator_right

//left headlight
light 1f 1f 0.4f 1f 0 1.375,0.4375,4.5813 1.375,0.625,4.5813 0.9375,0.625,4.5813 0.9375,0.4375,4.5813 night
//front left turn indicator
light 1f 0.7f 0.0f 1f 10 1.1875,0.25,4.565 1.1875,0.375,4.565 1.0625,0.375,4.565 1.0625,0.25,4.565 indicator_left


//back right turn indicator
light 1f 0.7f 0f 1f 10 -1.375,0.6875,-4.7777 -1.375,0.8125,-4.7777 -1.25,0.8125,-4.7777 -1.25,0.6875,-4.7777 indicator_right
//right brake light
light 1f 0.0f 0f 0.9f 0 -1.375,0.8125,-4.7777 -1.375,0.9375,-4.7777 -1.1875,0.9375,-4.7777 -1.1875,0.8125,-4.7777 braking
light 1f 0.0f 0f 0.9f 0 -1.25,0.6875,-4.7777 -1.25,0.8125,-4.7777 -1.1875,0.8125,-4.7777 -1.1875,0.6875,-4.7777 braking
//right tail light
light 0.7f 0.0f 0f 0.5f 0 -1.375,0.9375,-4.7777 -1.375,1.25,-4.7777 -1.1875,1.25,-4.7777 -1.1875,0.9375,-4.7777 night

//back left turn indicator
light 1f 0.7f 0f 1f 10 1.25,0.6875,-4.7777 1.25,0.8125,-4.7777 1.375,0.8125,-4.7777 1.375,0.6875,-4.7777 indicator_left
//left brake light
light 1f 0.0f 0f 0.9f 0 1.1875,0.8125,-4.7777 1.1875,0.9375,-4.7777 1.375,0.9375,-4.7777 1.375,0.8125,-4.7777 braking
light 1f 0.0f 0f 0.9f 0 1.1875,0.6875,-4.7777 1.1875,0.8125,-4.7777 1.25,0.8125,-4.7777 1.25,0.6875,-4.7777 braking
//left tail light
light 0.7f 0.0f 0f 0.5f 0 1.1875,0.9375,-4.7777 1.1875,1.25,-4.7777 1.375,1.25,-4.7777 1.375,0.9375,-4.7777 night