﻿{
	"general": {
	"name": "§3UNU H6 Engine",
		"type": "engine_car",
		"customType": "h6",
		//"materials": ["minecraft:iron_block:0:1", "mts:unuparts.unuparts_crafting_unu_cast_piston:0:6"] //Vanilla
		"materials": ["immersiveengineering:metal_decoration0:4:1", "mts:unuparts.unuparts_crafting_unu_cast_piston:0:6", "immersiveengineering:material:9:3"] //Immersive Engineering
	},
	
	"engine": {
		"isAutomatic": true,
		"isCrankingNotPitched": true,
		"starterPower": 25,
		"starterDuration": 17,
		"maxRPM": 7250,
		"fuelConsumption": 0.4,
		"fuelType": "gasoline",
		"gearRatios": [-2.0, 0.0, 2.0, 1.0],//[-4.0, 0.0, 4.0, 2.0],
		"repairMaterials": ["minecraft:iron_ingot:0:6"], //Vanilla
		//"repairMaterials": ["immersiveengineering:metal:8:6"], //Immersive Engineering
		"customSoundset":[
			{
				"soundName": "unuparts:unuparts_sound_unu_engine_exhaustidle_gasoline",
				"pitchIdle": 1.0,
				"pitchMax": 2.4166,
				"volumeIdle": 1,
				"volumeMax": 0.2
			},
			{
				"soundName": "unuparts:unuparts_sound_unu_engine_running",
				"pitchIdle": 0.5,
				"pitchMax": 1.8125,
				"volumeIdle": 0.1,
				"volumeMax": 2
			}
		]
	},
	
	"rendering": {
		"rotatableModelObjects": [
			{
				"partName": "$fan",
				"rotationPoint": [0.0, 0.0, 0.0],
				"rotationAxis": [0, 0, 1],
				"rotationVariable": "engine_rotation"
			},
			{
				"partName": "$engine",
				"rotationPoint": [0.0, 0.001, 0.0],
				"rotationAxis": [0, 0, 1],
				"rotationVariable": "engine_rotation"
			},
			{
				"partName": "$engine",
				"rotationPoint": [0.0, -0.001, 0.0],
				"rotationAxis": [0, 0, -1],
				"rotationVariable": "engine_rotation"
			}
		]
	}
}
