{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:display_context",
    "cases": [
      {
        "when": "gui",
        "model": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "minecraft:item/enchanted_golden_apple"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/misc_outlines/enchanted_golden_apple"
        }
      ]
    }
      }
    ],
    "fallback": {
      "type": "minecraft:condition",
      "property": "minecraft:using_item",
      "on_false": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "minecraft:item/enchanted_golden_apple"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/misc_outlines/enchanted_golden_apple"
        }
      ]
    },
      "on_true": {
        "type": "minecraft:range_dispatch",
        "property": "minecraft:use_duration",
        "remaining": true,
        "scale": 0.048,
        "entries": [
          {
            "model": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "eatinganimation:golden_apple_eating_2"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/theones_outlines/golden_apple_eating_2"
        }
      ]
            },
            "threshold": 0.35
          },
          {
            "model": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "eatinganimation:golden_apple_eating_1"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/theones_outlines/golden_apple_eating_1"
        }
      ]
            },
            "threshold": 0.42
          },
          {
            "model": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "eatinganimation:golden_apple_eating_0"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/theones_outlines/golden_apple_eating_0"
        }
      ]
            },
            "threshold": 0.65
          },
          {
            "model": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "minecraft:item/enchanted_golden_apple"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/misc_outlines/enchanted_golden_apple"
        }
      ]
    },
            "threshold": 1.0
          }
        ],
        "fallback": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "eatinganimation:golden_apple_eating_2"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/theones_outlines/golden_apple_eating_2"
        }
      ]
            }
      }
    }
  }
}