{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:ghast",
      "materials": { "default": "ghast" },
      "textures": {
        "default": "textures/entity/ghast/ghast2",
        "shooting": "textures/entity/ghast/ghast_shooting2"
      },
      "geometry": {
        "default": "geometry.ghast"
      },
      "scripts": {
        "pre_animation": [ "variable.Xvar = (variable.Xvar ?? Math.random(0,999));" ]
      },
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 19
      },
      "animations": {
        "move": "animation.ghast.move",
        "scale": "animation.ghast.scale"
      },
      "animation_controllers": [
        { "move": "controller.animation.ghast.move" },
        { "scale": "controller.animation.ghast.scale" }
      ],
      "render_controllers": [ "controller.render.ghast" ]
    }
  }
}