{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:chest_boat",
      "is_experimental": false,
      "is_summonable": true,
      "is_spawnable": false,
      "spawn_category": "misc"
    },
    "components": {
      "minecraft:balloonable": {},
      "minecraft:buoyant": {
        "apply_gravity": true,
        "base_buoyancy": 1.0,
        "big_wave_probability": 0.03,
        "big_wave_speed": 10.0,
        "liquid_blocks": [
          "minecraft:water",
          "minecraft:flowing_water"
        ],
        "simulate_waves": true
      },
      "minecraft:collision_box": {
        "height": 0.455,
        "width": 1.4
      },
      "minecraft:conditional_bandwidth_optimization": {
        "conditional_values": [
          {
            "conditional_values": [
              {
                "operator": "==",
                "test": "is_moving",
                "subject": "self",
                "value": true
              }
            ],
            "max_dropped_ticks": 0,
            "max_optimized_distance": 0.0,
            "use_motion_prediction_hints": true
          }
        ],
        "default_values": {
          "max_dropped_ticks": 20,
          "max_optimized_distance": 60.0,
          "use_motion_prediction_hints": true
        }
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "cause": "lava",
            "damage_per_tick": 4,
            "filters": {
              "operator": "==",
              "test": "in_lava",
              "subject": "self",
              "value": true
            }
          }
        ]
      },
      "minecraft:inside_block_notifier": {
        "block_list": [
          {
            "block": {
              "name": "minecraft:bubble_column",
              "states": {
                "drag_down": true
              }
            },
            "entered_block_event": {
              "event": "minecraft:entered_bubble_column_down",
              "target": "self"
            },
            "exited_block_event": {
              "event": "minecraft:exited_bubble_column",
              "target": "self"
            }
          },
          {
            "block": {
              "name": "minecraft:bubble_column",
              "states": {
                "drag_down": false
              }
            },
            "entered_block_event": {
              "event": "minecraft:entered_bubble_column_up",
              "target": "self"
            },
            "exited_block_event": {
              "event": "minecraft:exited_bubble_column",
              "target": "self"
            }
          }
        ]
      },
      "minecraft:inventory": {
        "can_be_siphoned_from": true,
        "inventory_size": 27,
        "container_type": "chest_boat"
      },
      "minecraft:is_collidable": {},
      "minecraft:is_stackable": {},
      "minecraft:leashable": {
        "can_be_cut": false,
        "can_be_stolen": false,
        "on_unleash_interact_only": true,
        "presets": [
          {
            "hard_distance": 6.0,
            "max_distance": 10.0,
            "spring_type": "bouncy",
            "soft_distance": 4.0
          }
        ]
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:rideable": {
        "interact_text": "action.interact.ride.boat",
        "pull_in_entities": true,
        "seat_count": 1,
        "seats": [
          {
            "lock_rider_rotation": 90,
            "min_rider_count": 0,
            "max_rider_count": 1,
            "position": [
              0.2,
              -0.2,
              0.0
            ],
            "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0"
          }
        ]
      },
      "minecraft:type_family": {
        "family": [
          "boat",
          "inanimate"
        ]
      }
    },
    "component_groups": {
      "minecraft:above_bubble_column_down": {
        "minecraft:buoyant": {
          "apply_gravity": true,
          "base_buoyancy": 1.0,
          "drag_down_on_buoyancy_removed": 0.7,
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water"
          ],
          "simulate_waves": false
        },
        "minecraft:out_of_control": {},
        "minecraft:timer": {
          "looping": false,
          "time": 3,
          "time_down_event": {
            "event": "minecraft:sink",
            "target": "self"
          }
        }
      },
      "minecraft:above_bubble_column_up": {
        "minecraft:buoyant": {
          "apply_gravity": true,
          "base_buoyancy": 1.0,
          "drag_down_on_buoyancy_removed": 0.7,
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water"
          ],
          "simulate_waves": false
        },
        "minecraft:out_of_control": {}
      },
      "minecraft:can_ride": {
        "minecraft:rideable": {
          "interact_text": "action.interact.ride.boat",
          "pull_in_entities": true,
          "seat_count": 1,
          "seats": [
            {
              "lock_rider_rotation": 90,
              "min_rider_count": 0,
              "max_rider_count": 1,
              "position": [
                0.2,
                -0.2,
                0.0
              ],
              "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0"
            }
          ]
        }
      },
      "minecraft:floating": {
        "minecraft:buoyant": {
          "apply_gravity": true,
          "base_buoyancy": 1.0,
          "big_wave_probability": 0.03,
          "big_wave_speed": 10.0,
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water"
          ],
          "simulate_waves": true
        }
      }
    },
    "events": {
      "minecraft:entered_bubble_column_down": {
        "add": {
          "component_groups": [
            "minecraft:above_bubble_column_down"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:floating"
          ]
        }
      },
      "minecraft:exited_bubble_column": {
        "add": {
          "component_groups": [
            "minecraft:floating",
            "minecraft:can_ride"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:above_bubble_column_down",
            "minecraft:above_bubble_column_up"
          ]
        }
      },
      "minecraft:entered_bubble_column_up": {
        "add": {
          "component_groups": [
            "minecraft:above_bubble_column_up"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:floating"
          ]
        }
      },
      "minecraft:sink": {
        "remove": {
          "component_groups": [
            "minecraft:floating",
            "minecraft:can_ride",
            "minecraft:above_bubble_column_down",
            "minecraft:above_bubble_column_up"
          ]
        }
      }
    }
  }
}