{
  "fields": [
    {
      "id": "duration",
      "title": "Duration",
      "description": "Amount of time in seconds that the mob reacts.",
      "defaultValue": 1,
      "dataType": 3,
      "samples": {
        "/vanilla/behavior_pack/entities/villager_v2.json": [
          {
            "path": "/minecraft:entity/components/minecraft:behavior.hide/",
            "content": 30
          }
        ]
      }
    },
    {
      "id": "poi_type",
      "title": "Poi Type",
      "description": "Defines what POI type to hide at.",
      "dataType": 2,
      "samples": {
        "/vanilla/behavior_pack/entities/villager_v2.json": [
          {
            "path": "/minecraft:entity/components/minecraft:behavior.hide/",
            "content": "bed"
          }
        ]
      }
    },
    {
      "id": "speed_multiplier",
      "title": "Speed Multiplier",
      "description": "Movement speed multiplier of the mob when using this AI Goal",
      "defaultValue": 1,
      "dataType": 3,
      "samples": {
        "/vanilla/behavior_pack/entities/villager_v2.json": [
          {
            "path": "/minecraft:entity/components/minecraft:behavior.hide/",
            "content": 0.8
          }
        ]
      }
    },
    {
      "id": "timeout_cooldown",
      "title": "Timeout Cooldown",
      "description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.",
      "defaultValue": 8,
      "dataType": 3
    },
    {
      "id": "priority",
      "title": "Priority",
      "hideSamples": true,
      "description": "As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.",
      "dataType": 0
    }
  ],
  "note": "Requires a point of interest to be set in order to work properly.",
  "description": "Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.",
  "title": "Hide Behavior",
  "samples": {
    "/vanilla/behavior_pack/entities/villager_v2.json": [
      {
        "path": "/minecraft:entity/components/minecraft:behavior.hide/",
        "content": {
          "priority": 0,
          "speed_multiplier": 0.8,
          "poi_type": "bed",
          "duration": 30
        }
      }
    ]
  },
  "id": "minecraft:behavior.hide"
}