90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Animal Food Tags

Change what food animals will eat to fall in love and breed, using datapack item tags. Parrots & Polar Bears which can be breed? Chickens cannibals? You decide!

✅ Features

  • Easy to use through editing item tags via datapacks.
  • Mod Support for any animal added through mods there's a corresponding tag
  • Further configuration allows for namespaces to be respected, and prefixes & suffixes to be changed
  • Server-side, so that only the server needs the mod, not any clients

🏷️ Item Tags

Every animal entity type has a corresponding item tag.
By default this follows the format of #animal_food_tags:<entity_type>_food. So for instance, for a horse this would be #animal_food_tags:horse_food. Please note that the configuration can change the format. In the case a corresponding tag does not exist, vanilla (or modded) behaviour will not be overriden.

📖 Configuration

Configuration can be found in config/animal_food_tags.json.

  • override_namespace: [bool] (default: true)
    • Specifies wether the namespace of the entity type should be overridden to be animal_food_tags.
      Must be either true or false.
  • tag_prefix: [string] (default: "")
    • Specifies the prefix added to the tag.
      Must be either a string only containing characters [a-z0-9_.-].
  • tag_suffix: [string] (default: "_food")
    • Specifies the suffix added to the tag.
      Must be either a string only containing characters [a-z0-9_.-].

Project members

boyonk

Member

Details

Licensed ARR
Published 8 months ago
Updated 8 months ago