//Display name of the vehicle
name LHT Articulated Bus Trailer
//Unique Identifier
id articulated_bus_trailer_lht

model articulated_bus_trailer_lht.obj

//Possible textures of the vehicle
textures articulated_bus_lht.png articulated_bus_blue_lht.png articulated_bus_green_lht.png

//Tells the mod that this trailer is part of another vehicle. Same texture will be applied.
parents articulated_bus_lht

//Wheels. Wheel type -> Position coordinates (multiples of 0.0625 (one pixel)) -> whether or not it can rotate
wheel wheel_large -1.3125 0.375 -0.8125 
wheel wheel_large 1.3125 0.375 -0.8125

//Seats. Position coordinates -> whether or not it is a driver seat -> passenger scale -> rotation
seat -0.9 0.5 2.2625 
seat -0.9 0.5 1.8125 false 1 180
seat -0.9 0.5 -0.1625
seat 0.9 0.5 -0.1625
seat -0.9 0.5 -0.1875 false 1 180
seat 0.9 0.5 -0.1875 false 1 180



health 20
inventorySize 9

maxSpeed 1.2
acceleration 0.0035
deceleration -0.0125

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

//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


trailer true
 
couplerPosition 0 1.125 3.9375 
articulatedJointPosition 0 0.25 3.1875



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

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