{
  "format_version": "1.17.0",
  "minecraft:block": {
    "description": {
      "identifier": "rc:magenta_seat",
      "properties": {
      }
    },
    "components": {
      "minecraft:pick_collision": {
        "origin": [ -8, 0, -8],
        "size": [ 16, 8, 16 ]
    },
    "minecraft:entity_collision": {
        "origin": [ -8, 0, -8],
        "size": [ 16, 8, 16 ]
      },
      "minecraft:creative_category": {
				"group": "itemGroup.name.Construction",
				"category": "Construction"
      },
      "minecraft:material_instances": {
        "*": {
          "texture": "magenta_seat",
          "render_method": "alpha_test"
        }
      },
      "minecraft:ticking": {
          "looping": true,
          "range": [0.2, 0.2],
          "on_tick": {
            "event": "stop"
          }
        },
      "minecraft:geometry": "geometry.seat",
      "minecraft:block_light_absorption": 0,
      "minecraft:destroy_time": 0.5,
      "minecraft:on_interact":{
        "event":"ns"
      }
    },
    "events": {
"ns": {
  "sequence": [
    {
    "run_command":{
      "command":["tp @p ~~~"]
      }
    }
  ]
},
"stop":{
  "run_command":{
    "command":["playanimation @p[r=1] animation.player.riding.full"]
    }
      }
    }
  }
}