{
  "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.lay_egg",
  "description": "Allows the mob to lay an egg block on a sand block if the mob is pregnant.",
  "type": "object",
  "title": "Lay Egg 1.8.0",
  "additionalProperties": false,
  "required": [],
  "properties": {
    "priority": { "$ref": "types/priority.json" },
    "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
    "goal_radius": {
      "type": "number",
      "default": 0.5,
      "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
      "title": "Goal Radius"
    },
    "on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "On Lay" },
    "search_height": {
      "type": "integer",
      "default": 1,
      "description": "Height in blocks the mob will look for sand block to move towards",
      "title": "Search Height"
    },
    "search_range": {
      "type": "integer",
      "default": 0,
      "description": "The distance in blocks it will look for a sand block to move towards",
      "title": "Search Range"
    }
  }
}
