{
	code: "woodenrails",
	class: "BlockRails",
	behaviors: [ {name: "Unstable"} ],
	attributes: {
		handbook: {
			groupBy: ["woodenrails-*"],
			exclude: true
		},
	},
	variantgroups: [
		{ code: "type", states: ["curved_es", "curved_sw", "curved_wn", "curved_ne", "flat_ns", "flat_we", "raised_ns", "raised_we"] }
	],
	creativeinventory: { "general": ["woodenrails-flat_ns"], "decorative": ["woodenrails-flat_ns"] },
	shapeByType: {
		"*-curved_sw": { base: "block/wood/rails/curved_es", rotateY: 270 },
		"*-curved_wn": { base: "block/wood/rails/curved_es", rotateY: 180 },
		"*-curved_ne": { base: "block/wood/rails/curved_es", rotateY: 90 },
		"*-flat_we":  { base: "block/wood/rails/flat_ns", rotateY: 90 },
		"*-raised_we":  { base: "block/wood/rails/raised_ns", rotateY: 90 },
		"*": { base: "block/wood/rails/{type}" },
	},
	blockmaterial: "Wood",
	textures: {
		wood: { base: "block/wood/planks/generic" },
	},
	sidesolid: {
		all: false
	},
	sideopaque: {
		all: false
	},
	resistance: 0.5,
	lightAbsorption: 0,
	collisionbox: null,
	selectionbox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.125, z2: 1 },
	sounds: {
		"place": "block/planks",
		"hit": "block/planks",
		"break": "block/planks",
		"walk": "walk/wood"
	},
	guiTransform: {
		translation: { x: 0, y: 2, z: 0 },
		origin: { x: 0.5, y: 0.0625, z: 0.5 },
		scale: 1.3
	},
	tpHandTransform: {
		translation: { x: -1.2, y: -0.4, z: -1.3 },
		rotation: { x: -68, y: 0, z: 0 },
		origin: { x: 0.5, y: 0.1, z: 0.5 },
		scale: 0.4
	},
	groundTransform: {
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 2
	},
}
