This commit is contained in:
Pyritie 2025-07-07 01:46:24 +01:00
commit 036bbf0f04
5 changed files with 3931 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -270,6 +270,10 @@ const registerTFCItemTags = (event) => {
event.add('c:hidden_from_recipe_viewers', item)
})
global.TFC_HIDDEN_ITEMS.forEach(item => {
event.add('c:hidden_from_recipe_viewers', item)
})
// Удаление тегов у руд
event.removeAllTagsFrom("/tfc:ore/[^*]+/[^*]+/")

View file

@ -577,6 +577,33 @@ global.TFC_DISABLED_ITEMS = [
'tfc:bucket/metal/red_steel'
];
// Items that need to be hidden, but you want to keep their tags.
global.TFC_HIDDEN_ITEMS = [
'tfc:wild_crop/papyrus',
'tfc:wild_crop/pumpkin',
'tfc:wild_crop/melon',
'tfc:wild_crop/red_bell_pepper',
'tfc:wild_crop/yellow_bell_pepper',
'tfc:wild_crop/barley',
'tfc:wild_crop/oat',
'tfc:wild_crop/rye',
'tfc:wild_crop/maize',
'tfc:wild_crop/wheat',
'tfc:wild_crop/rice',
'tfc:wild_crop/beet',
'tfc:wild_crop/cabbage',
'tfc:wild_crop/carrot',
'tfc:wild_crop/garlic',
'tfc:wild_crop/green_bean',
'tfc:wild_crop/potato',
'tfc:wild_crop/onion',
'tfc:wild_crop/soybean',
'tfc:wild_crop/squash',
'tfc:wild_crop/sugarcane',
'tfc:wild_crop/tomato',
'tfc:wild_crop/jute'
];
/**
* Хранит список всех имен типов камней в TFC.
*/

View file

@ -30,6 +30,7 @@ const registerTFGCrops = (event) => {
.seeds('tfg:sunflower_seeds')
.hardness(0.2)
.tagBoth('tfc:wild_crops')
.tagItem('c:hidden_from_recipe_viewers')
event.create('tfg:rapeseed', 'tfc:double_crop')
.translationKey('block.tfg.rapeseed')
@ -57,4 +58,5 @@ const registerTFGCrops = (event) => {
.seeds('tfg:rapeseed_seeds')
.hardness(0.2)
.tagBoth('tfc:wild_crops')
.tagItem('c:hidden_from_recipe_viewers')
}