{
	code: "aquatic-seagrass",
	class: "BlockSeaweed",
	variantgroups: [
		{ code: "type", states: ["green", "yellow", "orange", "red"] },
		{ code: "part", states: ["top", "section"] }
	],
	skipVariants: [
		"aquatic-seagrass-green-top",
		"aquatic-seagrass-yellow-top",
		"aquatic-seagrass-orange-top",
		"aquatic-seagrass-red-top"
	],
	creativeinventory: { "general": ["*"], "aquatic": ["*"] },
	// Explicit listing of alternates to ensure that top and section alternate are in the same order
	shapeByType: {
		"*-top": { 
			base: "block/aquatic/plant/waterweed-top1",
			alternates: [
				{ base: "block/aquatic/plant/waterweed-top2" },
				{ base: "block/aquatic/plant/waterweed-top3" },
				{ base: "block/aquatic/plant/waterweed-top4" }
			]
		},
		"*-section":  { 
			base: "block/aquatic/plant/waterweed-stem1",
			alternates: [
				{ base: "block/aquatic/plant/waterweed-stem2" },
				{ base: "block/aquatic/plant/waterweed-stem3" },
				{ base: "block/aquatic/plant/waterweed-stem4" }
			]
		}
	},
	drawtype: "JSONAndWater",
	renderpass: "liquid",
	blockmaterial: "plant",
	faceCullMode: "liquid",
	doNotRenderAtLod2: true,
	randomizeAxes: "xz",
	randomizeRotations: true,
	randomDrawOffset: true,
	textureByType: {
		"aquatic-seagrass-green-section":  { base: "block/plant/aquatic/seagrass-stem1" },
		"*-yellow-section":  { base: "block/plant/aquatic/seagrass-stem2" },
		"*-orange-section":  { base: "block/plant/aquatic/seagrass-stem3" },
		"*-red-section":  { base: "block/plant/aquatic/seagrass-stem4" },
		"*":  { base: "block/plant/aquatic/hornwort" }
	},
	sideopaque: {
		all: false
	},
	vertexFlags: {
		windMode: "WaterPlant"
	},
	sidesolid: {
		all: false
	},
	replaceable: 3000,
	lightAbsorption: 2,
	resistance: 0.5,
	collisionbox: null,
	selectionbox: {
		x1: 0, y1: 0, z1: 0,
		x2: 1, y2: 1, z2: 1
	},
	guiTransform: {
		rotation: { x: 0, y: 0, z: 0 },
		origin: { x: 0.5, y: 0.68, z: 0.5 }
	},
	sounds: {
		place: "block/plant",
		break: "block/plant",
		hit: "block/plant",
		inside: "walk/water"
	},
	rainPermeable: true,
	materialDensity: 200,
	drops: []
}
