{
	code: "baskettrap",
	class: "BlockBasketTrap",
	entityclass: "BasketTrap",
	behaviors: [
		{name: "Lockable"},
		{name: "UnstableFalling"}
	],
	entityBehaviors: [{ name: "Animatable" }],
	attributes: {
		canStep: false,
		traptype: "small",
		foodTagMinWeight: 0.6,
		baitTransform: {
			translation: { y: 0 },
			scale: 1
		},
		destroyedShape: { base: "block/reed/baskettrap-{material}-broke" },
		trappedShape: { base: "block/reed/baskettrap-{material}-trapped" },
		creatureContainer: { type: "block", code: "stationarybasket-east", attributes: { type: "{material}" } },
		excludeFoodTags: ["nibbleCrop", "sweetBerryBush"],
		destroyedDrops: [
			{	
				type: "item",
				codeByType: {
					"baskettrap-reed": "cattailtops",
					"baskettrap-papyrus": "papyrustops"
				},
				quantity: { avg: 6, var: 2 }
			}
		],
		handbook: {
			groupBy: ["baskettrap-*"]
		},
	},
	variantgroups: [
		{ code: "material", states: ["reed", "papyrus"] }
	],
	shape: { base: "block/reed/baskettrap-{material}-set" },
	creativeinventoryStacks: [
		{
			tabs: ["general", "decorative"],
			stacks: [
				{ type: "block", code: "baskettrap-{material}"},
				{ type: "block", code: "baskettrap-{material}", attributes: { destroyed: true } }
			]
		}
	],
	heldTpIdleAnimation: "holdunderarm",
	blockmaterial: "Wood",
	replaceable: 900,
	resistance: 2,
	lightAbsorption: 0,
	sideAo: { all: false },
	sidesolid: {
		all: false
	},
	sideopaque: {
		all: false
	},
	collisionbox: { x1: 0.125, y1: 0, z1: 0.125, x2: 0.8125, y2: 0.5625, z2: 0.875 },
	selectionbox: { x1: 0.125, y1: 0, z1: 0.125, x2: 0.8125, y2: 0.5625, z2: 0.875 },
	sounds: {
		"place": "block/planks",
		"walk": "walk/wood"
	},
	materialDensity: 600,
	drops: [
		{	
			type: "block",
			code: "stationarybasket-east",
			attributes: { type: "{material}" },
			quantity: { avg: 1, var: 0 }
		},
		{	
			type: "item",
			code: "stick",
			quantity: { avg: 1, var: 0 }
		}
	],
	tpHandTransform: {
		translation: { x: -0.9, y: -0.5, z: -0.3 },
		rotation: { x: 0, y: 90, z: -102 },
		scale: 0.56
	},
	guiTransform: {
		rotation: { x: -22.6, y: 39, z: 0 },
		origin: { x: 0.5, y: 0.4, z: 0.5 },
		scale: 1.3
	},
	groundTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 0, y: -45, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 3.1
	}
}