Starter Pack

Here, take this! It’s a great place to start from. It doesn’t have anything in it yet, but it has a good folder structure to start with for following along with this documentation, as well as a starter pack.mcmeta so you don’t forget that.

friends_forever_starter.zip

Feed Interaction Recipes

In order to add a new food that will grant affection when fed to a Pokémon, create a new JSON file in the /data/friends_forever/feed_interaction directory of your addon.

{
  "food": {
    "item": "cobblemon:berry_sweet"
  },
  "baseAffection": 15,
  "flavors": [
    {
      "flavor": "BITTER"
    },
    {
      "flavor": "SOUR"
    }
  ],
  "blacklist": [
    "alcremie"
  ]
}

Properties

food

An entry made of a single ingredient or a list of acceptable ingredients. Can be one of an ID, a tag with #, or an array containing IDs.

baseAffection

The base amount of affection this food grants when fed to a Pokémon.

This is used in combination with flavors as described in Pokémon gaining affection.

flavors

A list of flavors attributed to this food, each with a strength to go with them. The flavor must be one of the Pokémon flavors (SPICY, DRY, SWEET, BITTER, or SOUR). The strength is a proportion for that flavor’s effect on the food overall.

This is used in combination with baseAffection as described in Pokémon gaining affection.

blacklist

A list of PokemonProperties or labels that, if matched by the Pokémon being fed, will cause this recipe to not be eligible for that feeding.

whitelist

A list of PokemonProperties or labels that must be matched by the Pokémon being fed in order for this recipe to be eligible for that feeding.