Download Tag Alias — Minecraft Mods — MetaMods

Tag Alias

Active

Downloads

0

Last update

3 years ago
Client
Libraries

Tag Alias

A small library for mod developers that provides the ability to create aliases for tags. This feature allows combining multiple tags with different names into a single content set.

How it works

Imagine you have two tags: test_a and test_b with the following content:

{
  "replace": false,
  "values": [
    "minecraft:diamond_block"
  }
}
{
  "replace": false,
  "values": [
    "minecraft:emerald_block"
  }
}

After creating an alias, both tags will functionally contain combined elements:

{
  "replace": false,
  "values": [
    "minecraft:diamond_block",
    "minecraft:emerald_block"
  }
}

This library significantly simplifies tag management in mods, allowing developers to create flexible compatibility systems between different modifications.

Project members
gudenau

gudenau

Created: 1 Jul 2022

ID: 37528