{
    "format_version": "1.16.0",
    "minecraft:block": {
        "description": {
            "identifier": "furnicraft:sillasplaya_magenta",
            "properties": {
                "furnicraft:face": [ 2, 3, 4, 5 ]
            }
        },
        "components": {
		    "minecraft:creative_category": {
            "group": "itemGroup.name.furnicraft_sillas_playa",
            "category": "items"
		    },
            "minecraft:material_instances": {
                "*": {
                    "texture": "playa_magenta",
                    "render_method": "opaque"
                }
            },
            "minecraft:pick_collision": {
                "origin": [ -8, 0, -8 ],
                "size": [ 16, 16, 16 ]
            },
            "minecraft:geometry": "geometry.sillaplaya",
            "minecraft:destroy_time": 1.0,
			"minecraft:block_light_absorption": 0.5,
                        "minecraft:block_light_emission": 0.2,
			"minecraft:entity_collision":{
			"origin":[ -8.0, 0.0, -8.0 ],
			"size":[ 16, 5, 16 ]
			},           "minecraft:on_player_placing": {
                "event": "furnicraft:sitio"
            },
            "minecraft:on_interact": { 
			"event": "furnicraft:sentar"
			},
            "minecraft:friction": 0.6,
            "minecraft:map_color": "#00ff00",
            "minecraft:flammable": {
                "flame_odds": 0,
                "burn_odds": 0
            }
        },
        "events": {
      "furnicraft:sitio": {
            "set_block_property": {
              "furnicraft:face": "(query.cardinal_player_facing)"
            }
          },
      "furnicraft:sentar": {
            "run_command": {
              "command": [
"summon furnicraft:sentard activate ~ ~-1 ~",
"ride @p start_riding @e[type=furnicraft:sentard,name=activate,c=1] teleport_rider"
            ]
          }
        }
      },
        "permutations": [
            {
                "condition": "query.block_property('furnicraft:face') == 3",
                "components": {
                    "minecraft:rotation": [ 0, 180, 0 ]
                }
            },
            {
                "condition": "query.block_property('furnicraft:face') == 4",
                "components": {
                    "minecraft:rotation": [ 0, 90, 0 ]
                }
            },
            {
                "condition": "query.block_property('furnicraft:face') == 5",
                "components": {
                    "minecraft:rotation": [ 0, 270, 0 ]
                }
            }
        ]
    }
}
