Download After Taste — Minecraft Mods — MetaMods

After Taste

Active

Downloads

0

Last update

5 years ago
Client
Food

After Taste is a Minecraft 1.15.2 Forge mod designed specifically for modpack creators. You will need to create a datapack or use tools like The Loader.

With After Taste, you can assign potion effects to items using system tags. This primarily applies to food, but works with any items that trigger the LivingEntityUseItemEvent.Finish event. Since the system is tag-based, changes affect all instances of tagged items. Effects are processed as recipes and are synchronized between the server and client upon connection, allowing you to customize special effects for your server.

For example, you can make all fish from the "minecraft:fishes" tag grant the Water Breathing effect for 5 minutes. To do this, you need to add a recipe:

{
  "type": "aftertaste:food_effect",
  "itemTag": "minecraft:fishes",
  "effects": {
    "name": "minecraft:water_breathing",
    "duration": 6000
  }
}

The 'effects' parameter can be either a JSON object or an array. Additionally, extra parameters are supported for fine-tuning effects:

  • "amp": 0 (default: 0)
  • "ambient": false (default: false)
  • "particles": true (default: true)
Project members
mallrat208

mallrat208

Created: 6 Sep 2020

ID: 73436