{
  "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.target_when_pushed",
  "description": "Allows an entity to select a valid target entity that pushed it.",
  "type": "object",
  "title": "Target When Pushed",
  "additionalProperties": false,
  "required": [],
  "properties": {
    "priority": {
      "$ref": "types/priority.json"
    },
    "entity_types": {
      "title": "Entity Types",
      "$ref": "../types/entity_types.json",
      "description": "The list of conditions the other entity must meet to be a valid target."
    },
    "percent_chance": {
      "title": "Percent Chance",
      "type": "number",
      "default": 5.0,
      "description": "Probability that the entity will target the entity that pushed it."
    }
  },
  "examples": [
    {
      "percent_chance": 5.0,
      "entity_types": []
    }
  ]
}
