Реврайт готов
This commit is contained in:
parent
91c7141d18
commit
94a2d7af2e
54 changed files with 2452 additions and 1571 deletions
|
|
@ -1 +0,0 @@
|
||||||
// priority: 200
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const hideCreateStuff = (event) => {
|
|
||||||
createItemsToHide.forEach(itemToHide => {
|
|
||||||
event.hide(itemToHide)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
// priority: 199
|
|
||||||
|
|
||||||
const extendedCraftingItemsToHide = [
|
|
||||||
"extendedcrafting:singularity",
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const hideExtendedCraftingStuff = (event) => {
|
|
||||||
extendedCraftingItemsToHide.forEach(itemToHide => {
|
|
||||||
event.hide(itemToHide)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
@ -1,23 +1,23 @@
|
||||||
// priority: 199
|
// priority: 1
|
||||||
|
|
||||||
REIEvents.hide('item', event => {
|
REIEvents.hide('item', event => {
|
||||||
hideGTStuff(event)
|
|
||||||
hideTFCStuff(event)
|
|
||||||
hideCreateStuff(event)
|
|
||||||
hideMinecraftStuff(event)
|
hideMinecraftStuff(event)
|
||||||
|
hideTFCStuff(event)
|
||||||
|
hideGTCEUStuff(event)
|
||||||
|
hideCreateStuff(event)
|
||||||
hideExtendedCraftingStuff(event)
|
hideExtendedCraftingStuff(event)
|
||||||
hideSBStuff(event)
|
hideSophisticatedBackpacksStuff(event)
|
||||||
hideMoreRedStuff(event)
|
hideMoreRedStuff(event)
|
||||||
hideSmallShipsStuff(event)
|
hideSmallShipsStuff(event)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
REIEvents.groupEntries(event => {
|
REIEvents.groupEntries(event => {
|
||||||
groupGTStuff(event)
|
groupGTCEUStuff(event)
|
||||||
groupTFCStuff(event)
|
groupTFCStuff(event)
|
||||||
})
|
})
|
||||||
|
|
||||||
REIEvents.removeCategories(event => {
|
REIEvents.removeCategories(event => {
|
||||||
registerGTCategories(event)
|
registerGTCEUCategories(event)
|
||||||
registerMoreRedCategories(event)
|
registerMoreRedCategories(event)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -1,261 +0,0 @@
|
||||||
// priority: 199
|
|
||||||
|
|
||||||
const minecraftItemsToHide = [
|
|
||||||
// Regular blocks
|
|
||||||
|
|
||||||
/*
|
|
||||||
'minecraft:dark_oak_planks',
|
|
||||||
'minecraft:mangrove_planks',
|
|
||||||
'minecraft:crimson_planks',
|
|
||||||
'minecraft:warped_planks',
|
|
||||||
'minecraft:stone',
|
|
||||||
'minecraft:granite',
|
|
||||||
'minecraft:polished_granite',
|
|
||||||
'minecraft:diorite',
|
|
||||||
'minecraft:polished_diorite',
|
|
||||||
'minecraft:andesite',
|
|
||||||
'minecraft:polished_andesite',
|
|
||||||
'minecraft:deepslate',
|
|
||||||
'minecraft:cobbled_deepslate',
|
|
||||||
'minecraft:polished_deepslate',
|
|
||||||
'minecraft:calcite',
|
|
||||||
'minecraft:tuff',
|
|
||||||
'minecraft:dripstone_block',
|
|
||||||
'minecraft:grass_block',
|
|
||||||
'minecraft:dirt',
|
|
||||||
'minecraft:coarse_dirt',
|
|
||||||
'minecraft:podzol',
|
|
||||||
'minecraft:rooted_dirt',
|
|
||||||
'minecraft:crimson_nylium',
|
|
||||||
'minecraft:warped_nylium',
|
|
||||||
'minecraft:cobblestone',
|
|
||||||
'minecraft:oak_planks',
|
|
||||||
'minecraft:spruce_planks',
|
|
||||||
'minecraft:birch_planks',
|
|
||||||
'minecraft:jungle_planks',
|
|
||||||
'minecraft:acacia_planks',
|
|
||||||
'minecraft:cherry_planks',
|
|
||||||
'minecraft:stripped_cherry_log',
|
|
||||||
'minecraft:stripped_dark_oak_log',
|
|
||||||
'minecraft:stripped_mangrove_log',
|
|
||||||
'minecraft:stripped_crimson_stem',
|
|
||||||
'minecraft:stripped_warped_stem',
|
|
||||||
'minecraft:stripped_oak_wood',
|
|
||||||
'minecraft:stripped_spruce_wood',
|
|
||||||
'minecraft:stripped_birch_wood',
|
|
||||||
'minecraft:stripped_jungle_wood',
|
|
||||||
'minecraft:oak_sapling',
|
|
||||||
'minecraft:spruce_sapling',
|
|
||||||
'minecraft:birch_sapling',
|
|
||||||
'minecraft:jungle_sapling',
|
|
||||||
'minecraft:acacia_sapling',
|
|
||||||
'minecraft:cherry_sapling',
|
|
||||||
'minecraft:dark_oak_sapling',
|
|
||||||
'minecraft:mangrove_propagule',
|
|
||||||
'minecraft:suspicious_gravel',
|
|
||||||
'minecraft:budding_amethyst',
|
|
||||||
'minecraft:netherite_block',
|
|
||||||
'minecraft:oak_log',
|
|
||||||
'minecraft:spruce_log',
|
|
||||||
'minecraft:birch_log',
|
|
||||||
'minecraft:jungle_log',
|
|
||||||
'minecraft:acacia_log',
|
|
||||||
'minecraft:cherry_log',
|
|
||||||
'minecraft:dark_oak_log',
|
|
||||||
'minecraft:mangrove_log',
|
|
||||||
'minecraft:mangrove_roots',
|
|
||||||
'minecraft:crimson_stem',
|
|
||||||
'minecraft:warped_stem',
|
|
||||||
'minecraft:stripped_oak_log',
|
|
||||||
'minecraft:stripped_spruce_log',
|
|
||||||
'minecraft:stripped_birch_log',
|
|
||||||
'minecraft:stripped_jungle_log',
|
|
||||||
'minecraft:stripped_acacia_log',
|
|
||||||
'minecraft:stripped_acacia_wood',
|
|
||||||
'minecraft:stripped_cherry_wood',
|
|
||||||
'minecraft:stripped_dark_oak_wood',
|
|
||||||
'minecraft:stripped_mangrove_wood',
|
|
||||||
'minecraft:stripped_crimson_hyphae',
|
|
||||||
'minecraft:stripped_warped_hyphae',
|
|
||||||
'minecraft:oak_wood',
|
|
||||||
'minecraft:spruce_wood',
|
|
||||||
'minecraft:birch_wood',
|
|
||||||
'minecraft:jungle_wood',
|
|
||||||
'minecraft:acacia_wood',
|
|
||||||
'minecraft:cherry_wood',
|
|
||||||
'minecraft:dark_oak_wood',
|
|
||||||
'minecraft:mangrove_wood',
|
|
||||||
'minecraft:crimson_hyphae',
|
|
||||||
'minecraft:warped_hyphae',
|
|
||||||
'minecraft:oak_leaves',
|
|
||||||
'minecraft:spruce_leaves',
|
|
||||||
'minecraft:birch_leaves',
|
|
||||||
'minecraft:jungle_leaves',
|
|
||||||
'minecraft:acacia_leaves',
|
|
||||||
'minecraft:cherry_leaves',
|
|
||||||
'minecraft:dark_oak_leaves',
|
|
||||||
'minecraft:mangrove_leaves',
|
|
||||||
'minecraft:azalea_leaves',
|
|
||||||
'minecraft:flowering_azalea_leaves',
|
|
||||||
'minecraft:warped_fungus',
|
|
||||||
'minecraft:crimson_fungus',
|
|
||||||
'minecraft:dead_bush',
|
|
||||||
'minecraft:flowering_azalea',
|
|
||||||
'minecraft:azalea',
|
|
||||||
'minecraft:fern',
|
|
||||||
'minecraft:grass',
|
|
||||||
'minecraft:weeping_vines',
|
|
||||||
'minecraft:nether_sprouts',
|
|
||||||
'minecraft:spore_blossom',
|
|
||||||
'minecraft:pitcher_plant',
|
|
||||||
'minecraft:oxeye_daisy',
|
|
||||||
'minecraft:orange_tulip',
|
|
||||||
'minecraft:red_tulip',
|
|
||||||
'minecraft:azure_bluet',
|
|
||||||
'minecraft:twisting_vines',
|
|
||||||
'minecraft:warped_roots',
|
|
||||||
'minecraft:brown_mushroom',
|
|
||||||
'minecraft:torchflower',
|
|
||||||
'minecraft:cornflower',
|
|
||||||
'minecraft:white_tulip',
|
|
||||||
'minecraft:allium',
|
|
||||||
'minecraft:blue_orchid',
|
|
||||||
'minecraft:sugar_cane',
|
|
||||||
'minecraft:crimson_roots',
|
|
||||||
'minecraft:red_mushroom',
|
|
||||||
'minecraft:wither_rose',
|
|
||||||
'minecraft:lily_of_the_valley',
|
|
||||||
'minecraft:pink_tulip',
|
|
||||||
'minecraft:poppy',
|
|
||||||
'minecraft:dandelion',
|
|
||||||
'minecraft:oak_slab',
|
|
||||||
'minecraft:spruce_slab',
|
|
||||||
'minecraft:birch_slab',
|
|
||||||
'minecraft:jungle_slab',
|
|
||||||
'minecraft:acacia_slab',
|
|
||||||
'minecraft:cherry_slab',
|
|
||||||
'minecraft:dark_oak_slab',
|
|
||||||
'minecraft:mangrove_slab',
|
|
||||||
'minecraft:crimson_slab',
|
|
||||||
'minecraft:warped_slab',
|
|
||||||
'minecraft:stone_slab',
|
|
||||||
'minecraft:smooth_stone_slab',
|
|
||||||
'minecraft:petrified_oak_slab',
|
|
||||||
'minecraft:cobblestone_slab',
|
|
||||||
'minecraft:brick_slab',
|
|
||||||
'minecraft:stone_brick_slab',
|
|
||||||
'minecraft:nether_brick_slab',
|
|
||||||
'minecraft:purpur_slab',
|
|
||||||
'minecraft:prismarine_slab',
|
|
||||||
'minecraft:prismarine_brick_slab',
|
|
||||||
'minecraft:dark_prismarine_slab',
|
|
||||||
'minecraft:smooth_stone',*/
|
|
||||||
|
|
||||||
'minecraft:bookshelf',
|
|
||||||
'minecraft:chiseled_bookshelf',
|
|
||||||
'minecraft:sand',
|
|
||||||
'minecraft:suspicious_sand',
|
|
||||||
'minecraft:red_sand',
|
|
||||||
|
|
||||||
'minecraft:wheat',
|
|
||||||
'minecraft:composter',
|
|
||||||
'minecraft:barrel',
|
|
||||||
'minecraft:blast_furnace',
|
|
||||||
'minecraft:furnace',
|
|
||||||
'minecraft:furnace_minecart',
|
|
||||||
|
|
||||||
'minecraft:anvil',
|
|
||||||
'minecraft:chipped_anvil',
|
|
||||||
'minecraft:damaged_anvil',
|
|
||||||
|
|
||||||
// Ores
|
|
||||||
// Скрыты, но рецепты не удалены, потому что, а зачем, лол
|
|
||||||
'minecraft:netherite_scrap',
|
|
||||||
'minecraft:netherite_ingot',
|
|
||||||
'minecraft:netherite_block',
|
|
||||||
'minecraft:smithing_table',
|
|
||||||
'minecraft:netherite_block',
|
|
||||||
'minecraft:coal_ore',
|
|
||||||
'minecraft:deepslate_coal_ore',
|
|
||||||
'minecraft:iron_ore',
|
|
||||||
'minecraft:deepslate_iron_ore',
|
|
||||||
'minecraft:copper_ore',
|
|
||||||
'minecraft:deepslate_copper_ore',
|
|
||||||
'minecraft:gold_ore',
|
|
||||||
'minecraft:deepslate_gold_ore',
|
|
||||||
'minecraft:redstone_ore',
|
|
||||||
'minecraft:deepslate_redstone_ore',
|
|
||||||
'minecraft:emerald_ore',
|
|
||||||
'minecraft:deepslate_emerald_ore',
|
|
||||||
'minecraft:lapis_ore',
|
|
||||||
'minecraft:deepslate_lapis_ore',
|
|
||||||
'minecraft:diamond_ore',
|
|
||||||
'minecraft:deepslate_diamond_ore',
|
|
||||||
'minecraft:nether_gold_ore',
|
|
||||||
'minecraft:nether_quartz_ore',
|
|
||||||
'minecraft:ancient_debris',
|
|
||||||
|
|
||||||
// Tools
|
|
||||||
'minecraft:wooden_sword',
|
|
||||||
'minecraft:wooden_pickaxe',
|
|
||||||
'minecraft:wooden_axe',
|
|
||||||
'minecraft:wooden_shovel',
|
|
||||||
'minecraft:wooden_hoe',
|
|
||||||
|
|
||||||
'minecraft:stone_sword',
|
|
||||||
'minecraft:stone_pickaxe',
|
|
||||||
'minecraft:stone_axe',
|
|
||||||
'minecraft:stone_shovel',
|
|
||||||
'minecraft:stone_hoe',
|
|
||||||
|
|
||||||
'minecraft:iron_sword',
|
|
||||||
'minecraft:iron_pickaxe',
|
|
||||||
'minecraft:iron_axe',
|
|
||||||
'minecraft:iron_shovel',
|
|
||||||
'minecraft:iron_hoe',
|
|
||||||
|
|
||||||
'minecraft:golden_sword',
|
|
||||||
'minecraft:golden_pickaxe',
|
|
||||||
'minecraft:golden_axe',
|
|
||||||
'minecraft:golden_shovel',
|
|
||||||
'minecraft:golden_hoe',
|
|
||||||
|
|
||||||
'minecraft:diamond_sword',
|
|
||||||
'minecraft:diamond_pickaxe',
|
|
||||||
'minecraft:diamond_axe',
|
|
||||||
'minecraft:diamond_shovel',
|
|
||||||
'minecraft:diamond_hoe',
|
|
||||||
|
|
||||||
'minecraft:netherite_sword',
|
|
||||||
'minecraft:netherite_pickaxe',
|
|
||||||
'minecraft:netherite_axe',
|
|
||||||
'minecraft:netherite_shovel',
|
|
||||||
'minecraft:netherite_hoe',
|
|
||||||
|
|
||||||
// Armor
|
|
||||||
// Horse
|
|
||||||
'minecraft:iron_horse_armor',
|
|
||||||
'minecraft:golden_horse_armor',
|
|
||||||
'minecraft:diamond_horse_armor',
|
|
||||||
// Player
|
|
||||||
'minecraft:netherite_helmet',
|
|
||||||
'minecraft:netherite_chestplate',
|
|
||||||
'minecraft:netherite_leggings',
|
|
||||||
'minecraft:netherite_boots',
|
|
||||||
'minecraft:golden_helmet',
|
|
||||||
'minecraft:golden_chestplate',
|
|
||||||
'minecraft:golden_leggings',
|
|
||||||
'minecraft:golden_boots',
|
|
||||||
'minecraft:iron_helmet',
|
|
||||||
'minecraft:iron_chestplate',
|
|
||||||
'minecraft:iron_leggings',
|
|
||||||
'minecraft:iron_boots',
|
|
||||||
'minecraft:chainmail_helmet',
|
|
||||||
'minecraft:chainmail_chestplate',
|
|
||||||
'minecraft:chainmail_leggings',
|
|
||||||
'minecraft:chainmail_boots',
|
|
||||||
'minecraft:diamond_helmet',
|
|
||||||
'minecraft:diamond_chestplate',
|
|
||||||
'minecraft:diamond_leggings',
|
|
||||||
'minecraft:diamond_boots',
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const hideMinecraftStuff = (event) => {
|
|
||||||
minecraftItemsToHide.forEach(itemToHide => {
|
|
||||||
event.hide(itemToHide)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
7
kubejs/client_scripts/mods/create.js
Normal file
7
kubejs/client_scripts/mods/create.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const hideCreateStuff = (event) => {
|
||||||
|
global.CREATE_DISABLED_ITEMS.forEach(item => {
|
||||||
|
event.hide(item)
|
||||||
|
})
|
||||||
|
}
|
||||||
7
kubejs/client_scripts/mods/extended_crafting.js
Normal file
7
kubejs/client_scripts/mods/extended_crafting.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const hideExtendedCraftingStuff = (event) => {
|
||||||
|
global.EXTENDED_CRAFTING_DISABLED_ITEMS.forEach(item => {
|
||||||
|
event.hide(item)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -1,19 +1,19 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const hideGTStuff = (event) => {
|
const hideGTCEUStuff = (event) => {
|
||||||
// Hide unused GT ores
|
// Hide unused GT ores
|
||||||
GTRegistries.MATERIALS.forEach(material => {
|
GTRegistries.MATERIALS.forEach(material => {
|
||||||
stoneTypesToHide.forEach(stoneTypeName => {
|
global.VANILLA_STONE_TYPES.forEach(stoneTypeName => {
|
||||||
event.hide(`#forge:ores/${stoneTypeName}/${material}`)
|
event.hide(`#forge:ores/${stoneTypeName}/${material}`)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
gtItemsToHide.forEach(item => {
|
global.GTCEU_DISABLED_ITEMS.forEach(item => {
|
||||||
event.hide(item)
|
event.hide(item)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const groupGTStuff = (event) => {
|
const groupGTCEUStuff = (event) => {
|
||||||
event.groupItemsByTag('tfg:rei_groups/dusts/pure', 'Pure Dusts', 'forge:dusts/pure')
|
event.groupItemsByTag('tfg:rei_groups/dusts/pure', 'Pure Dusts', 'forge:dusts/pure')
|
||||||
event.groupItemsByTag('tfg:rei_groups/dusts/impure', 'Impure Dusts', 'forge:dusts/impure')
|
event.groupItemsByTag('tfg:rei_groups/dusts/impure', 'Impure Dusts', 'forge:dusts/impure')
|
||||||
event.groupItemsByTag('tfg:rei_groups/dusts', 'Dusts', 'forge:dusts')
|
event.groupItemsByTag('tfg:rei_groups/dusts', 'Dusts', 'forge:dusts')
|
||||||
|
|
@ -119,6 +119,6 @@ const groupGTStuff = (event) => {
|
||||||
event.groupItems('tfg:rei_groups/buckets', 'Buckets', [/gtceu:.*_bucket/])
|
event.groupItems('tfg:rei_groups/buckets', 'Buckets', [/gtceu:.*_bucket/])
|
||||||
}
|
}
|
||||||
|
|
||||||
const registerGTCategories = (event) => {
|
const registerGTCEUCategories = (event) => {
|
||||||
event.remove('gtceu:primitive_blast_furnace')
|
event.remove('gtceu:primitive_blast_furnace')
|
||||||
}
|
}
|
||||||
7
kubejs/client_scripts/mods/minecraft.js
Normal file
7
kubejs/client_scripts/mods/minecraft.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const hideMinecraftStuff = (event) => {
|
||||||
|
global.MINECRAFT_DISABLED_ITEMS.forEach(item => {
|
||||||
|
event.hide(item)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const hideMoreRedStuff = (event) => {
|
const hideMoreRedStuff = (event) => {
|
||||||
moreRedItemsToHide.forEach(itemToHide => {
|
global.MORE_RED_DISABLED_ITEMS.forEach(item => {
|
||||||
event.hide(itemToHide)
|
event.hide(item)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const hideSmallShipsStuff = (event) => {
|
const hideSmallShipsStuff = (event) => {
|
||||||
global.vanillaWoodTypes.forEach(woodTypeName => {
|
global.VANILLA_WOOD_TYPES.forEach(woodTypeName => {
|
||||||
global.shipTypes.forEach(shipTypeName => {
|
global.SHIP_TYPES.forEach(shipTypeName => {
|
||||||
event.hide(`smallships:${woodTypeName}_${shipTypeName}`)
|
event.hide(`smallships:${woodTypeName}_${shipTypeName}`)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
7
kubejs/client_scripts/mods/sophisticated_backpacks.js
Normal file
7
kubejs/client_scripts/mods/sophisticated_backpacks.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const hideSophisticatedBackpacksStuff = (event) => {
|
||||||
|
global.SOPHISTICATED_BACKPACKS_DISABLED_ITEMS.forEach(item => {
|
||||||
|
event.hide(item)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -2,19 +2,19 @@
|
||||||
|
|
||||||
const hideTFCStuff = (event) => {
|
const hideTFCStuff = (event) => {
|
||||||
// Hide unused TFC ores
|
// Hide unused TFC ores
|
||||||
global.allTFCStoneTypeNames.forEach(stoneTypeName => {
|
global.TFC_STONE_TYPES.forEach(stoneTypeName => {
|
||||||
tfcSimpleMaterials.forEach(material => {
|
global.TFC_SIMPLE_MATERIALS.forEach(material => {
|
||||||
event.hide(`tfc:ore/${material}/${stoneTypeName}`)
|
event.hide(`tfc:ore/${material}/${stoneTypeName}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
tfcOreTypes.forEach(oreTypeName => {
|
global.TFC_ORE_TYPES.forEach(oreTypeName => {
|
||||||
tfcOreMaterials.forEach(oreMaterialName => {
|
global.TFC_ORE_MATERIALS.forEach(oreMaterialName => {
|
||||||
event.hide(`tfc:ore/${oreTypeName}_${oreMaterialName}/${stoneTypeName}`)
|
event.hide(`tfc:ore/${oreTypeName}_${oreMaterialName}/${stoneTypeName}`)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
tfcItemsToHide.forEach(item => {
|
global.TFC_DISABLED_ITEMS.forEach(item => {
|
||||||
event.hide(item)
|
event.hide(item)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const hideSBStuff = (event) => {
|
|
||||||
SBItemsToHide.forEach(itemToHide => {
|
|
||||||
event.hide(itemToHide)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
// priority: 199
|
|
||||||
|
|
@ -1,451 +0,0 @@
|
||||||
// priority: 199
|
|
||||||
|
|
||||||
const tfcItemsToHide = [
|
|
||||||
// Ingots
|
|
||||||
'tfc:metal/ingot/bismuth',
|
|
||||||
'tfc:metal/ingot/bismuth_bronze',
|
|
||||||
'tfc:metal/ingot/black_bronze',
|
|
||||||
'tfc:metal/ingot/bronze',
|
|
||||||
'tfc:metal/ingot/rose_gold',
|
|
||||||
'tfc:metal/ingot/sterling_silver',
|
|
||||||
'tfc:metal/ingot/wrought_iron',
|
|
||||||
'tfc:metal/ingot/cast_iron',
|
|
||||||
'tfc:metal/ingot/steel',
|
|
||||||
'tfc:metal/ingot/black_steel',
|
|
||||||
'tfc:metal/ingot/red_steel',
|
|
||||||
'tfc:metal/ingot/blue_steel',
|
|
||||||
'tfc:metal/ingot/brass',
|
|
||||||
'tfc:metal/ingot/copper',
|
|
||||||
'tfc:metal/ingot/gold',
|
|
||||||
'tfc:metal/ingot/nickel',
|
|
||||||
'tfc:metal/ingot/silver',
|
|
||||||
'tfc:metal/ingot/tin',
|
|
||||||
'tfc:metal/ingot/zinc',
|
|
||||||
|
|
||||||
// Sheets
|
|
||||||
'tfc:metal/sheet/bismuth',
|
|
||||||
'tfc:metal/sheet/bismuth_bronze',
|
|
||||||
'tfc:metal/sheet/black_bronze',
|
|
||||||
'tfc:metal/sheet/bronze',
|
|
||||||
'tfc:metal/sheet/rose_gold',
|
|
||||||
'tfc:metal/sheet/sterling_silver',
|
|
||||||
'tfc:metal/sheet/wrought_iron',
|
|
||||||
'tfc:metal/sheet/cast_iron',
|
|
||||||
'tfc:metal/sheet/steel',
|
|
||||||
'tfc:metal/sheet/black_steel',
|
|
||||||
'tfc:metal/sheet/red_steel',
|
|
||||||
'tfc:metal/sheet/blue_steel',
|
|
||||||
'tfc:metal/sheet/brass',
|
|
||||||
'tfc:metal/sheet/copper',
|
|
||||||
'tfc:metal/sheet/gold',
|
|
||||||
'tfc:metal/sheet/nickel',
|
|
||||||
'tfc:metal/sheet/silver',
|
|
||||||
'tfc:metal/sheet/tin',
|
|
||||||
'tfc:metal/sheet/zinc',
|
|
||||||
|
|
||||||
// Double Sheets
|
|
||||||
'tfc:metal/double_sheet/bismuth',
|
|
||||||
'tfc:metal/double_sheet/bismuth_bronze',
|
|
||||||
'tfc:metal/double_sheet/black_bronze',
|
|
||||||
'tfc:metal/double_sheet/bronze',
|
|
||||||
'tfc:metal/double_sheet/rose_gold',
|
|
||||||
'tfc:metal/double_sheet/sterling_silver',
|
|
||||||
'tfc:metal/double_sheet/wrought_iron',
|
|
||||||
'tfc:metal/double_sheet/cast_iron',
|
|
||||||
'tfc:metal/double_sheet/steel',
|
|
||||||
'tfc:metal/double_sheet/black_steel',
|
|
||||||
'tfc:metal/double_sheet/red_steel',
|
|
||||||
'tfc:metal/double_sheet/blue_steel',
|
|
||||||
'tfc:metal/double_sheet/brass',
|
|
||||||
'tfc:metal/double_sheet/copper',
|
|
||||||
'tfc:metal/double_sheet/gold',
|
|
||||||
'tfc:metal/double_sheet/nickel',
|
|
||||||
'tfc:metal/double_sheet/silver',
|
|
||||||
'tfc:metal/double_sheet/tin',
|
|
||||||
'tfc:metal/double_sheet/zinc',
|
|
||||||
|
|
||||||
// Rods
|
|
||||||
'tfc:metal/rod/bismuth',
|
|
||||||
'tfc:metal/rod/bismuth_bronze',
|
|
||||||
'tfc:metal/rod/black_bronze',
|
|
||||||
'tfc:metal/rod/bronze',
|
|
||||||
'tfc:metal/rod/rose_gold',
|
|
||||||
'tfc:metal/rod/sterling_silver',
|
|
||||||
'tfc:metal/rod/wrought_iron',
|
|
||||||
'tfc:metal/rod/cast_iron',
|
|
||||||
'tfc:metal/rod/steel',
|
|
||||||
'tfc:metal/rod/black_steel',
|
|
||||||
'tfc:metal/rod/red_steel',
|
|
||||||
'tfc:metal/rod/blue_steel',
|
|
||||||
'tfc:metal/rod/brass',
|
|
||||||
'tfc:metal/rod/copper',
|
|
||||||
'tfc:metal/rod/gold',
|
|
||||||
'tfc:metal/rod/nickel',
|
|
||||||
'tfc:metal/rod/silver',
|
|
||||||
'tfc:metal/rod/tin',
|
|
||||||
'tfc:metal/rod/zinc',
|
|
||||||
|
|
||||||
// Sword Tool Heads
|
|
||||||
// Copper
|
|
||||||
'tfc:metal/pickaxe/copper',
|
|
||||||
'tfc:metal/pickaxe_head/copper',
|
|
||||||
'tfc:metal/axe/copper',
|
|
||||||
'tfc:metal/axe_head/copper',
|
|
||||||
'tfc:metal/shovel/copper',
|
|
||||||
'tfc:metal/shovel_head/copper',
|
|
||||||
'tfc:metal/hoe/copper',
|
|
||||||
'tfc:metal/hoe_head/copper',
|
|
||||||
'tfc:metal/hammer/copper',
|
|
||||||
'tfc:metal/hammer_head/copper',
|
|
||||||
'tfc:metal/saw/copper',
|
|
||||||
'tfc:metal/saw_blade/copper',
|
|
||||||
'tfc:metal/sword/copper',
|
|
||||||
'tfc:metal/sword_blade/copper',
|
|
||||||
'tfc:metal/knife/copper',
|
|
||||||
'tfc:metal/knife_blade/copper',
|
|
||||||
'tfc:metal/scythe/copper',
|
|
||||||
'tfc:metal/scythe_blade/copper',
|
|
||||||
|
|
||||||
// Bismuth Bronze
|
|
||||||
'tfc:metal/pickaxe/bismuth_bronze',
|
|
||||||
'tfc:metal/pickaxe_head/bismuth_bronze',
|
|
||||||
'tfc:metal/axe/bismuth_bronze',
|
|
||||||
'tfc:metal/axe_head/bismuth_bronze',
|
|
||||||
'tfc:metal/shovel/bismuth_bronze',
|
|
||||||
'tfc:metal/shovel_head/bismuth_bronze',
|
|
||||||
'tfc:metal/hoe/bismuth_bronze',
|
|
||||||
'tfc:metal/hoe_head/bismuth_bronze',
|
|
||||||
'tfc:metal/hammer/bismuth_bronze',
|
|
||||||
'tfc:metal/hammer_head/bismuth_bronze',
|
|
||||||
'tfc:metal/saw/bismuth_bronze',
|
|
||||||
'tfc:metal/saw_blade/bismuth_bronze',
|
|
||||||
'tfc:metal/sword/bismuth_bronze',
|
|
||||||
'tfc:metal/sword_blade/bismuth_bronze',
|
|
||||||
'tfc:metal/knife/bismuth_bronze',
|
|
||||||
'tfc:metal/knife_blade/bismuth_bronze',
|
|
||||||
'tfc:metal/scythe/bismuth_bronze',
|
|
||||||
'tfc:metal/scythe_blade/bismuth_bronze',
|
|
||||||
|
|
||||||
// Bronze
|
|
||||||
'tfc:metal/pickaxe/bronze',
|
|
||||||
'tfc:metal/pickaxe_head/bronze',
|
|
||||||
'tfc:metal/axe/bronze',
|
|
||||||
'tfc:metal/axe_head/bronze',
|
|
||||||
'tfc:metal/shovel/bronze',
|
|
||||||
'tfc:metal/shovel_head/bronze',
|
|
||||||
'tfc:metal/hoe/bronze',
|
|
||||||
'tfc:metal/hoe_head/bronze',
|
|
||||||
'tfc:metal/hammer/bronze',
|
|
||||||
'tfc:metal/hammer_head/bronze',
|
|
||||||
'tfc:metal/saw/bronze',
|
|
||||||
'tfc:metal/saw_blade/bronze',
|
|
||||||
'tfc:metal/sword/bronze',
|
|
||||||
'tfc:metal/sword_blade/bronze',
|
|
||||||
'tfc:metal/knife/bronze',
|
|
||||||
'tfc:metal/knife_blade/bronze',
|
|
||||||
'tfc:metal/scythe/bronze',
|
|
||||||
'tfc:metal/scythe_blade/bronze',
|
|
||||||
|
|
||||||
// Black Bronze
|
|
||||||
'tfc:metal/pickaxe/black_bronze',
|
|
||||||
'tfc:metal/pickaxe_head/black_bronze',
|
|
||||||
'tfc:metal/axe/black_bronze',
|
|
||||||
'tfc:metal/axe_head/black_bronze',
|
|
||||||
'tfc:metal/shovel/black_bronze',
|
|
||||||
'tfc:metal/shovel_head/black_bronze',
|
|
||||||
'tfc:metal/hoe/black_bronze',
|
|
||||||
'tfc:metal/hoe_head/black_bronze',
|
|
||||||
'tfc:metal/hammer/black_bronze',
|
|
||||||
'tfc:metal/hammer_head/black_bronze',
|
|
||||||
'tfc:metal/saw/black_bronze',
|
|
||||||
'tfc:metal/saw_blade/black_bronze',
|
|
||||||
'tfc:metal/sword/black_bronze',
|
|
||||||
'tfc:metal/sword_blade/black_bronze',
|
|
||||||
'tfc:metal/knife/black_bronze',
|
|
||||||
'tfc:metal/knife_blade/black_bronze',
|
|
||||||
'tfc:metal/scythe/black_bronze',
|
|
||||||
'tfc:metal/scythe_blade/black_bronze',
|
|
||||||
|
|
||||||
// Wrought Iron
|
|
||||||
'tfc:metal/pickaxe/wrought_iron',
|
|
||||||
'tfc:metal/pickaxe_head/wrought_iron',
|
|
||||||
'tfc:metal/axe/wrought_iron',
|
|
||||||
'tfc:metal/axe_head/wrought_iron',
|
|
||||||
'tfc:metal/shovel/wrought_iron',
|
|
||||||
'tfc:metal/shovel_head/wrought_iron',
|
|
||||||
'tfc:metal/hoe/wrought_iron',
|
|
||||||
'tfc:metal/hoe_head/wrought_iron',
|
|
||||||
'tfc:metal/hammer/wrought_iron',
|
|
||||||
'tfc:metal/hammer_head/wrought_iron',
|
|
||||||
'tfc:metal/saw/wrought_iron',
|
|
||||||
'tfc:metal/saw_blade/wrought_iron',
|
|
||||||
'tfc:metal/sword/wrought_iron',
|
|
||||||
'tfc:metal/sword_blade/wrought_iron',
|
|
||||||
'tfc:metal/knife/wrought_iron',
|
|
||||||
'tfc:metal/knife_blade/wrought_iron',
|
|
||||||
'tfc:metal/scythe/wrought_iron',
|
|
||||||
'tfc:metal/scythe_blade/wrought_iron',
|
|
||||||
|
|
||||||
// Steel
|
|
||||||
'tfc:metal/pickaxe/steel',
|
|
||||||
'tfc:metal/pickaxe_head/steel',
|
|
||||||
'tfc:metal/axe/steel',
|
|
||||||
'tfc:metal/axe_head/steel',
|
|
||||||
'tfc:metal/shovel/steel',
|
|
||||||
'tfc:metal/shovel_head/steel',
|
|
||||||
'tfc:metal/hoe/steel',
|
|
||||||
'tfc:metal/hoe_head/steel',
|
|
||||||
'tfc:metal/hammer/steel',
|
|
||||||
'tfc:metal/hammer_head/steel',
|
|
||||||
'tfc:metal/saw/steel',
|
|
||||||
'tfc:metal/saw_blade/steel',
|
|
||||||
'tfc:metal/sword/steel',
|
|
||||||
'tfc:metal/sword_blade/steel',
|
|
||||||
'tfc:metal/knife/steel',
|
|
||||||
'tfc:metal/knife_blade/steel',
|
|
||||||
'tfc:metal/scythe/steel',
|
|
||||||
'tfc:metal/scythe_blade/steel',
|
|
||||||
|
|
||||||
// Black Steel
|
|
||||||
'tfc:metal/pickaxe/black_steel',
|
|
||||||
'tfc:metal/pickaxe_head/black_steel',
|
|
||||||
'tfc:metal/axe/black_steel',
|
|
||||||
'tfc:metal/axe_head/black_steel',
|
|
||||||
'tfc:metal/shovel/black_steel',
|
|
||||||
'tfc:metal/shovel_head/black_steel',
|
|
||||||
'tfc:metal/hoe/black_steel',
|
|
||||||
'tfc:metal/hoe_head/black_steel',
|
|
||||||
'tfc:metal/hammer/black_steel',
|
|
||||||
'tfc:metal/hammer_head/black_steel',
|
|
||||||
'tfc:metal/saw/black_steel',
|
|
||||||
'tfc:metal/saw_blade/black_steel',
|
|
||||||
'tfc:metal/sword/black_steel',
|
|
||||||
'tfc:metal/sword_blade/black_steel',
|
|
||||||
'tfc:metal/knife/black_steel',
|
|
||||||
'tfc:metal/knife_blade/black_steel',
|
|
||||||
'tfc:metal/scythe/black_steel',
|
|
||||||
'tfc:metal/scythe_blade/black_steel',
|
|
||||||
|
|
||||||
// Red Steel
|
|
||||||
'tfc:metal/pickaxe/red_steel',
|
|
||||||
'tfc:metal/pickaxe_head/red_steel',
|
|
||||||
'tfc:metal/axe/red_steel',
|
|
||||||
'tfc:metal/axe_head/red_steel',
|
|
||||||
'tfc:metal/shovel/red_steel',
|
|
||||||
'tfc:metal/shovel_head/red_steel',
|
|
||||||
'tfc:metal/hoe/red_steel',
|
|
||||||
'tfc:metal/hoe_head/red_steel',
|
|
||||||
'tfc:metal/hammer/red_steel',
|
|
||||||
'tfc:metal/hammer_head/red_steel',
|
|
||||||
'tfc:metal/saw/red_steel',
|
|
||||||
'tfc:metal/saw_blade/red_steel',
|
|
||||||
'tfc:metal/sword/red_steel',
|
|
||||||
'tfc:metal/sword_blade/red_steel',
|
|
||||||
'tfc:metal/knife/red_steel',
|
|
||||||
'tfc:metal/knife_blade/red_steel',
|
|
||||||
'tfc:metal/scythe/red_steel',
|
|
||||||
'tfc:metal/scythe_blade/red_steel',
|
|
||||||
|
|
||||||
// Blue Steel
|
|
||||||
'tfc:metal/pickaxe/blue_steel',
|
|
||||||
'tfc:metal/pickaxe_head/blue_steel',
|
|
||||||
'tfc:metal/axe/blue_steel',
|
|
||||||
'tfc:metal/axe_head/blue_steel',
|
|
||||||
'tfc:metal/shovel/blue_steel',
|
|
||||||
'tfc:metal/shovel_head/blue_steel',
|
|
||||||
'tfc:metal/hoe/blue_steel',
|
|
||||||
'tfc:metal/hoe_head/blue_steel',
|
|
||||||
'tfc:metal/hammer/blue_steel',
|
|
||||||
'tfc:metal/hammer_head/blue_steel',
|
|
||||||
'tfc:metal/saw/blue_steel',
|
|
||||||
'tfc:metal/saw_blade/blue_steel',
|
|
||||||
'tfc:metal/sword/blue_steel',
|
|
||||||
'tfc:metal/sword_blade/blue_steel',
|
|
||||||
'tfc:metal/knife/blue_steel',
|
|
||||||
'tfc:metal/knife_blade/blue_steel',
|
|
||||||
'tfc:metal/scythe/blue_steel',
|
|
||||||
'tfc:metal/scythe_blade/blue_steel',
|
|
||||||
|
|
||||||
// Ores
|
|
||||||
'tfc:ore/poor_native_copper',
|
|
||||||
'tfc:ore/normal_native_copper',
|
|
||||||
'tfc:ore/rich_native_copper',
|
|
||||||
'tfc:ore/poor_native_gold',
|
|
||||||
'tfc:ore/normal_native_gold',
|
|
||||||
'tfc:ore/rich_native_gold',
|
|
||||||
'tfc:ore/poor_hematite',
|
|
||||||
'tfc:ore/normal_hematite',
|
|
||||||
'tfc:ore/rich_hematite',
|
|
||||||
'tfc:ore/rich_tetrahedrite',
|
|
||||||
'tfc:ore/normal_tetrahedrite',
|
|
||||||
'tfc:ore/poor_tetrahedrite',
|
|
||||||
'tfc:ore/rich_sphalerite',
|
|
||||||
'tfc:ore/normal_sphalerite',
|
|
||||||
'tfc:ore/poor_sphalerite',
|
|
||||||
'tfc:ore/rich_limonite',
|
|
||||||
'tfc:ore/normal_limonite',
|
|
||||||
'tfc:ore/poor_limonite',
|
|
||||||
'tfc:ore/rich_magnetite',
|
|
||||||
'tfc:ore/normal_magnetite',
|
|
||||||
'tfc:ore/poor_magnetite',
|
|
||||||
'tfc:ore/rich_malachite',
|
|
||||||
'tfc:ore/normal_malachite',
|
|
||||||
'tfc:ore/poor_malachite',
|
|
||||||
'tfc:ore/rich_garnierite',
|
|
||||||
'tfc:ore/normal_garnierite',
|
|
||||||
'tfc:ore/poor_garnierite',
|
|
||||||
'tfc:ore/rich_bismuthinite',
|
|
||||||
'tfc:ore/normal_bismuthinite',
|
|
||||||
'tfc:ore/poor_bismuthinite',
|
|
||||||
'tfc:ore/rich_cassiterite',
|
|
||||||
'tfc:ore/normal_cassiterite',
|
|
||||||
'tfc:ore/poor_cassiterite',
|
|
||||||
'tfc:ore/rich_native_silver',
|
|
||||||
'tfc:ore/normal_native_silver',
|
|
||||||
'tfc:ore/poor_native_silver',
|
|
||||||
|
|
||||||
// Gems
|
|
||||||
'tfc:gem/amethyst',
|
|
||||||
'tfc:gem/diamond',
|
|
||||||
'tfc:gem/lapis_lazuli',
|
|
||||||
'tfc:gem/emerald',
|
|
||||||
'tfc:gem/pyrite',
|
|
||||||
'tfc:gem/opal',
|
|
||||||
'tfc:gem/ruby',
|
|
||||||
'tfc:gem/sapphire',
|
|
||||||
'tfc:gem/topaz',
|
|
||||||
'tfc:ore/amethyst',
|
|
||||||
'tfc:ore/diamond',
|
|
||||||
'tfc:ore/lapis_lazuli',
|
|
||||||
'tfc:ore/emerald',
|
|
||||||
'tfc:ore/pyrite',
|
|
||||||
'tfc:ore/opal',
|
|
||||||
'tfc:ore/ruby',
|
|
||||||
'tfc:ore/sapphire',
|
|
||||||
'tfc:ore/topaz',
|
|
||||||
|
|
||||||
'tfc:ore/graphite',
|
|
||||||
'tfc:ore/sulfur',
|
|
||||||
'tfc:ore/cinnabar',
|
|
||||||
'tfc:ore/cryolite',
|
|
||||||
'tfc:ore/saltpeter',
|
|
||||||
'tfc:ore/borax',
|
|
||||||
'tfc:ore/sylvite',
|
|
||||||
'tfc:ore/bituminous_coal',
|
|
||||||
'tfc:ore/lignite',
|
|
||||||
'tfc:ore/halite',
|
|
||||||
|
|
||||||
// Blocks
|
|
||||||
'tfc:metal/block/bismuth',
|
|
||||||
'tfc:metal/block/bismuth_bronze',
|
|
||||||
'tfc:metal/block/black_bronze',
|
|
||||||
'tfc:metal/block/bronze',
|
|
||||||
'tfc:metal/block/brass',
|
|
||||||
'tfc:metal/block/copper',
|
|
||||||
'tfc:metal/block/gold',
|
|
||||||
'tfc:metal/block/nickel',
|
|
||||||
'tfc:metal/block/rose_gold',
|
|
||||||
'tfc:metal/block/silver',
|
|
||||||
'tfc:metal/block/tin',
|
|
||||||
'tfc:metal/block/zinc',
|
|
||||||
'tfc:metal/block/sterling_silver',
|
|
||||||
'tfc:metal/block/wrought_iron',
|
|
||||||
'tfc:metal/block/cast_iron',
|
|
||||||
'tfc:metal/block/steel',
|
|
||||||
'tfc:metal/block/black_steel',
|
|
||||||
'tfc:metal/block/blue_steel',
|
|
||||||
'tfc:metal/block/red_steel',
|
|
||||||
|
|
||||||
// Stairs
|
|
||||||
'tfc:metal/block/bismuth_stairs',
|
|
||||||
'tfc:metal/block/bismuth_bronze_stairs',
|
|
||||||
'tfc:metal/block/black_bronze_stairs',
|
|
||||||
'tfc:metal/block/bronze_stairs',
|
|
||||||
'tfc:metal/block/brass_stairs',
|
|
||||||
'tfc:metal/block/copper_stairs',
|
|
||||||
'tfc:metal/block/gold_stairs',
|
|
||||||
'tfc:metal/block/nickel_stairs',
|
|
||||||
'tfc:metal/block/rose_gold_stairs',
|
|
||||||
'tfc:metal/block/silver_stairs',
|
|
||||||
'tfc:metal/block/tin_stairs',
|
|
||||||
'tfc:metal/block/zinc_stairs',
|
|
||||||
'tfc:metal/block/sterling_silver_stairs',
|
|
||||||
'tfc:metal/block/wrought_iron_stairs',
|
|
||||||
'tfc:metal/block/cast_iron_stairs',
|
|
||||||
'tfc:metal/block/steel_stairs',
|
|
||||||
'tfc:metal/block/black_steel_stairs',
|
|
||||||
'tfc:metal/block/blue_steel_stairs',
|
|
||||||
'tfc:metal/block/red_steel_stairs',
|
|
||||||
|
|
||||||
// Slabs
|
|
||||||
'tfc:metal/block/bismuth_slab',
|
|
||||||
'tfc:metal/block/bismuth_bronze_slab',
|
|
||||||
'tfc:metal/block/black_bronze_slab',
|
|
||||||
'tfc:metal/block/bronze_slab',
|
|
||||||
'tfc:metal/block/brass_slab',
|
|
||||||
'tfc:metal/block/copper_slab',
|
|
||||||
'tfc:metal/block/gold_slab',
|
|
||||||
'tfc:metal/block/nickel_slab',
|
|
||||||
'tfc:metal/block/rose_gold_slab',
|
|
||||||
'tfc:metal/block/silver_slab',
|
|
||||||
'tfc:metal/block/tin_slab',
|
|
||||||
'tfc:metal/block/zinc_slab',
|
|
||||||
'tfc:metal/block/sterling_silver_slab',
|
|
||||||
'tfc:metal/block/wrought_iron_slab',
|
|
||||||
'tfc:metal/block/cast_iron_slab',
|
|
||||||
'tfc:metal/block/steel_slab',
|
|
||||||
'tfc:metal/block/black_steel_slab',
|
|
||||||
'tfc:metal/block/blue_steel_slab',
|
|
||||||
'tfc:metal/block/red_steel_slab',
|
|
||||||
]
|
|
||||||
|
|
||||||
const tfcSimpleMaterials = [
|
|
||||||
"gypsum",
|
|
||||||
"cinnabar",
|
|
||||||
"cryolite",
|
|
||||||
"saltpeter",
|
|
||||||
"sylvite",
|
|
||||||
"borax",
|
|
||||||
"halite",
|
|
||||||
"amethyst",
|
|
||||||
"opal",
|
|
||||||
"pyrite",
|
|
||||||
"topaz",
|
|
||||||
"bituminous_coal",
|
|
||||||
"lignite",
|
|
||||||
"graphite",
|
|
||||||
"sulfur",
|
|
||||||
"diamond",
|
|
||||||
"emerald",
|
|
||||||
"lapis_lazuli",
|
|
||||||
"ruby",
|
|
||||||
"sapphire"
|
|
||||||
]
|
|
||||||
|
|
||||||
const tfcOreTypes = [
|
|
||||||
"poor",
|
|
||||||
"normal",
|
|
||||||
"rich"
|
|
||||||
]
|
|
||||||
|
|
||||||
const tfcOreMaterials = [
|
|
||||||
"bismuthinite",
|
|
||||||
"cassiterite",
|
|
||||||
"garnierite",
|
|
||||||
"hematite",
|
|
||||||
"limonite",
|
|
||||||
"magnetite",
|
|
||||||
"malachite",
|
|
||||||
"native_copper",
|
|
||||||
"native_gold",
|
|
||||||
"native_silver",
|
|
||||||
"sphalerite",
|
|
||||||
"tetrahedrite"
|
|
||||||
]
|
|
||||||
|
|
||||||
const tfcDepositeMaterials = [
|
|
||||||
"cassiterite",
|
|
||||||
"native_copper",
|
|
||||||
"native_gold",
|
|
||||||
"native_silver"
|
|
||||||
]
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#KubeJS Client Properties
|
#KubeJS Client Properties
|
||||||
#Sun Nov 19 21:03:06 NOVT 2023
|
#Tue Nov 28 16:58:18 NOVT 2023
|
||||||
backgroundColor=2E3440
|
backgroundColor=2E3440
|
||||||
barBorderColor=ECEFF4
|
barBorderColor=ECEFF4
|
||||||
barColor=ECEFF4
|
barColor=ECEFF4
|
||||||
blurScaledPackIcon=true
|
blurScaledPackIcon=true
|
||||||
disableRecipeBook=true
|
disableRecipeBook=false
|
||||||
exportAtlases=false
|
exportAtlases=false
|
||||||
fmlLogColor=ECEFF4
|
fmlLogColor=ECEFF4
|
||||||
fmlMemoryColor=ECEFF4
|
fmlMemoryColor=ECEFF4
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
#KubeJS Common Properties
|
#KubeJS Common Properties
|
||||||
#Fri Sep 15 19:52:14 NOVT 2023
|
#Tue Nov 28 16:58:19 NOVT 2023
|
||||||
matchJsonRecipes=true
|
|
||||||
allowAsyncStreams=true
|
allowAsyncStreams=true
|
||||||
announceReload=true
|
announceReload=true
|
||||||
startupErrorGUI=true
|
|
||||||
serverOnly=false
|
|
||||||
hideServerScriptErrors=false
|
|
||||||
saveDevPropertiesInConfig=false
|
|
||||||
packmode=default
|
|
||||||
ignoreCustomUniqueRecipeIds=false
|
|
||||||
creativeModeTabIcon=minecraft\:purple_dye
|
creativeModeTabIcon=minecraft\:purple_dye
|
||||||
|
hideServerScriptErrors=false
|
||||||
|
ignoreCustomUniqueRecipeIds=false
|
||||||
|
matchJsonRecipes=true
|
||||||
|
packmode=
|
||||||
|
saveDevPropertiesInConfig=false
|
||||||
|
serverOnly=false
|
||||||
|
startupErrorGUI=true
|
||||||
startupErrorReportUrl=
|
startupErrorReportUrl=
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const registerAARecipes = (event) => {
|
|
||||||
|
|
||||||
// Удаление рецептов мода
|
|
||||||
event.remove({ mod: 'ad_astra' });
|
|
||||||
}
|
|
||||||
7
kubejs/server_scripts/ad_astra/recipes.js
Normal file
7
kubejs/server_scripts/ad_astra/recipes.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const registerAdAstraRecipes = (event) => {
|
||||||
|
|
||||||
|
// Удаление рецептов мода
|
||||||
|
// event.remove({ mod: 'ad_astra' });
|
||||||
|
}
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
const registerAE2Recipes = (event) => {
|
const registerAE2Recipes = (event) => {
|
||||||
|
|
||||||
// Удаление рецептов мода
|
// Удаление рецептов мода
|
||||||
event.remove({ mod: 'ae2' });
|
// event.remove({ mod: 'ae2' });
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const registerCCRecipes = (event) => {
|
const registerComputerCraftRecipes = (event) => {
|
||||||
|
|
||||||
// Удаление рецептов мода
|
// Удаление рецептов мода
|
||||||
event.remove({ mod: 'computercraft' });
|
event.remove({ mod: 'computercraft' });
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
// priority: 500
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const modifyLootGT = (event) => {
|
const modifyLootGT = (event) => {
|
||||||
global.allTFCStoneTypeNames.forEach(stoneType => {
|
global.TFC_STONE_TYPES.forEach(stoneType => {
|
||||||
GTRegistries.MATERIALS.forEach(material => {
|
GTRegistries.MATERIALS.forEach(material => {
|
||||||
if (material.hasProperty(PropertyKey.ORE)) {
|
if (material.hasProperty(PropertyKey.ORE)) {
|
||||||
event.addBlockLootModifier(`gtceu:tfc_${stoneType}_${material}_ore`)
|
event.addBlockLootModifier(`gtceu:tfc_${stoneType}_${material}_ore`)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const registerGTRecipes = (event) => {
|
const registerGTCEURecipes = (event) => {
|
||||||
|
|
||||||
// Удаление рецептов связанных с Primitive Blast Furnace
|
// Удаление рецептов связанных с Primitive Blast Furnace
|
||||||
event.remove({id: 'gtceu:arc_furnace/arc_primitive_blast_furnace'})
|
event.remove({id: 'gtceu:arc_furnace/arc_primitive_blast_furnace'})
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,20 @@
|
||||||
// priority: 499
|
// priority: 1
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Событие регистрации предмет-тэгов.
|
||||||
|
*/
|
||||||
|
ServerEvents.tags('item', event => {
|
||||||
|
registerMinecraftItemTags(event)
|
||||||
|
registerTFCItemTags(event)
|
||||||
|
registerCreateTags(event)
|
||||||
|
})
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Событие регистрации блок-тэгов.
|
||||||
|
*/
|
||||||
|
ServerEvents.tags('block', event => {
|
||||||
|
registerTFCBlockTags(event)
|
||||||
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Здесь регистрируются файлы датапаков (json).
|
* Здесь регистрируются файлы датапаков (json).
|
||||||
|
|
@ -9,41 +25,26 @@ ServerEvents.highPriorityData(event => {
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Здесь регистрируются тэги для блоков.
|
* Событие регистрации рецептов.
|
||||||
*/
|
|
||||||
ServerEvents.tags('block', event => {
|
|
||||||
registerTFCBlocksTags(event)
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Здесь регистрируются тэги для предметов.
|
|
||||||
*/
|
|
||||||
ServerEvents.tags('item', event => {
|
|
||||||
registerCreateTags(event)
|
|
||||||
registerTFCItemTags(event)
|
|
||||||
registerMinecraftItemTags(event)
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Здесь регистрируются рецепты (те же датапаки, но это событие немного специфичней).
|
|
||||||
* Срабатывает после инициализации датапаков.
|
* Срабатывает после инициализации датапаков.
|
||||||
*/
|
*/
|
||||||
ServerEvents.recipes(event => {
|
ServerEvents.recipes(event => {
|
||||||
registerMinecraftRecipes(event)
|
registerMinecraftRecipes(event)
|
||||||
registerGTRecipes(event)
|
|
||||||
registerTFCRecipes(event)
|
registerTFCRecipes(event)
|
||||||
registerAARecipes(event)
|
registerGTCEURecipes(event)
|
||||||
registerAE2Recipes(event)
|
|
||||||
registerCreateRecipes(event)
|
registerCreateRecipes(event)
|
||||||
registerSBRecipes(event)
|
registerAE2Recipes(event)
|
||||||
registerExtendedCraftingRecipes(event)
|
registerComputerCraftRecipes(event)
|
||||||
|
registerAdAstraRecipes(event)
|
||||||
registerTreeTapRecipes(event)
|
registerTreeTapRecipes(event)
|
||||||
registerMCWRecipes(event)
|
registerMoreRedRecipes(event)
|
||||||
|
registerSophisticatedBackpacksRecipes(event)
|
||||||
registerSmallShipsRecipes(event)
|
registerSmallShipsRecipes(event)
|
||||||
|
registerExtendedCraftingRecipes(event)
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Здесь регистрируется кастомный дроп.
|
* Событие модификации лута.
|
||||||
*/
|
*/
|
||||||
LootJS.modifiers((event) => {
|
LootJS.modifiers((event) => {
|
||||||
modifyLootGT(event)
|
modifyLootGT(event)
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const registerMCWRecipes = (event) => {
|
|
||||||
// Удаление рецептов мода create
|
|
||||||
event.remove({ mod: 'mcw_tfc_aio' });
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const removeAllTagMinecraftItems = [
|
|
||||||
'minecraft:sand',
|
|
||||||
'minecraft:chest',
|
|
||||||
'minecraft:trapped_chest',
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const registerMinecraftItemTags = (event) => {
|
const registerMinecraftItemTags = (event) => {
|
||||||
removeAllTagMinecraftItems.forEach(item => {
|
global.MINECRAFT_DISABLED_ITEMS.forEach(item => {
|
||||||
event.removeAllTagsFrom(item)
|
event.removeAllTagsFrom(item)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
global.vanillaWoodTypes = [
|
|
||||||
"oak",
|
|
||||||
"spruce",
|
|
||||||
"birch",
|
|
||||||
"jungle",
|
|
||||||
"acacia",
|
|
||||||
"cherry",
|
|
||||||
"dark_oak",
|
|
||||||
"mangrove",
|
|
||||||
"bamboo"
|
|
||||||
]
|
|
||||||
|
|
||||||
global.shipTypes = [
|
|
||||||
"cog",
|
|
||||||
"brigg",
|
|
||||||
"galley"
|
|
||||||
]
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
const registerSmallShipsRecipes = (event) => {
|
const registerSmallShipsRecipes = (event) => {
|
||||||
|
|
||||||
// Удаление рецептов мода
|
// Удаление рецептов мода
|
||||||
global.vanillaWoodTypes.forEach(woodTypeName => {
|
global.VANILLA_WOOD_TYPES.forEach(woodTypeName => {
|
||||||
global.shipTypes.forEach(shipTypeName => {
|
global.SHIP_TYPES.forEach(shipTypeName => {
|
||||||
event.remove({ id: `smallships:${woodTypeName}_${shipTypeName}` })
|
event.remove({ id: `smallships:${woodTypeName}_${shipTypeName}` })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const registerSBRecipes = (event) => {
|
const registerSophisticatedBackpacksRecipes = (event) => {
|
||||||
|
|
||||||
// Удаление рецептов мода sophisticatedBackpacks
|
// Удаление рецептов мода sophisticatedBackpacks
|
||||||
event.remove({ mod: 'sophisticatedbackpacks' })
|
event.remove({ mod: 'sophisticatedbackpacks' })
|
||||||
|
|
@ -1,544 +0,0 @@
|
||||||
// priority: 0
|
|
||||||
|
|
||||||
const ingotGen = [ "ingot" ]
|
|
||||||
const doubleIngotGen = [ "double_ingot"]
|
|
||||||
const nuggetGen = [ "nugget" ]
|
|
||||||
const dustGen = [ "dust", "dust_small", "dust_tiny" ]
|
|
||||||
const oreGen = [ "poor_raw", "raw", "rich_raw" ]
|
|
||||||
const partGen = [ "sheet", "double_sheet", "rod", "block", "block_stairs", "block_slab" ]
|
|
||||||
const armorGen = [ "boots", "greaves", "chestplate", "helmet", "shield", "unfinished_boots", "unfinished_chestplate", "unfinished_greaves", "unfinished_helmet" ]
|
|
||||||
const utilityGen = [ "anvil", "bars", "chain", "lamp", "trapdoor", "unfinished_lamp" ]
|
|
||||||
const gtToolGen = [
|
|
||||||
"knife_butchery_head",
|
|
||||||
"butchery_knife",
|
|
||||||
"file_head",
|
|
||||||
"file",
|
|
||||||
"axe_head",
|
|
||||||
"axe",
|
|
||||||
"hammer_head",
|
|
||||||
"hammer",
|
|
||||||
"hoe",
|
|
||||||
"hoe_head",
|
|
||||||
"knife_blade",
|
|
||||||
"knife",
|
|
||||||
"saw_blade",
|
|
||||||
"saw",
|
|
||||||
"pickaxe_head",
|
|
||||||
"pickaxe",
|
|
||||||
"scythe_blade",
|
|
||||||
"scythe",
|
|
||||||
"shovel_head",
|
|
||||||
"shovel",
|
|
||||||
"sword_blade",
|
|
||||||
"sword",
|
|
||||||
]
|
|
||||||
const tfcToolGen = [
|
|
||||||
"chisel_head",
|
|
||||||
"chisel",
|
|
||||||
"fish_hook",
|
|
||||||
"fishing_rod",
|
|
||||||
"horse_armor",
|
|
||||||
"javelin_head",
|
|
||||||
"javelin",
|
|
||||||
"mace_head",
|
|
||||||
"mace",
|
|
||||||
"propick_head",
|
|
||||||
"propick",
|
|
||||||
"shears",
|
|
||||||
"tuyere"
|
|
||||||
]
|
|
||||||
|
|
||||||
const ItemHeats = {
|
|
||||||
"nugget": { heat_capacity: 0.124, metal_amount: {
|
|
||||||
"default": 16,
|
|
||||||
"bismuth": 16,
|
|
||||||
"cassiterite": 16,
|
|
||||||
"copper": 16,
|
|
||||||
"garnierite": 14,
|
|
||||||
"gold": 16,
|
|
||||||
"hematite": 13,
|
|
||||||
"iron": 16,
|
|
||||||
"yellow_limonite": 14,
|
|
||||||
"magnetite": 14,
|
|
||||||
"malachite": 13,
|
|
||||||
"nickel": 16,
|
|
||||||
"pyrite": 12,
|
|
||||||
"silver": 16,
|
|
||||||
"sphalerite": 16,
|
|
||||||
"tetrahedrite": 14,
|
|
||||||
"tin": 16,
|
|
||||||
"chalcopyrite": 10,
|
|
||||||
"goetite": 15
|
|
||||||
}, input: (name) => { return { tag: `forge:nuggets/${name}` } }, output: (name) => { return { item: `gtceu:${name}_nugget` } } },
|
|
||||||
|
|
||||||
"dust": { heat_capacity: 1.429, metal_amount: {
|
|
||||||
"default": 144,
|
|
||||||
"bismuth": 144,
|
|
||||||
"cassiterite": 144,
|
|
||||||
"copper": 144,
|
|
||||||
"garnierite": 126,
|
|
||||||
"gold": 144,
|
|
||||||
"hematite": 117,
|
|
||||||
"iron": 144,
|
|
||||||
"yellow_limonite": 126,
|
|
||||||
"magnetite": 126,
|
|
||||||
"malachite": 117,
|
|
||||||
"nickel": 144,
|
|
||||||
"pyrite": 123,
|
|
||||||
"silver": 144,
|
|
||||||
"sphalerite": 144,
|
|
||||||
"tetrahedrite": 126,
|
|
||||||
"tin": 144,
|
|
||||||
"chalcopyrite": 112,
|
|
||||||
"cassiterite_sand" : 144,
|
|
||||||
"goetite": 142
|
|
||||||
}, input: (name) => { return { tag: `forge:dusts/${name}` } }, output: (name) => { return { item: `gtceu:${name}_dust` } } },
|
|
||||||
|
|
||||||
|
|
||||||
"dust_small": { heat_capacity: 0.714, metal_amount: {
|
|
||||||
"default": 36,
|
|
||||||
"bismuth": 36,
|
|
||||||
"cassiterite": 36,
|
|
||||||
"copper": 36,
|
|
||||||
"garnierite": 31,
|
|
||||||
"gold": 36,
|
|
||||||
"hematite": 29,
|
|
||||||
"iron": 36,
|
|
||||||
"yellow_limonite": 31,
|
|
||||||
"magnetite": 31,
|
|
||||||
"malachite": 29,
|
|
||||||
"nickel": 36,
|
|
||||||
"pyrite": 27,
|
|
||||||
"silver": 36,
|
|
||||||
"sphalerite": 36,
|
|
||||||
"tetrahedrite": 31,
|
|
||||||
"tin": 36,
|
|
||||||
"chalcopyrite": 22,
|
|
||||||
"cassiterite_sand": 36,
|
|
||||||
"goetite": 34
|
|
||||||
}, input: (name) => { return { tag: `forge:dusts/small/${name}` } }, output: (name) => { return { item: `gtceu:${name}_dust_small` } } },
|
|
||||||
|
|
||||||
|
|
||||||
"dust_tiny": { heat_capacity: 0.357, metal_amount: {
|
|
||||||
"default": 16,
|
|
||||||
"bismuth": 16,
|
|
||||||
"cassiterite": 16,
|
|
||||||
"copper": 16,
|
|
||||||
"garnierite": 14,
|
|
||||||
"gold": 16,
|
|
||||||
"hematite": 13,
|
|
||||||
"iron": 16,
|
|
||||||
"yellow_limonite": 14,
|
|
||||||
"magnetite": 14,
|
|
||||||
"malachite": 13,
|
|
||||||
"nickel": 16,
|
|
||||||
"pyrite": 12,
|
|
||||||
"silver": 16,
|
|
||||||
"sphalerite": 16,
|
|
||||||
"tetrahedrite": 14,
|
|
||||||
"tin": 16,
|
|
||||||
"chalcopyrite": 10,
|
|
||||||
"cassiterite_sand" : 16,
|
|
||||||
"goetite": 15
|
|
||||||
}, input: (name) => { return { tag: `forge:dusts/tiny/${name}` } }, output: (name) => { return { item: `gtceu:${name}_dust_tiny` } } },
|
|
||||||
|
|
||||||
|
|
||||||
"poor_raw": { heat_capacity: 1.429, metal_amount: {
|
|
||||||
"default": 24,
|
|
||||||
"bismuth": 24,
|
|
||||||
"cassiterite": 24,
|
|
||||||
"copper": 24,
|
|
||||||
"garnierite": 21,
|
|
||||||
"gold": 24,
|
|
||||||
"hematite": 18,
|
|
||||||
"iron": 24,
|
|
||||||
"yellow_limonite": 21,
|
|
||||||
"magnetite": 21,
|
|
||||||
"malachite": 18,
|
|
||||||
"nickel": 24,
|
|
||||||
"pyrite": 18,
|
|
||||||
"silver": 24,
|
|
||||||
"sphalerite": 24,
|
|
||||||
"tetrahedrite": 21,
|
|
||||||
"tin": 24,
|
|
||||||
"chalcopyrite": 14,
|
|
||||||
"cassiterite_sand" : 24,
|
|
||||||
"goetite": 22
|
|
||||||
}, input: (name) => { return { tag: `forge:poor_raw_materials/${name}` } }, output: (name) => { return { item: `gtceu:poor_raw_${name}` } } },
|
|
||||||
|
|
||||||
|
|
||||||
"raw": { heat_capacity: 1.429, metal_amount: {
|
|
||||||
"default": 36,
|
|
||||||
"bismuth": 36,
|
|
||||||
"cassiterite": 36,
|
|
||||||
"copper": 36,
|
|
||||||
"garnierite": 31,
|
|
||||||
"gold": 36,
|
|
||||||
"hematite": 29,
|
|
||||||
"iron": 36,
|
|
||||||
"yellow_limonite": 31,
|
|
||||||
"magnetite": 31,
|
|
||||||
"malachite": 29,
|
|
||||||
"nickel": 36,
|
|
||||||
"pyrite": 27,
|
|
||||||
"silver": 36,
|
|
||||||
"sphalerite": 36,
|
|
||||||
"tetrahedrite": 31,
|
|
||||||
"tin": 36,
|
|
||||||
"chalcopyrite": 28,
|
|
||||||
"cassiterite_sand" : 36,
|
|
||||||
"goetite": 34
|
|
||||||
}, input: (name) => { return { tag: `forge:raw_materials/${name}` } }, output: (name) => { return { item: `gtceu:raw_${name}` } } },
|
|
||||||
|
|
||||||
|
|
||||||
"rich_raw": { heat_capacity: 1.429, metal_amount: {
|
|
||||||
"default": 48,
|
|
||||||
"bismuth": 48,
|
|
||||||
"cassiterite": 48,
|
|
||||||
"copper": 48,
|
|
||||||
"garnierite": 42,
|
|
||||||
"gold": 48,
|
|
||||||
"hematite": 39,
|
|
||||||
"iron": 48,
|
|
||||||
"yellow_limonite": 42,
|
|
||||||
"magnetite": 42,
|
|
||||||
"malachite": 39,
|
|
||||||
"nickel": 48,
|
|
||||||
"pyrite": 36,
|
|
||||||
"silver": 48,
|
|
||||||
"sphalerite": 48,
|
|
||||||
"tetrahedrite": 42,
|
|
||||||
"tin": 48,
|
|
||||||
"chalcopyrite": 36,
|
|
||||||
"cassiterite_sand" : 48,
|
|
||||||
"goetite": 45
|
|
||||||
}, input: (name) => { return { tag: `forge:rich_raw_materials/${name}` } }, output: (name) => { return { item: `gtceu:rich_raw_${name}` } } },
|
|
||||||
|
|
||||||
"block_slab": { heat_capacity: null }, // can't melt
|
|
||||||
"block_stairs": { heat_capacity: null }, // can't melt
|
|
||||||
|
|
||||||
"block": { heat_capacity: 2.857, metal_amount: 1296,
|
|
||||||
input: (name) => { return { tag: `forge:storage_blocks/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_block` } } },
|
|
||||||
"anvil": { heat_capacity: 40.0, metal_amount: 2016,
|
|
||||||
input: (name) => { return { item: `tfc:metal/anvil/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/anvil/${name}` } } },
|
|
||||||
"chain": { heat_capacity: 0.171, metal_amount: 9, rules: [ "hit_any", "hit_any", "draw_last" ], anvilFrom: "ingot", outputCount: 16,
|
|
||||||
input: (name) => { return { item: `tfc:metal/chain/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/chain/${name}` } } },
|
|
||||||
"bars": { heat_capacity: 0.714, metal_amount: 36, rules: [ "upset_last", "punch_second_last", "punch_third_last" ], anvilFrom: "sheet", outputCount: 8,
|
|
||||||
input: (name) => { return { item: `tfc:metal/bars/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/bars/${name}` } } },
|
|
||||||
"trapdoor": { heat_capacity: 5.714, metal_amount: 144, rules: [ "bend_last", "draw_second_last", "draw_third_last" ], anvilFrom: "sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/trapdoor/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/trapdoor/${name}` } } },
|
|
||||||
"lamp": { heat_capacity: 2.857, metal_amount: 144, rules: [ "bend_last", "bend_second_last", "draw_third_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { item: `tfc:metal/lamp/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/lamp/${name}` } } },
|
|
||||||
"unfinished_lamp": { heat_capacity: 2.857, metal_amount: 144,
|
|
||||||
input: (name) => { return { item: `tfc:metal/unfinished_lamp/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/unfinished_lamp/${name}` } } },
|
|
||||||
|
|
||||||
"helmet": { heat_capacity: 17.143, metal_amount: 432, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/helmet/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/helmet/${name}` } } },
|
|
||||||
"chestplate": { heat_capacity: 22.857, metal_amount: 576, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/chestplate/${name}` }},
|
|
||||||
output: (name) => { return { item: `tfc:metal/chestplate/${name}` } } },
|
|
||||||
"greaves": { heat_capacity: 17.143, metal_amount: 432, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/greaves/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/greaves/${name}` } } },
|
|
||||||
"boots": { heat_capacity: 11.429, metal_amount: 432, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/boots/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/boots/${name}` } } },
|
|
||||||
"unfinished_boots": { heat_capacity: 5.714, metal_amount: 144, rules: [ "bend_last", "bend_second_last", "shrink_third_last" ], anvilFrom: "sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/unfinished_boots/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/unfinished_boots/${name}` } } },
|
|
||||||
"unfinished_chestplate": { heat_capacity: 11.429, metal_amount: 288, rules: [ "hit_last", "hit_second_last", "upset_third_last" ], anvilFrom: "double_sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/unfinished_chestplate/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/unfinished_chestplate/${name}` } } },
|
|
||||||
"unfinished_greaves": { heat_capacity: 11.429, metal_amount: 288, rules: [ "bend_any", "draw_any", "hit_any" ], anvilFrom: "double_sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/unfinished_greaves/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/unfinished_greaves/${name}` } } },
|
|
||||||
"unfinished_helmet": { heat_capacity: 11.429, metal_amount: 288, rules: [ "hit_last", "bend_second_last", "bend_third_last" ], anvilFrom: "double_sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/unfinished_helmet/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/unfinished_helmet/${name}` } } },
|
|
||||||
|
|
||||||
"horse_armor": { heat_capacity: 34.286, metal_amount: 864, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/horse_armor/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/horse_armor/${name}` } } },
|
|
||||||
|
|
||||||
"sword_blade": { heat_capacity: 5.714, metal_amount: 288, hasMold: true, rules: [ "hit_last", "bend_second_last", "bend_third_last" ], anvilFrom: "double_ingot",
|
|
||||||
input: (name) => { return { tag: `forge:sword_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_sword_head` } } },
|
|
||||||
"sword": { heat_capacity: 5.714, metal_amount: 288, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_sword` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_sword` } } },
|
|
||||||
"pickaxe_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "punch_last", "bend_not_last", "draw_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:pickaxe_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_pickaxe_head` } } },
|
|
||||||
"pickaxe": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_pickaxe` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_pickaxe` } } },
|
|
||||||
"axe_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "punch_last", "hit_second_last", "upset_third_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:axe_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_axe_head` } } },
|
|
||||||
"axe": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_axe` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_axe` } } },
|
|
||||||
"shovel_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "punch_last", "hit_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:shovel_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_shovel_head` } } },
|
|
||||||
"shovel": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_shovel` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_shovel` } } },
|
|
||||||
"hammer_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "punch_last", "shrink_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:hammer_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_hammer_head` } } },
|
|
||||||
"hammer": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_hammer` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_hammer` } } },
|
|
||||||
"hoe_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "punch_last", "hit_not_last", "bend_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:hoe_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_hoe_head` } } },
|
|
||||||
"hoe": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_hoe` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_hoe` } } },
|
|
||||||
"knife_blade": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "hit_last", "draw_second_last", "draw_third_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:knife_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_knife_head` } } },
|
|
||||||
"knife": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_knife` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_knife` } } },
|
|
||||||
"saw_blade": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "hit_last", "hit_second_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:saw_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_saw_head` } } },
|
|
||||||
"saw": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_saw` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_saw` } } },
|
|
||||||
"scythe_blade": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "hit_last", "draw_second_last", "bend_third_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:scythe_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_scythe_head` } } },
|
|
||||||
"scythe": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_scythe` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_scythe` } } },
|
|
||||||
"chisel_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "hit_last", "hit_not_last", "draw_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { item: `tfc:metal/chisel_head/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/chisel_head/${name}` } }, },
|
|
||||||
"chisel": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/chisel/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/chisel/${name}` } } },
|
|
||||||
"javelin_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "hit_last", "hit_second_last", "draw_third_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { item: `tfc:metal/javelin_head/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/javelin_head/${name}` } } },
|
|
||||||
"javelin": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/javelin/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/javelin/${name}` } } },
|
|
||||||
"propick_head": { heat_capacity: 2.857, metal_amount: 144, hasMold: true, rules: [ "punch_last", "draw_not_last", "bend_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { item: `tfc:metal/propick_head/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/propick_head/${name}` } } },
|
|
||||||
"propick": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/propick/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/propick/${name}` } } },
|
|
||||||
"mace_head": { heat_capacity: 5.714, metal_amount: 288, hasMold: true, rules: [ "hit_last", "shrink_not_last", "bend_not_last" ], anvilFrom: "double_ingot",
|
|
||||||
input: (name) => { return { item: `tfc:metal/mace_head/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/mace_head/${name}` } } },
|
|
||||||
"mace": { heat_capacity: 5.714, metal_amount: 288, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/mace/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/mace/${name}` } } },
|
|
||||||
"fish_hook": { heat_capacity: 5.714, metal_amount: 144, rules: [ "draw_not_last", "bend_any", "hit_any" ], anvilFrom: "sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/fish_hook/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/fish_hook/${name}` } } },
|
|
||||||
"fishing_rod": { heat_capacity: 5.714, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/fishing_rod/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/fishing_rod/${name}` } } },
|
|
||||||
"tuyere": { heat_capacity: 11.429, metal_amount: 288, hasDur: true, rules: [ "bend_last", "bend_second_last" ], anvilFrom: "double_sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/tuyere/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/tuyere/${name}` } } },
|
|
||||||
"shears": { heat_capacity: 5.714, metal_amount: 288, hasDur: true,
|
|
||||||
input: (name) => { return { item: `tfc:metal/shears/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/shears/${name}` } } },
|
|
||||||
"shield": { heat_capacity: 11.429, metal_amount: 288, hasDur: true, rules: [ "upset_last", "bend_second_last", "bend_third_last" ], anvilFrom: "double_sheet",
|
|
||||||
input: (name) => { return { item: `tfc:metal/shield/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/shield/${name}` } } },
|
|
||||||
|
|
||||||
"file_head": { heat_capacity: 2.857, metal_amount: 144, rules: [ "hit_last", "hit_not_last", "bend_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:file_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_file_head` } } },
|
|
||||||
"file": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_file` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_file` } } },
|
|
||||||
"knife_butchery_head": { heat_capacity: 2.857, metal_amount: 144, rules: [ "hit_last", "hit_not_last", "shrink_not_last" ], anvilFrom: "ingot",
|
|
||||||
input: (name) => { return { tag: `forge:butchery_knife_heads/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_knife_butchery_head` } } },
|
|
||||||
"butchery_knife": { heat_capacity: 2.857, metal_amount: 144, hasDur: true,
|
|
||||||
input: (name) => { return { item: `gtceu:${name}_butchery_knife` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_butchery_knife` } } },
|
|
||||||
|
|
||||||
|
|
||||||
"ingot": { heat_capacity: 2.857, metal_amount: 144, hasMold: true,
|
|
||||||
input: (name) => { return { tag: `forge:ingots/${name}` } },
|
|
||||||
output: (name) => { return { item: Item.of(`#forge:ingots/${name}`).getId() + "" } } },
|
|
||||||
"double_ingot": { heat_capacity: 5.714, metal_amount: 288,
|
|
||||||
input: (name) => { return { tag: `forge:ingots/double/${name}` } },
|
|
||||||
output: (name) => { return { item: `tfc:metal/double_ingot/${name}` } } },
|
|
||||||
"sheet": { heat_capacity: 5.714, metal_amount: 144, rules: [ "hit_last", "hit_second_last", "hit_third_last" ], anvilFrom: "double_ingot",
|
|
||||||
input: (name) => { return { tag: `forge:plates/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_plate` } } },
|
|
||||||
"double_sheet": { heat_capacity: 11.429, metal_amount: 288,
|
|
||||||
input: (name) => { return { tag: `forge:plates/double/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_double_plate` } } },
|
|
||||||
"rod": { heat_capacity: 1.429, metal_amount: 72, rules: [ "bend_last", "draw_second_last", "draw_third_last" ], anvilFrom: "ingot", outputCount: 2,
|
|
||||||
input: (name) => { return { tag: `forge:rods/${name}` } },
|
|
||||||
output: (name) => { return { item: `gtceu:${name}_rod` } } },
|
|
||||||
}
|
|
||||||
|
|
||||||
const Metals = {
|
|
||||||
"bismuth": { forging_temp: 162, welding_temp: 216, melt_temp: 270, fluidName: "gtceu:bismuth", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, oreGen, partGen) },
|
|
||||||
"brass": { forging_temp: 558, welding_temp: 744, melt_temp: 930, fluidName: "gtceu:brass", tier: 2, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen) },
|
|
||||||
"gold": { forging_temp: 636, welding_temp: 848, melt_temp: 1060, fluidName: "gtceu:gold", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, oreGen, partGen) },
|
|
||||||
"nickel": { forging_temp: 872, welding_temp: 1162, melt_temp: 1453, fluidName: "gtceu:nickel", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, oreGen, partGen) },
|
|
||||||
"rose_gold": { forging_temp: 576, welding_temp: 768, melt_temp: 960, fluidName: "gtceu:rose_gold", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen) },
|
|
||||||
"silver": { forging_temp: 577, welding_temp: 769, melt_temp: 961, fluidName: "gtceu:silver", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, oreGen, partGen) },
|
|
||||||
"tin": { forging_temp: 138, welding_temp: 184, melt_temp: 230, fluidName: "gtceu:tin", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, oreGen, partGen) },
|
|
||||||
"zinc": { forging_temp: 252, welding_temp: 336, melt_temp: 420, fluidName: "gtceu:zinc", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen) },
|
|
||||||
"sterling_silver": { forging_temp: 570, welding_temp: 760, melt_temp: 950, fluidName: "gtceu:sterling_silver", tier: 1, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen) },
|
|
||||||
"copper": { forging_temp: 648, welding_temp: 864, melt_temp: 1080, fluidName: "gtceu:copper", tier: 1, canBeUnmolded: true, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, oreGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"bismuth_bronze": { forging_temp: 591, welding_temp: 788, melt_temp: 985, fluidName: "gtceu:bismuth_bronze", tier: 2, canBeUnmolded: true, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"bronze": { forging_temp: 570, welding_temp: 760, melt_temp: 950, fluidName: "gtceu:bronze", tier: 1, canBeUnmolded: true, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"black_bronze": { forging_temp: 642, welding_temp: 856, melt_temp: 1070, fluidName: "gtceu:black_bronze", tier: 2, canBeUnmolded: true, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"wrought_iron": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:wrought_iron", tier: 3, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"iron": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:iron", tier: 3, props: [].concat(ingotGen, doubleIngotGen, dustGen, oreGen, /*gtToolGen,*/ /*partGen*/) },
|
|
||||||
// "cast_iron": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:iron", tier: 1, props: doubleIngotGen },
|
|
||||||
"pig_iron": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "tfc:metal/pig_iron", tier: 3, props: ingotGen},
|
|
||||||
"steel": { forging_temp: 924, welding_temp: 1232, melt_temp: 1540, fluidName: "gtceu:steel", tier: 4, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"high_carbon_black_steel": { forging_temp: 924, melt_temp: 1540, welding_temp: 1232, fluidName: "tfc:metal/high_carbon_black_steel", tier: 5, props: ingotGen },
|
|
||||||
"high_carbon_red_steel": { forging_temp: 924, melt_temp: 1540, welding_temp: 1232, fluidName: "tfc:metal/high_carbon_red_steel", tier: 5, props: ingotGen },
|
|
||||||
"high_carbon_blue_steel": { forging_temp: 924, melt_temp: 1540, welding_temp: 1232, fluidName: "tfc:metal/high_carbon_blue_steel", tier: 4, props: ingotGen },
|
|
||||||
"high_carbon_steel": { forging_temp: 924, melt_temp: 1540, welding_temp: 1232, fluidName: "tfc:metal/high_carbon_steel", tier: 3, props: ingotGen },
|
|
||||||
"weak_steel": { forging_temp: 924, welding_temp: 1232, melt_temp: 1540, fluidName: "tfc:metal/weak_steel", tier: 4, props: ingotGen },
|
|
||||||
"weak_red_steel": { forging_temp: 924, welding_temp: 1232, melt_temp: 1540, fluidName: "tfc:metal/weak_red_steel", tier: 5, props: ingotGen },
|
|
||||||
"weak_blue_steel": { forging_temp: 924, welding_temp: 1232, melt_temp: 1540, fluidName: "tfc:metal/weak_blue_steel", tier: 5, props: ingotGen },
|
|
||||||
"black_steel": { forging_temp: 891, welding_temp: 1188, melt_temp: 1485, fluidName: "gtceu:black_steel", tier: 5, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"red_steel": { forging_temp: 924, welding_temp: 1232, melt_temp: 1540, fluidName: "gtceu:red_steel", tier: 6, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"blue_steel": { forging_temp: 924, welding_temp: 1232, melt_temp: 1540, fluidName: "gtceu:blue_steel", tier: 6, props: [].concat(ingotGen, doubleIngotGen, nuggetGen, dustGen, partGen, armorGen, gtToolGen, tfcToolGen, utilityGen) },
|
|
||||||
"unknown": { forging_temp: 240, welding_temp: 320, melt_temp: 400, fluidName: "tfc:metal/unknown", tier: 1, props: ingotGen },
|
|
||||||
"cassiterite": { forging_temp: 138, welding_temp: 184, melt_temp: 230, fluidName: "gtceu:tin", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"garnierite": { forging_temp: 138, welding_temp: 184, melt_temp: 1453, fluidName: "gtceu:nickel", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"hematite": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:iron", tier: 3, props: [].concat(dustGen, oreGen) },
|
|
||||||
"yellow_limonite": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:iron", tier: 3, props: [].concat(dustGen, oreGen) },
|
|
||||||
"magnetite": { forging_temp: 138, welding_temp: 184, melt_temp: 1535, fluidName: "gtceu:iron", tier: 3, props: [].concat(dustGen, oreGen) },
|
|
||||||
"malachite": { forging_temp: 138, welding_temp: 184, melt_temp: 1080, fluidName: "gtceu:copper", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"pyrite": { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:iron", tier: 3, props: [].concat(dustGen, oreGen) },
|
|
||||||
"sphalerite": { forging_temp: 138, welding_temp: 184, melt_temp: 420, fluidName: "gtceu:zinc", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"tetrahedrite": { forging_temp: 138, welding_temp: 184, melt_temp: 1080, fluidName: "gtceu:copper", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"chalcopyrite" : { forging_temp: 648, welding_temp: 864, melt_temp: 1080, fluidName: "gtceu:copper", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"cassiterite_sand" : { forging_temp: 138, welding_temp: 184, melt_temp: 230, fluidName: "gtceu:tin", tier: 1, props: [].concat(dustGen, oreGen) },
|
|
||||||
"goethite" : { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, fluidName: "gtceu:iron", tier: 3, props: [].concat(dustGen, oreGen) }
|
|
||||||
}
|
|
||||||
|
|
||||||
const removeAllTagTFCItems = [
|
|
||||||
// Ingots
|
|
||||||
'tfc:metal/ingot/bismuth',
|
|
||||||
'tfc:metal/ingot/bismuth_bronze',
|
|
||||||
'tfc:metal/ingot/black_bronze',
|
|
||||||
'tfc:metal/ingot/bronze',
|
|
||||||
'tfc:metal/ingot/rose_gold',
|
|
||||||
'tfc:metal/ingot/sterling_silver',
|
|
||||||
'tfc:metal/ingot/wrought_iron',
|
|
||||||
'tfc:metal/ingot/cast_iron',
|
|
||||||
'tfc:metal/ingot/steel',
|
|
||||||
'tfc:metal/ingot/black_steel',
|
|
||||||
'tfc:metal/ingot/red_steel',
|
|
||||||
'tfc:metal/ingot/blue_steel',
|
|
||||||
'tfc:metal/ingot/brass',
|
|
||||||
'tfc:metal/ingot/copper',
|
|
||||||
'tfc:metal/ingot/gold',
|
|
||||||
'tfc:metal/ingot/nickel',
|
|
||||||
'tfc:metal/ingot/silver',
|
|
||||||
'tfc:metal/ingot/tin',
|
|
||||||
'tfc:metal/ingot/zinc',
|
|
||||||
// Sheets
|
|
||||||
'tfc:metal/sheets/bismuth',
|
|
||||||
'tfc:metal/sheets/bismuth_bronze',
|
|
||||||
'tfc:metal/sheets/black_bronze',
|
|
||||||
'tfc:metal/sheets/bronze',
|
|
||||||
'tfc:metal/sheets/rose_gold',
|
|
||||||
'tfc:metal/sheets/sterling_silver',
|
|
||||||
'tfc:metal/sheets/wrought_iron',
|
|
||||||
'tfc:metal/sheets/cast_iron',
|
|
||||||
'tfc:metal/sheets/steel',
|
|
||||||
'tfc:metal/sheets/black_steel',
|
|
||||||
'tfc:metal/sheets/red_steel',
|
|
||||||
'tfc:metal/sheets/blue_steel',
|
|
||||||
'tfc:metal/sheets/brass',
|
|
||||||
'tfc:metal/sheets/copper',
|
|
||||||
'tfc:metal/sheets/gold',
|
|
||||||
'tfc:metal/sheets/nickel',
|
|
||||||
'tfc:metal/sheets/silver',
|
|
||||||
'tfc:metal/sheets/tin',
|
|
||||||
'tfc:metal/sheets/zinc',
|
|
||||||
// Double Sheets
|
|
||||||
'tfc:metal/double_sheets/bismuth',
|
|
||||||
'tfc:metal/double_sheets/bismuth_bronze',
|
|
||||||
'tfc:metal/double_sheets/black_bronze',
|
|
||||||
'tfc:metal/double_sheets/bronze',
|
|
||||||
'tfc:metal/double_sheets/rose_gold',
|
|
||||||
'tfc:metal/double_sheets/sterling_silver',
|
|
||||||
'tfc:metal/double_sheets/wrought_iron',
|
|
||||||
'tfc:metal/double_sheets/cast_iron',
|
|
||||||
'tfc:metal/double_sheets/steel',
|
|
||||||
'tfc:metal/double_sheets/black_steel',
|
|
||||||
'tfc:metal/double_sheets/red_steel',
|
|
||||||
'tfc:metal/double_sheets/blue_steel',
|
|
||||||
'tfc:metal/double_sheets/brass',
|
|
||||||
'tfc:metal/double_sheets/copper',
|
|
||||||
'tfc:metal/double_sheets/gold',
|
|
||||||
'tfc:metal/double_sheets/nickel',
|
|
||||||
'tfc:metal/double_sheets/silver',
|
|
||||||
'tfc:metal/double_sheets/tin',
|
|
||||||
'tfc:metal/double_sheets/zinc',
|
|
||||||
// Rods
|
|
||||||
'tfc:metal/rods/bismuth',
|
|
||||||
'tfc:metal/rods/bismuth_bronze',
|
|
||||||
'tfc:metal/rods/black_bronze',
|
|
||||||
'tfc:metal/rods/bronze',
|
|
||||||
'tfc:metal/rods/rose_gold',
|
|
||||||
'tfc:metal/rods/sterling_silver',
|
|
||||||
'tfc:metal/rods/wrought_iron',
|
|
||||||
'tfc:metal/rods/cast_iron',
|
|
||||||
'tfc:metal/rods/steel',
|
|
||||||
'tfc:metal/rods/black_steel',
|
|
||||||
'tfc:metal/rods/red_steel',
|
|
||||||
'tfc:metal/rods/blue_steel',
|
|
||||||
'tfc:metal/rods/brass',
|
|
||||||
'tfc:metal/rods/copper',
|
|
||||||
'tfc:metal/rods/gold',
|
|
||||||
'tfc:metal/rods/nickel',
|
|
||||||
'tfc:metal/rods/silver',
|
|
||||||
'tfc:metal/rods/tin',
|
|
||||||
'tfc:metal/rods/zinc',
|
|
||||||
|
|
||||||
'tfc:ore/amethyst',
|
|
||||||
'tfc:ore/diamond',
|
|
||||||
'tfc:ore/lapis_lazuli',
|
|
||||||
'tfc:ore/emerald',
|
|
||||||
'tfc:ore/pyrite',
|
|
||||||
'tfc:ore/opal',
|
|
||||||
'tfc:ore/ruby',
|
|
||||||
'tfc:ore/sapphire',
|
|
||||||
'tfc:ore/topaz',
|
|
||||||
|
|
||||||
'tfc:gem/amethyst',
|
|
||||||
'tfc:gem/diamond',
|
|
||||||
'tfc:gem/lapis_lazuli',
|
|
||||||
'tfc:gem/emerald',
|
|
||||||
'tfc:gem/pyrite',
|
|
||||||
'tfc:gem/opal',
|
|
||||||
'tfc:gem/ruby',
|
|
||||||
'tfc:gem/sapphire',
|
|
||||||
'tfc:gem/topaz',
|
|
||||||
|
|
||||||
'tfc:ore/bituminous_coal',
|
|
||||||
'tfc:ore/lignite'
|
|
||||||
]
|
|
||||||
|
|
@ -12,12 +12,15 @@ const registerTFCData = (event) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const registerAutoTFCItemHeats = (event) => {
|
const registerAutoTFCItemHeats = (event) => {
|
||||||
for (const [tfcMetalName, metalSpecifications] of Object.entries(Metals)) {
|
Object.entries(global.METAL_TO_SPECS).forEach(pair => {
|
||||||
|
let tfcMetalName = pair[0]
|
||||||
|
let metalSpecifications = pair[1]
|
||||||
|
|
||||||
metalSpecifications.props.forEach(propertyName => {
|
metalSpecifications.props.forEach(propertyName => {
|
||||||
let itemType = ItemHeats[propertyName]
|
let itemType = global.ITEM_TAG_TO_HEAT[propertyName]
|
||||||
let pathToExistFile = `tfc:tfc/item_heats/metal/${tfcMetalName}_${propertyName}`
|
let pathToExistFile = `tfc:tfc/item_heats/metal/${tfcMetalName}_${propertyName}`
|
||||||
|
|
||||||
if (itemType.heat_capacity == null) addEmptyJson(event, pathToExistFile)
|
if (itemType.heat_capacity == null) global.CREATE_EMPTY_JSON(event, pathToExistFile)
|
||||||
else addItemHeat(
|
else addItemHeat(
|
||||||
event,
|
event,
|
||||||
`metal/${tfcMetalName}_${propertyName}`,
|
`metal/${tfcMetalName}_${propertyName}`,
|
||||||
|
|
@ -27,5 +30,5 @@ const registerAutoTFCItemHeats = (event) => {
|
||||||
metalSpecifications.welding_temp
|
metalSpecifications.welding_temp
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -674,6 +674,29 @@ const registerTFCRecipes = (event) => {
|
||||||
B: 'tfc:pumpkin'
|
B: 'tfc:pumpkin'
|
||||||
}).id('tfc:crafting/pumpkin_chunks_knife')
|
}).id('tfc:crafting/pumpkin_chunks_knife')
|
||||||
|
|
||||||
|
// Blast Furnace
|
||||||
|
event.shaped('tfc:blast_furnace', [
|
||||||
|
'AAA',
|
||||||
|
'ABA',
|
||||||
|
'AAA'
|
||||||
|
], {
|
||||||
|
A: '#forge:sheets/wrought_iron',
|
||||||
|
B: 'tfc:crucible'
|
||||||
|
}).id('tfc:crafting/blast_furnace')
|
||||||
|
|
||||||
|
// Декрафт деревянной херни в деревянную пыль
|
||||||
|
Object.entries(global.TFC_WOOD_ITEM_TYPES_TO_WOOD_DUST).forEach(pair => {
|
||||||
|
|
||||||
|
let typeName = pair[1].name
|
||||||
|
let typeOutput = pair[1].output
|
||||||
|
|
||||||
|
event.recipes.gtceu.macerator(`tfg/macerate_${typeName}`)
|
||||||
|
.itemInputs(pair[0])
|
||||||
|
.itemOutputs(typeOutput)
|
||||||
|
.duration(600)
|
||||||
|
.EUt(2)
|
||||||
|
})
|
||||||
|
|
||||||
// Copper Anvil из Слитков
|
// Copper Anvil из Слитков
|
||||||
event.recipes.gtceu.alloy_smelter('ingots_to_copper_anvil')
|
event.recipes.gtceu.alloy_smelter('ingots_to_copper_anvil')
|
||||||
.itemInputs('14x #forge:ingots/copper')
|
.itemInputs('14x #forge:ingots/copper')
|
||||||
|
|
@ -898,7 +921,7 @@ const registerTFCRecipes = (event) => {
|
||||||
.duration(10)
|
.duration(10)
|
||||||
.EUt(16)
|
.EUt(16)
|
||||||
|
|
||||||
global.sandColors.forEach(sandColor => {
|
global.SAND_COLORS.forEach(sandColor => {
|
||||||
// Raw SandStone -> Sand
|
// Raw SandStone -> Sand
|
||||||
event.recipes.gtceu.forge_hammer(`raw_${sandColor}_sandstone_to_sand`)
|
event.recipes.gtceu.forge_hammer(`raw_${sandColor}_sandstone_to_sand`)
|
||||||
.itemInputs(`tfc:raw_sandstone/${sandColor}`)
|
.itemInputs(`tfc:raw_sandstone/${sandColor}`)
|
||||||
|
|
@ -945,7 +968,7 @@ const registerTFCRecipes = (event) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
// Рецепты бесконечного камня в RockBreaker
|
// Рецепты бесконечного камня в RockBreaker
|
||||||
global.allTFCStoneTypeNames.forEach(stoneTypeName => {
|
global.TFC_STONE_TYPES.forEach(stoneTypeName => {
|
||||||
event.recipes.gtceu.rock_breaker(`raw_${stoneTypeName}`)
|
event.recipes.gtceu.rock_breaker(`raw_${stoneTypeName}`)
|
||||||
.notConsumable(`tfc:rock/raw/${stoneTypeName}`)
|
.notConsumable(`tfc:rock/raw/${stoneTypeName}`)
|
||||||
.itemOutputs(`tfc:rock/raw/${stoneTypeName}`)
|
.itemOutputs(`tfc:rock/raw/${stoneTypeName}`)
|
||||||
|
|
@ -958,22 +981,20 @@ const registerTFCRecipes = (event) => {
|
||||||
.duration(16)
|
.duration(16)
|
||||||
.EUt(7)
|
.EUt(7)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const registerAutoTFCHeatingRecipes = (event) => {
|
const registerAutoTFCHeatingRecipes = (event) => {
|
||||||
for (const [tfcMetalName, metalSpecifications] of Object.entries(Metals)) {
|
Object.entries(global.METAL_TO_SPECS).forEach(pair => {
|
||||||
|
let tfcMetalName = pair[0]
|
||||||
|
let metalSpecifications = pair[1]
|
||||||
|
|
||||||
metalSpecifications.props.forEach(propertyName => {
|
metalSpecifications.props.forEach(propertyName => {
|
||||||
let jsonRecipePath = `tfc:recipes/heating/tfg/${tfcMetalName}_${propertyName}`
|
let jsonRecipePath = `tfc:recipes/heating/tfg/${tfcMetalName}_${propertyName}`
|
||||||
let itemTypeSpecifications = ItemHeats[propertyName]
|
let itemTypeSpecifications = global.ITEM_TAG_TO_HEAT[propertyName]
|
||||||
|
|
||||||
if (itemTypeSpecifications.heat_capacity != null) {
|
if (itemTypeSpecifications.heat_capacity != null) {
|
||||||
let ingredientInput = itemTypeSpecifications.input(tfcMetalName)
|
let ingredientInput = itemTypeSpecifications.input(tfcMetalName)
|
||||||
|
|
||||||
let json
|
|
||||||
|
|
||||||
if (typeof(itemTypeSpecifications.metal_amount) == "object")
|
if (typeof(itemTypeSpecifications.metal_amount) == "object")
|
||||||
{
|
{
|
||||||
if (itemTypeSpecifications.metal_amount[tfcMetalName] != undefined)
|
if (itemTypeSpecifications.metal_amount[tfcMetalName] != undefined)
|
||||||
|
|
@ -1011,13 +1032,16 @@ const registerAutoTFCHeatingRecipes = (event) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const registerAutoTFCCastingRecipes = (event) => {
|
const registerAutoTFCCastingRecipes = (event) => {
|
||||||
for (const [tfcMetalName, metalSpecifications] of Object.entries(Metals)) {
|
Object.entries(global.METAL_TO_SPECS).forEach(pair => {
|
||||||
|
let tfcMetalName = pair[0]
|
||||||
|
let metalSpecifications = pair[1]
|
||||||
|
|
||||||
metalSpecifications.props.forEach(propertyName => {
|
metalSpecifications.props.forEach(propertyName => {
|
||||||
let property = ItemHeats[propertyName]
|
let property = global.ITEM_TAG_TO_HEAT[propertyName]
|
||||||
|
|
||||||
if (property.hasMold != undefined)
|
if (property.hasMold != undefined)
|
||||||
{
|
{
|
||||||
|
|
@ -1048,19 +1072,22 @@ const registerAutoTFCCastingRecipes = (event) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const registerAutoTFCAnvilRecipes = (event) => {
|
const registerAutoTFCAnvilRecipes = (event) => {
|
||||||
for (const [tfcMetalName, metalSpecifications] of Object.entries(Metals)) {
|
Object.entries(global.METAL_TO_SPECS).forEach(pair => {
|
||||||
|
let tfcMetalName = pair[0]
|
||||||
|
let metalSpecifications = pair[1]
|
||||||
|
|
||||||
metalSpecifications.props.forEach(propertyName => {
|
metalSpecifications.props.forEach(propertyName => {
|
||||||
let property = ItemHeats[propertyName]
|
let property = global.ITEM_TAG_TO_HEAT[propertyName]
|
||||||
|
|
||||||
if (property.rules != undefined)
|
if (property.rules != undefined)
|
||||||
{
|
{
|
||||||
let recipeId = `tfc:recipes/anvil/tfg/${propertyName}_${tfcMetalName}`
|
let recipeId = `tfc:recipes/anvil/tfg/${propertyName}_${tfcMetalName}`
|
||||||
|
|
||||||
let innerProp = ItemHeats[property.anvilFrom]
|
let innerProp = global.ITEM_TAG_TO_HEAT[property.anvilFrom]
|
||||||
let input = innerProp.input(tfcMetalName)
|
let input = innerProp.input(tfcMetalName)
|
||||||
let output = property.output(tfcMetalName)
|
let output = property.output(tfcMetalName)
|
||||||
|
|
||||||
|
|
@ -1069,5 +1096,5 @@ const registerAutoTFCAnvilRecipes = (event) => {
|
||||||
addAnvilRecipe(event, recipeId, input, output, metalSpecifications.tier, property.rules)
|
addAnvilRecipe(event, recipeId, input, output, metalSpecifications.tier, property.rules)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -1,10 +1,17 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
const registerTFCItemTags = (event) => {
|
const registerTFCItemTags = (event) => {
|
||||||
removeAllTagTFCItems.forEach(item => {
|
global.TFC_DISABLED_ITEMS.forEach(item => {
|
||||||
event.removeAllTagsFrom(item)
|
event.removeAllTagsFrom(item)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
global.TFC_WOOD_TYPES.forEach(woodType => {
|
||||||
|
event.add('tfg:only_default_wooden_chests', `tfc:wood/chest/${woodType}`)
|
||||||
|
event.add('tfg:only_trapped_wooden_chests', `tfc:wood/trapped_chest/${woodType}`)
|
||||||
|
|
||||||
|
event.add('tfg:bladed_axles', `tfc:wood/bladed_axle/${woodType}`)
|
||||||
|
})
|
||||||
|
|
||||||
event.remove('forge:dusts/iron', 'tfc:powder/limonite')
|
event.remove('forge:dusts/iron', 'tfc:powder/limonite')
|
||||||
event.remove('forge:dusts/iron', 'tfc:powder/magnetite')
|
event.remove('forge:dusts/iron', 'tfc:powder/magnetite')
|
||||||
event.remove('forge:dusts/iron', 'tfc:powder/hematite')
|
event.remove('forge:dusts/iron', 'tfc:powder/hematite')
|
||||||
|
|
@ -62,14 +69,14 @@ const registerTFCItemTags = (event) => {
|
||||||
event.add('tfc:monster_spawns_on', '#forge:tfc_stonetype_ore')
|
event.add('tfc:monster_spawns_on', '#forge:tfc_stonetype_ore')
|
||||||
event.add('tfc:prospectable', '#forge:tfc_stonetype_ore')
|
event.add('tfc:prospectable', '#forge:tfc_stonetype_ore')
|
||||||
|
|
||||||
global.allTFCStoneTypeNames.forEach(stoneTypeName => {
|
global.TFC_STONE_TYPES.forEach(stoneTypeName => {
|
||||||
global.slabTypes.forEach(slabType => {
|
global.TFC_ROCK_SLAB_BLOCK_TYPES.forEach(slabType => {
|
||||||
event.add(`tfc:rock_slabs`, `tfc:rock/${slabType}/${stoneTypeName}_slab`)
|
event.add(`tfc:rock_slabs`, `tfc:rock/${slabType}/${stoneTypeName}_slab`)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const registerTFCBlocksTags = (event) => {
|
const registerTFCBlockTags = (event) => {
|
||||||
event.add('tfc:glass_basin_blocks', 'gtceu:brass_block')
|
event.add('tfc:glass_basin_blocks', 'gtceu:brass_block')
|
||||||
event.add('tfc:glass_pouring_table', 'gtceu:brass_block')
|
event.add('tfc:glass_pouring_table', 'gtceu:brass_block')
|
||||||
}
|
}
|
||||||
|
|
@ -1,42 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
|
||||||
/**
|
|
||||||
* Нужен для того, чтобы удалять рецепты или блокировать json файлы,
|
|
||||||
* которые нельзя удалить по id (допустим нагревательные спецификации предметов).
|
|
||||||
* Рекомендуется не использовать.
|
|
||||||
*/
|
|
||||||
const emptyJson = {
|
|
||||||
conditions: [
|
|
||||||
{ type: "forge:false" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Генерирует рандомную строку.
|
|
||||||
* @param { Number } length Длина строки.
|
|
||||||
* @returns Строка из рандомных символов.
|
|
||||||
*/
|
|
||||||
const makeId = (length) => {
|
|
||||||
let result = '';
|
|
||||||
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
||||||
const charactersLength = characters.length;
|
|
||||||
let counter = 0;
|
|
||||||
while (counter < length) {
|
|
||||||
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
||||||
counter += 1;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Вставляет пустой json, по пути и блокирует что-либо по этому пути.
|
|
||||||
* @param { ServerEvents.highPriorityData } event Событие в котором вызывается.
|
|
||||||
* @param { String } path Путь по которому нужно вставить пустой json.
|
|
||||||
*/
|
|
||||||
const addEmptyJson = (event, path) => {
|
|
||||||
event.addJson(path, emptyJson)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Метод создает нагревательную спецификацию json для предмета.
|
* Метод создает нагревательную спецификацию json для предмета.
|
||||||
* Используется только в событии генерации датапаков, не является рецептом.
|
* Используется только в событии генерации датапаков, не является рецептом.
|
||||||
|
|
@ -72,7 +35,7 @@ const addItemHeat = (event, customPath, input, heat_capacity, forging_temperatur
|
||||||
|
|
||||||
|
|
||||||
event.addJson((customPath == null) ? defaultPath + makeId(20) : defaultPath + customPath, json)
|
event.addJson((customPath == null) ? defaultPath + makeId(20) : defaultPath + customPath, json)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепта нагрева, предмет -> жидкость, в основном используется для металлов.
|
* Создает рецепта нагрева, предмет -> жидкость, в основном используется для металлов.
|
||||||
|
|
@ -90,7 +53,7 @@ const addHeatingItemToFluidRecipe = (event, recipeId, input, result_fluid, tempe
|
||||||
temperature: temperature,
|
temperature: temperature,
|
||||||
use_durability: useDurab
|
use_durability: useDurab
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт нагрева, предмет -> предмет, в основном используется для обычных предметов.
|
* Создает рецепт нагрева, предмет -> предмет, в основном используется для обычных предметов.
|
||||||
|
|
@ -107,7 +70,7 @@ const addHeatingItemToItemRecipe = (event, recipeId, input, result_item, tempera
|
||||||
result_item: result_item,
|
result_item: result_item,
|
||||||
temperature: temperature
|
temperature: temperature
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт для доменной печки лоу тира.
|
* Создает рецепт для доменной печки лоу тира.
|
||||||
|
|
@ -126,7 +89,7 @@ const addBloomeryRecipe = (event, recipeId, result, fluid, catalyst, duration) =
|
||||||
catalyst: catalyst,
|
catalyst: catalyst,
|
||||||
duration: duration
|
duration: duration
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт для доменной печки нормал тира.
|
* Создает рецепт для доменной печки нормал тира.
|
||||||
|
|
@ -143,7 +106,7 @@ const addTFCBlastFurnaceRecipe = (event, recipeId, fluid, result, catalyst) => {
|
||||||
result: result,
|
result: result,
|
||||||
catalyst: catalyst
|
catalyst: catalyst
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт отливки чего-либо из молда в предмет.
|
* Создает рецепт отливки чего-либо из молда в предмет.
|
||||||
|
|
@ -162,7 +125,7 @@ const addCastingRecipe = (event, recipeId, inputMold, fluidInMold, resultOutput,
|
||||||
result: resultOutput,
|
result: resultOutput,
|
||||||
break_chance: break_chance
|
break_chance: break_chance
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт наковальни.
|
* Создает рецепт наковальни.
|
||||||
|
|
@ -181,7 +144,7 @@ const addAnvilRecipe = (event, recipeId, input, result, tier, rules) => {
|
||||||
tier: tier,
|
tier: tier,
|
||||||
rules: rules
|
rules: rules
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт сварки.
|
* Создает рецепт сварки.
|
||||||
|
|
@ -200,7 +163,7 @@ const addWeldingRecipe = (event, recipeId, input1, input2, output, tier) => {
|
||||||
result: output,
|
result: output,
|
||||||
tier: tier,
|
tier: tier,
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Создает рецепт дробилки.
|
* Создает рецепт дробилки.
|
||||||
|
|
@ -215,5 +178,4 @@ const addQuernRecipe = (event, recipeId, input, output) => {
|
||||||
ingredient: input,
|
ingredient: input,
|
||||||
result: output
|
result: output
|
||||||
}).id(recipeId)
|
}).id(recipeId)
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
@ -1,70 +1,3 @@
|
||||||
// priority: 1000
|
// priority: 0
|
||||||
|
|
||||||
global.allTFCStoneTypeNames = [
|
// Empty here
|
||||||
'gabbro',
|
|
||||||
'shale',
|
|
||||||
'claystone',
|
|
||||||
'limestone',
|
|
||||||
'conglomerate',
|
|
||||||
'dolomite',
|
|
||||||
'chert',
|
|
||||||
'chalk',
|
|
||||||
'rhyolite',
|
|
||||||
'dacite',
|
|
||||||
'quartzite',
|
|
||||||
'slate',
|
|
||||||
'phyllite',
|
|
||||||
'schist',
|
|
||||||
'gneiss',
|
|
||||||
'marble',
|
|
||||||
'basalt',
|
|
||||||
'diorite',
|
|
||||||
'andesite',
|
|
||||||
'granite'
|
|
||||||
];
|
|
||||||
|
|
||||||
global.allTFCStoneTypeNamesWithoutDups = [
|
|
||||||
'gabbro',
|
|
||||||
'shale',
|
|
||||||
'claystone',
|
|
||||||
'limestone',
|
|
||||||
'conglomerate',
|
|
||||||
'dolomite',
|
|
||||||
'chert',
|
|
||||||
'chalk',
|
|
||||||
'rhyolite',
|
|
||||||
'dacite',
|
|
||||||
'quartzite',
|
|
||||||
'slate',
|
|
||||||
'phyllite',
|
|
||||||
'schist',
|
|
||||||
'gneiss',
|
|
||||||
'marble'
|
|
||||||
];
|
|
||||||
|
|
||||||
global.allTFCStoneTypeNamesOnlyDups = [
|
|
||||||
'basalt',
|
|
||||||
'diorite',
|
|
||||||
'andesite',
|
|
||||||
'granite'
|
|
||||||
];
|
|
||||||
|
|
||||||
global.slabTypes = [
|
|
||||||
'raw',
|
|
||||||
'smooth',
|
|
||||||
'bricks',
|
|
||||||
'cobble',
|
|
||||||
'mossy_bricks',
|
|
||||||
'mossy_cobble',
|
|
||||||
'cracked_bricks'
|
|
||||||
];
|
|
||||||
|
|
||||||
global.sandColors = [
|
|
||||||
'brown',
|
|
||||||
'white',
|
|
||||||
'black',
|
|
||||||
'red',
|
|
||||||
'yellow',
|
|
||||||
'green',
|
|
||||||
'pink'
|
|
||||||
]
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
// priority: 199
|
// priority: 0
|
||||||
|
|
||||||
const createItemsToHide = [
|
/**
|
||||||
|
* Список хранит предметы,
|
||||||
|
* у которых должны быть удалены тэги и они должны быть скрыты в REI.
|
||||||
|
*/
|
||||||
|
global.CREATE_DISABLED_ITEMS = [
|
||||||
"create:zinc_ore",
|
"create:zinc_ore",
|
||||||
"create:deepslate_zinc_ore",
|
"create:deepslate_zinc_ore",
|
||||||
"create:crushed_raw_silver",
|
"create:crushed_raw_silver",
|
||||||
|
|
@ -14,4 +18,4 @@ const createItemsToHide = [
|
||||||
"create:brass_ingot",
|
"create:brass_ingot",
|
||||||
'create:wheat_flour',
|
'create:wheat_flour',
|
||||||
'create:wheat_flour'
|
'create:wheat_flour'
|
||||||
]
|
];
|
||||||
|
|
@ -5,4 +5,4 @@ const registerCreateItems = (event) => {
|
||||||
.displayName('Galvanized Iron')
|
.displayName('Galvanized Iron')
|
||||||
.maxStackSize(16)
|
.maxStackSize(16)
|
||||||
.texture("kubejs:item/galvanized_iron")
|
.texture("kubejs:item/galvanized_iron")
|
||||||
}
|
};
|
||||||
5
kubejs/startup_scripts/extended_crafting/constants.js
Normal file
5
kubejs/startup_scripts/extended_crafting/constants.js
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
global.EXTENDED_CRAFTING_DISABLED_ITEMS = [
|
||||||
|
"extendedcrafting:singularity",
|
||||||
|
];
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// priority: 199
|
// priority: 0
|
||||||
|
|
||||||
const gtItemsToHide = [
|
global.GTCEU_DISABLED_ITEMS = [
|
||||||
'gtceu:flint_mortar',
|
'gtceu:flint_mortar',
|
||||||
'gtceu:flint_knife',
|
'gtceu:flint_knife',
|
||||||
'gtceu:firebrick',
|
'gtceu:firebrick',
|
||||||
|
|
@ -12,19 +12,4 @@ const gtItemsToHide = [
|
||||||
'gtceu:wheat_tiny_dust',
|
'gtceu:wheat_tiny_dust',
|
||||||
'gtceu:wood_drill_head',
|
'gtceu:wood_drill_head',
|
||||||
'gtceu:wood_chainsaw_head'
|
'gtceu:wood_chainsaw_head'
|
||||||
]
|
];
|
||||||
|
|
||||||
const stoneTypesToHide = [
|
|
||||||
"sand",
|
|
||||||
"red_sand",
|
|
||||||
"gravel",
|
|
||||||
"ore",
|
|
||||||
"deepslate",
|
|
||||||
"basalt",
|
|
||||||
"endstone",
|
|
||||||
"netherrack",
|
|
||||||
"andesite",
|
|
||||||
"diorite",
|
|
||||||
"granite",
|
|
||||||
"tuff"
|
|
||||||
]
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
// priority: 999
|
|
||||||
StartupEvents.registry('item', event =>
|
|
||||||
{
|
|
||||||
registerCreateItems(event);
|
|
||||||
})
|
|
||||||
15
kubejs/startup_scripts/main_startup_script.js
Normal file
15
kubejs/startup_scripts/main_startup_script.js
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
// priority: 1
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Событие регистрации предметов.
|
||||||
|
*/
|
||||||
|
StartupEvents.registry('item', (event) => {
|
||||||
|
registerCreateItems(event);
|
||||||
|
})
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Событие регистрации блоков.
|
||||||
|
*/
|
||||||
|
StartupEvents.registry('block', (event) => {
|
||||||
|
|
||||||
|
})
|
||||||
168
kubejs/startup_scripts/minecraft/constants.js
Normal file
168
kubejs/startup_scripts/minecraft/constants.js
Normal file
|
|
@ -0,0 +1,168 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Список хранит предметы,
|
||||||
|
* у которых должны быть удалены тэги и они должны быть скрыты в REI.
|
||||||
|
*/
|
||||||
|
global.MINECRAFT_DISABLED_ITEMS = [
|
||||||
|
'minecraft:oak_wood',
|
||||||
|
'minecraft:stripped_oak_wood',
|
||||||
|
'minecraft:oak_log',
|
||||||
|
'minecraft:stripped_oak_log',
|
||||||
|
'minecraft:oak_planks',
|
||||||
|
'minecraft:oak_stairs',
|
||||||
|
'minecraft:oak_slab',
|
||||||
|
'minecraft:oak_pressure_plate',
|
||||||
|
'minecraft:oak_fence',
|
||||||
|
'minecraft:oak_fence_gate',
|
||||||
|
'minecraft:oak_door',
|
||||||
|
'minecraft:oak_trapdoor',
|
||||||
|
'minecraft:oak_boat',
|
||||||
|
'minecraft:oak_chest_boat',
|
||||||
|
'minecraft:oak_sign',
|
||||||
|
'minecraft:oak_hanging_sign',
|
||||||
|
'minecraft:oak_button',
|
||||||
|
|
||||||
|
// Other
|
||||||
|
'minecraft:bookshelf',
|
||||||
|
'minecraft:chiseled_bookshelf',
|
||||||
|
'minecraft:sand',
|
||||||
|
'minecraft:suspicious_sand',
|
||||||
|
'minecraft:red_sand',
|
||||||
|
|
||||||
|
'minecraft:wheat',
|
||||||
|
'minecraft:composter',
|
||||||
|
'minecraft:barrel',
|
||||||
|
'minecraft:blast_furnace',
|
||||||
|
'minecraft:furnace',
|
||||||
|
'minecraft:furnace_minecart',
|
||||||
|
|
||||||
|
'minecraft:anvil',
|
||||||
|
'minecraft:chipped_anvil',
|
||||||
|
'minecraft:damaged_anvil',
|
||||||
|
|
||||||
|
// Ores
|
||||||
|
'minecraft:netherite_scrap',
|
||||||
|
'minecraft:netherite_ingot',
|
||||||
|
'minecraft:netherite_block',
|
||||||
|
'minecraft:smithing_table',
|
||||||
|
'minecraft:netherite_block',
|
||||||
|
'minecraft:coal_ore',
|
||||||
|
'minecraft:deepslate_coal_ore',
|
||||||
|
'minecraft:iron_ore',
|
||||||
|
'minecraft:deepslate_iron_ore',
|
||||||
|
'minecraft:copper_ore',
|
||||||
|
'minecraft:deepslate_copper_ore',
|
||||||
|
'minecraft:gold_ore',
|
||||||
|
'minecraft:deepslate_gold_ore',
|
||||||
|
'minecraft:redstone_ore',
|
||||||
|
'minecraft:deepslate_redstone_ore',
|
||||||
|
'minecraft:emerald_ore',
|
||||||
|
'minecraft:deepslate_emerald_ore',
|
||||||
|
'minecraft:lapis_ore',
|
||||||
|
'minecraft:deepslate_lapis_ore',
|
||||||
|
'minecraft:diamond_ore',
|
||||||
|
'minecraft:deepslate_diamond_ore',
|
||||||
|
'minecraft:nether_gold_ore',
|
||||||
|
'minecraft:nether_quartz_ore',
|
||||||
|
'minecraft:ancient_debris',
|
||||||
|
|
||||||
|
// Tools
|
||||||
|
'minecraft:wooden_sword',
|
||||||
|
'minecraft:wooden_pickaxe',
|
||||||
|
'minecraft:wooden_axe',
|
||||||
|
'minecraft:wooden_shovel',
|
||||||
|
'minecraft:wooden_hoe',
|
||||||
|
|
||||||
|
'minecraft:stone_sword',
|
||||||
|
'minecraft:stone_pickaxe',
|
||||||
|
'minecraft:stone_axe',
|
||||||
|
'minecraft:stone_shovel',
|
||||||
|
'minecraft:stone_hoe',
|
||||||
|
|
||||||
|
'minecraft:iron_sword',
|
||||||
|
'minecraft:iron_pickaxe',
|
||||||
|
'minecraft:iron_axe',
|
||||||
|
'minecraft:iron_shovel',
|
||||||
|
'minecraft:iron_hoe',
|
||||||
|
|
||||||
|
'minecraft:golden_sword',
|
||||||
|
'minecraft:golden_pickaxe',
|
||||||
|
'minecraft:golden_axe',
|
||||||
|
'minecraft:golden_shovel',
|
||||||
|
'minecraft:golden_hoe',
|
||||||
|
|
||||||
|
'minecraft:diamond_sword',
|
||||||
|
'minecraft:diamond_pickaxe',
|
||||||
|
'minecraft:diamond_axe',
|
||||||
|
'minecraft:diamond_shovel',
|
||||||
|
'minecraft:diamond_hoe',
|
||||||
|
|
||||||
|
'minecraft:netherite_sword',
|
||||||
|
'minecraft:netherite_pickaxe',
|
||||||
|
'minecraft:netherite_axe',
|
||||||
|
'minecraft:netherite_shovel',
|
||||||
|
'minecraft:netherite_hoe',
|
||||||
|
|
||||||
|
// Armor
|
||||||
|
// Horse
|
||||||
|
'minecraft:iron_horse_armor',
|
||||||
|
'minecraft:golden_horse_armor',
|
||||||
|
'minecraft:diamond_horse_armor',
|
||||||
|
// Player
|
||||||
|
'minecraft:netherite_helmet',
|
||||||
|
'minecraft:netherite_chestplate',
|
||||||
|
'minecraft:netherite_leggings',
|
||||||
|
'minecraft:netherite_boots',
|
||||||
|
'minecraft:golden_helmet',
|
||||||
|
'minecraft:golden_chestplate',
|
||||||
|
'minecraft:golden_leggings',
|
||||||
|
'minecraft:golden_boots',
|
||||||
|
'minecraft:iron_helmet',
|
||||||
|
'minecraft:iron_chestplate',
|
||||||
|
'minecraft:iron_leggings',
|
||||||
|
'minecraft:iron_boots',
|
||||||
|
'minecraft:chainmail_helmet',
|
||||||
|
'minecraft:chainmail_chestplate',
|
||||||
|
'minecraft:chainmail_leggings',
|
||||||
|
'minecraft:chainmail_boots',
|
||||||
|
'minecraft:diamond_helmet',
|
||||||
|
'minecraft:diamond_chestplate',
|
||||||
|
'minecraft:diamond_leggings',
|
||||||
|
'minecraft:diamond_boots',
|
||||||
|
];
|
||||||
|
|
||||||
|
global.VANILLA_WOOD_TYPES = [
|
||||||
|
"oak",
|
||||||
|
"spruce",
|
||||||
|
"birch",
|
||||||
|
"jungle",
|
||||||
|
"acacia",
|
||||||
|
"cherry",
|
||||||
|
"dark_oak",
|
||||||
|
"mangrove",
|
||||||
|
"bamboo"
|
||||||
|
];
|
||||||
|
|
||||||
|
global.VANILLA_STONE_TYPES = [
|
||||||
|
"sand",
|
||||||
|
"red_sand",
|
||||||
|
"gravel",
|
||||||
|
"ore",
|
||||||
|
"deepslate",
|
||||||
|
"basalt",
|
||||||
|
"endstone",
|
||||||
|
"netherrack",
|
||||||
|
"andesite",
|
||||||
|
"diorite",
|
||||||
|
"granite",
|
||||||
|
"tuff"
|
||||||
|
];
|
||||||
|
|
||||||
|
/*
|
||||||
|
[
|
||||||
|
|
||||||
|
'minecraft:sand',
|
||||||
|
'minecraft:chest',
|
||||||
|
'minecraft:trapped_chest',
|
||||||
|
];*/
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// priority: 199
|
// priority: 0
|
||||||
|
|
||||||
const moreRedItemsToHide = [
|
global.MORE_RED_DISABLED_ITEMS = [
|
||||||
'jumbofurnace:jumbo_furnace',
|
'jumbofurnace:jumbo_furnace',
|
||||||
'jumbofurnace:jumbo_furnace_jei'
|
'jumbofurnace:jumbo_furnace_jei'
|
||||||
]
|
];
|
||||||
7
kubejs/startup_scripts/small_ships/constants.js
Normal file
7
kubejs/startup_scripts/small_ships/constants.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
global.SHIP_TYPES = [
|
||||||
|
"cog",
|
||||||
|
"brigg",
|
||||||
|
"galley"
|
||||||
|
];
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// priority: 199
|
// priority: 0
|
||||||
|
|
||||||
const SBItemsToHide = [
|
global.SOPHISTICATED_BACKPACKS_DISABLED_ITEMS = [
|
||||||
'sophisticatedbackpacks:inception_upgrade',
|
'sophisticatedbackpacks:inception_upgrade',
|
||||||
'sophisticatedbackpacks:smelting_upgrade',
|
'sophisticatedbackpacks:smelting_upgrade',
|
||||||
'sophisticatedbackpacks:auto_smelting_upgrade',
|
'sophisticatedbackpacks:auto_smelting_upgrade',
|
||||||
|
|
@ -21,4 +21,5 @@ const SBItemsToHide = [
|
||||||
'sophisticatedbackpacks:compacting_upgrade',
|
'sophisticatedbackpacks:compacting_upgrade',
|
||||||
'sophisticatedbackpacks:advanced_feeding_upgrade',
|
'sophisticatedbackpacks:advanced_feeding_upgrade',
|
||||||
'sophisticatedbackpacks:feeding_upgrade'
|
'sophisticatedbackpacks:feeding_upgrade'
|
||||||
]
|
];
|
||||||
|
|
||||||
2026
kubejs/startup_scripts/tfc/constants.js
Normal file
2026
kubejs/startup_scripts/tfc/constants.js
Normal file
File diff suppressed because it is too large
Load diff
38
kubejs/startup_scripts/utility.js
Normal file
38
kubejs/startup_scripts/utility.js
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Нужен для того, чтобы удалять рецепты или блокировать json файлы,
|
||||||
|
* которые нельзя удалить по id (допустим нагревательные спецификации предметов).
|
||||||
|
* Рекомендуется не использовать.
|
||||||
|
*/
|
||||||
|
global.EMPTY_JSON = {
|
||||||
|
conditions: [
|
||||||
|
{ type: "forge:false" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Генерирует рандомную строку.
|
||||||
|
* @param { Number } length Длина строки.
|
||||||
|
* @returns Строка из рандомных символов.
|
||||||
|
*/
|
||||||
|
global.MAKE_ID = (length) => {
|
||||||
|
let result = '';
|
||||||
|
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
||||||
|
const charactersLength = characters.length;
|
||||||
|
let counter = 0;
|
||||||
|
while (counter < length) {
|
||||||
|
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
||||||
|
counter += 1;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Вставляет пустой json, по пути и блокирует что-либо по этому пути.
|
||||||
|
* @param { ServerEvents.highPriorityData } event Событие в котором вызывается.
|
||||||
|
* @param { String } path Путь по которому нужно вставить пустой json.
|
||||||
|
*/
|
||||||
|
global.CREATE_EMPTY_JSON = (event, path) => {
|
||||||
|
event.addJson(path, global.EMPTY_JSON)
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue