{
  "description": {
    "translate": "",
    "fallback": "Restore Hunger"
  },
  "supported_items": "#minecraft:leg_armor",
    "weight": 1,
    "max_level": 1,
    "min_cost": {
      "base": 999999,
      "per_level_above_first": 999
    },
    "max_cost": {
      "base": 999999,
      "per_level_above_first": 9999
    },
    "anvil_cost": 9999,
  "slots": [
    "legs"
  ],
  "effects": {
    "minecraft:location_changed": [
      {
        "requirements": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "movement": {
                "speed": {
                  "min": 3
                }
              },
              "periodic_tick": 30
            }
          },
          {
            "condition": "minecraft:entity_scores",
            "entity": "this",
            "scores": {
              "mt.food": {
                "max": 17
              }
            }
          }
        ],
        "effect": {
          "type": "minecraft:all_of",
          "effects": [
            {
              "type": "minecraft:apply_mob_effect",
              "to_apply": "minecraft:saturation",
              "min_duration": 0.05,
              "max_duration": 0.05,
              "min_amplifier": 1,
              "max_amplifier": 1
            },
            {
              "type": "minecraft:play_sound",
              "sound": {
                "sound_id": "entity.generic.eat",
                "range": 10
              },
              "volume": 0.25,
              "pitch": 1
            }
          ]
        }
      }
    ]
  }
}