added tags to turn phantom silk into clothes too

This commit is contained in:
Pyritie 2025-08-02 16:52:18 +01:00
parent 3ed46ca8e6
commit 14bc503908
3 changed files with 14 additions and 0 deletions

View file

@ -249,6 +249,7 @@ ServerEvents.recipes(event => {
registerSpeciesRecipes(event)
registerTACZRecipes(event)
registerTFCRecipes(event)
registerTFCAmbientalRecipes(event)
registerTFCBetterBFRecipes(event)
registerTFCLunchBoxRecipes(event)
registerTFCGroomingStationRecipes(event)

View file

@ -0,0 +1,9 @@
// priority: 0
"use strict";
function registerTFCAmbientalRecipes(event) {
event.replaceInput({ id: 'tfcambiental:crafting/silk_cowl' }, 'tfc:silk_cloth', '#tfg:lightweight_cloth')
event.replaceInput({ id: 'tfcambiental:crafting/silk_shirt' }, 'tfc:silk_cloth', '#tfg:lightweight_cloth')
event.replaceInput({ id: 'tfcambiental:crafting/silk_pants' }, 'tfc:silk_cloth', '#tfg:lightweight_cloth')
event.replaceInput({ id: 'tfcambiental:crafting/silk_shoes' }, 'tfc:silk_cloth', '#tfg:lightweight_cloth')
}

View file

@ -19,4 +19,8 @@ const registerTFCAmbientalItemTags = (event) => {
event.add('minecraft:trimmable_armor', 'tfcambiental:insulated_leather_tunic')
event.add('minecraft:trimmable_armor', 'tfcambiental:insulated_leather_pants')
event.add('minecraft:trimmable_armor', 'tfcambiental:insulated_leather_boots')
event.add('tfg:lightweight_cloth', 'tfc:silk_cloth')
event.add('tfg:lightweight_cloth', 'tfg:phantom_silk')
event.add('tfg:lightweight_cloth', 'tfg:polycaprolactam_fabric')
}