{
	code: "bamboo",
	class: "BlockBamboo",
	behaviorsByType: {
		"bamboo-grown-*": [{name: "PushEventOnBlockBroken",	properties: {eventName: "testForDecay"}}]
	},
	variantgroups: [
		{ code: "type", states: ["grown", "placed"] },
		{ code: "color", states: ["brown", "green"] },
		{ code: "part", states: ["segment1", "segment2", "segment3"] },
	],
	creativeinventory: { "general": ["bamboo-placed-*"], "flora": ["bamboo-placed-*"] },
	attributesByType: {
		"bamboo-grown-*": {
			preventsDecay: true,
			overrideRandomDrawOffset: 5,
			treeFellingGroupCodeByType: {
				"*-grown-*": "bamboo-{color}"
			},
			treeFellingGroupSpreadIndexByType: {
				"*-segment1": 3,
				"*-segment2": 2,
				"*-segment3": 1
			}
		},
		"*": {
			overrideRandomDrawOffset: 5,
			treeFellingGroupCodeByType: {
				"*-grown-*": "bamboo-{color}"
			}
		}
	},
	randomDrawOffset: true,
	randomizeRotations: true,
	lod0Shape: { base: "block/plant/bamboo/{color}/{part}lod0-*" },
	shape: { base: "block/plant/bamboo/{color}/{part}-*" },
	shapeInventory: { base: "block/plant/bamboo/{color}/{part}-1", overlays: [{ base: "block/plant/bamboo/{color}/{part}lod0-1" }] },
	blockmaterial: "Wood",
	requiredMiningTier: 1,
	randomizeAxes: "xz",
	vertexFlags: {

	},
	sideopaque: {
		all: false
	},
	sidesolid: {
		all: false
	},
	combustibleProps: {
		burnTemperature: 700,
		burnDuration: 10,
	},
	replaceable: 600,
	lightAbsorption: 0,
	resistance: 2,
	collisionbox: { x1: 0.125, z1: 0.125, x2: 0.875, y2: 1, z2: 0.875 },
	selectionboxByType: {
		"*-segment3": { x1: 0, y1: 0, z1: 0, x2: 1, y2: 1, z2: 1 },
		"*": { x1: 0.125, y1: 0, z1: 0.125, x2: 1, y2: 1, z2: 0.875 }
	},
	rainPermeable: true,
	materialDensity: 200,
	dropsByType: {
		"*-segment1": [ { type: "item", code: "bamboostakes", quantity: { avg: 1 }  } ],
		"*": [ { type: "item", code: "bamboostakes", quantity: { avg: 1 }  }, { type: "block", code: "sapling-{color}bamboo-free", quantity: { avg: 0.08 }  } ],
	},
	sounds: {
		"place": "block/planks",
		"walk": "walk/wood",
		"hit": "block/planks",
		"break": "block/planks",
		byTool: {
			"Axe": { hit: "block/chop", break: "block/planks" }
		}
	},
	frostable: true,
}
