Tetra

Tetra

23M Downloads

[Suggestion] Add support for TerraFirmaCraft: The Next Generation and its addons

chemlzh opened this issue ยท 1 comments

commented

Feature description

Why we need support for TFC: TNG and its addons?

TerraFirmaCraft: The Next Generation, a large mod that overhauls and reinvents survival mode, has been updated from 1.12.2 to 1.18.2. It has a variety of metal and alloy ingots, from low-tier metal (like copper, bronze, black bronze, bismuth bronze) to high-tier metal (like steel, black steel, blue & red steel), and these ingots can be forged into tool heads or weapon heads.

In addition, some addons like TFC Metallum U and TFC - Rosia have added more metal ingots either for making machines, or for mod compatibility, which can also be used to make tools and weapons.

If we can modify TFC tools and weapons by Tetra (or use TFC tool/weapon heads as ingredients), it will improve quality of life for TFC players in the early stages, since they can obtain more powerful tools/weapons. And later-stage players can also be benefited, since they can spend some time to improve their tools/weapons even though they reach the final blue/red steel tier.

So what kind of support do we need?

We want our TFC tools/weapons can be modified by Tetra, and tool/weapon heads can be used to craft Tetra tools/weapons. We also want some mechanics in Tetra (like accessory/part enchantment, scrolls, forge hammer) can be compatible with TFC: TNG, without modifying TFC mechanics. Features are listed below.

  1. Tag mapping, so that metal ingots and metalworks from TFC: TNG and its addon can be recognized by Tetra.
  2. Tool/weapon heads (or the whole tool/weapon) from TFC: TNG and its addon can be used to craft Tetra tools/weapons.
  3. When tool/weapon heads (or the whole tool/weapon) are made into Tetra tools/weapons, their forging bonuses are reserved. (Forging boneses can be obtained by working metal ingots on TFC: TNG anvils in a low or minimal amount of steps, see Anvils in TFC: TNG field guide.)
  4. TFC: TNG hammer can be used for Tetra forging, and its working tier depends on TFC: TNG tier.
  5. Accessories support: can use materials from TFC: TNG and its addon to make accessories, and offer players different kinds of buffs/debuffs.
  6. Enchantment support: Although tools/weapons from TFC: TNG and its addon have enchantments, they can't be enchanted by either vanilla ehchantment table or vanilla anvil (since crafting recipes of the two are banned in TFC: TNG). Therefore, we need an alternative route for TFC: TNG tool/weapon enchantment.
  7. Tetra forge hammer can be crafted in TFC: TNG, since TFC: TNG overwrite world generation mechanics, and forge relics(?) in Tetra cannot be generated in TFC: TNG overworld.
  8. Scroll crafting or other obtainment routes in TFC: TNG: similar to suggestion 5, since scrolls can't be obtained in TFC: TNG overworld, and Nether generation is closed by default.

How it improves the player experience

TFC: TNG tools/weapons have little upgrade space, since TFC: TNG has banned enchantment table/anvil, and has not made a tool/weapon modification system. Add compatibility between Tetra and TFC: TNG can give players more choices for upgrading their tools/weapons, thus improving QoL.

Tetra synergies

  1. TFC: TNG has provided a variety of metal and alloy ingot, along with a realistic metal working mechanics for tool/weapon crafting, which make up the pre-modification part of Tetra, and make tool/weapon crafting more interesting and challenging.
  2. TFC: TNG has a variety of tool/weapon. At current version, it has pickaxe, propick, axe, shovel, hoe, chisel, hammer, saw, javelin, sword, mace, knife, scythe and shears(similar to scissors). It also has sheild and armor. Combine them properly can obtain more kinds of Tetra tools.
commented

You can already add support for tool/weapon heads/crafting, materials, and structures as it stands. Enchantments also work via Tetra workbenches as well (or via Enchantment tables if you enable them or add a mod that enables them such as Enchanting with TFC. Tool/weapon crafting/replacement and materials all already use datapacks via Tetra. Structures uses biome tags which can be added to TFC biomes (or Tetra structures) via datapacks.

So far the only main blockers I have ran into are:

  • Use Tetra tools for tool specific things like tree felling, TFC anvils, and scraping (there is a hacky workaround for this, but not ideal)
  • Keeping forging bonuses

The forging bonus is just an NBT tag, so that is pretty easy to add, but it only seems to work with tool from TFC tools. So there would need to be some code to read and apply the NBT tag to the item.