{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.dds_camping.sleep": {
			"states": {
				"default": {
					"transitions": [
						{
							"night": "q.skin_id == 1"
						},
						{
							"day": "q.skin_id == 2"
						}
					]
				},
				"night": {
					"transitions": [
						{
							"default": "q.skin_id != 1"
						}
					],
					"on_entry": [
						"/tag @p add dds_camping_sleep"
					]
				},
				"day": {
					"transitions": [
						{
							"default": "q.skin_id != 2"
						}
					],
					"on_entry": [
						"/tellraw @p {\"rawtext\":[{\"text\":\"§7You can only sleep at night or during thunderstorms\"}]}",
						"@s dds_camping:reset_variant_day"
					]
				}
			}
		}
	}
}
