neuralgia/kubejs/client_scripts/tfc/rei.js
2023-11-11 20:07:58 +07:00

20 lines
No EOL
556 B
JavaScript

// priority: 0
const hideTFCStuff = (event) => {
// Hide unused TFC ores
global.allTFCStoneTypeNames.forEach(stoneTypeName => {
tfcSimpleMaterials.forEach(material => {
event.hide(`tfc:ore/${material}/${stoneTypeName}`)
})
tfcOreTypes.forEach(oreTypeName => {
tfcOreMaterials.forEach(oreMaterialName => {
event.hide(`tfc:ore/${oreTypeName}_${oreMaterialName}/${stoneTypeName}`)
})
})
})
tfcItemsToHide.forEach(item => {
event.hide(item)
})
}