Meat (Item Condition Type)

Passes when the item is meat.

Passes when the stack is edible and counts as meat — the same set of foods a wolf will accept.

Type ID: apoli:meat

Fields

This type has no fields.

Example

A vegetarian origin that cannot bring itself to eat meat:

{
  "type": "apoli:prevent_item_use",
  "item_condition": {
    "type": "apoli:meat"
  }
}

Or the reverse — a carnivore who gets nothing out of anything else:

{
  "type": "apoli:modify_food",
  "item_condition": {
    "type": "apoli:meat",
    "inverted": true
  },
  "food_modifier": { "operation": "set_total", "value": 0 },
  "saturation_modifier": { "operation": "set_total", "value": 0 }
}

On 1.21.1 this matches the c:foods/meat convention tag as well as vanilla’s meat items, so items added by other mods that tag themselves correctly are included.