{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "ldz:magic_barrier",
			"materials": {
				"default": "entity_alphablend_no_culling"
			},
			"textures": {
				"default": "textures/entity/magic_barrier/default"
			},
			"geometry": {
				"default": "geometry.magic_barrier"
			},
			"sound_effects": {
				"spawn": "entity.magic_barrier.spawn"
			},
			"animations": {
				"appear": "animation.magic_barrier.appear",
				"disappear": "animation.magic_barrier.disappear",
				"frames": "animation.magic_barrier.frames",
				"neg_x": "animation.magic_barrier.neg_x",
				"neg_z": "animation.magic_barrier.neg_z",
				"pos_x": "animation.magic_barrier.pos_x",
				"pos_z": "animation.magic_barrier.pos_z",
				"rotate_90": "animation.magic_barrier.rotate_90"
			},
			"scripts": {
				"animate": [
					{ "appear": "q.property('ldz:barrier') == 'appear'"},
					{ "disappear": "q.property('ldz:barrier') == 'disappear'"},
					"frames",
					{ "rotate_90": "q.variant == 1" },
					{ "pos_x": "q.variant == 2" },
					{ "neg_x": "q.variant == 3" },
					{ "pos_z": "q.variant == 4" },
					{ "neg_z": "q.variant == 5" }
				]
			},
			"render_controllers": [
				"controller.render.default"
			]
		}
	}
}