"use strict"; function registerTFGCasingBlocks(event) { global.TFG_MACHINE_CASINGS.forEach(type => { event.create(`tfg:casings/${type}`) .translationKey(`block.tfg.casings.${type}`) .model(`tfg:block/casings/${type}`) .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') }) event.create(`tfg:casings/machine_casing_stainless_evaporation`) .translationKey(`block.tfg.casings.machine_casing_stainless_evaporation`) .model(`tfg:block/casings/machine_casing_stainless_evaporation`) .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') event.create('tfg:casings/machine_casing_vacuum_engine_intake', 'gtceu:active') .simple('tfg:block/casings/machine_casing_vacuum_engine_intake') .translationKey('block.tfg.casings.machine_casing_vacuum_engine_intake') .soundType('metal') .resistance(6).hardness(5) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .requiresTool(true) .mapColor('color_light_gray') event.create('tfg:casings/machine_casing_bioculture') .translationKey('block.tfg.casings.machine_casing_bioculture') .model('tfg:block/casings/machine_casing_bioculture') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_red') event.create('tfg:casings/machine_casing_bioculture_glass') .translationKey('block.tfg.casings.machine_casing_bioculture_glass') .model('tfg:block/casings/machine_casing_bioculture_glass') .soundType('glass') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_orange') .defaultTranslucent() event.create('tfg:casings/bioculture_rotor_primary', 'tfg:active_particle_emitter') .translationKey('block.tfg.casings.bioculture_rotor_primary') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') .activeOffset(1.6, 2, 1.6) .activeVelocity(0, 0, 0) .activeParticle('minecraft:landing_lava') .activeCount(10) .activeForced(false) event.create('tfg:casings/bioculture_rotor_secondary', 'gtceu:active') .translationKey('block.tfg.casings.bioculture_rotor_secondary') .model('tfg:block/casings/bioculture_rotor_secondary') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') event.create('tfg:casings/machine_casing_ultraviolet', 'gtceu:active') .translationKey('block.tfg.casings.machine_casing_ultraviolet') .soundType('glass') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') event.create('tfg:casings/heat_pipe_casing') .translationKey('block.tfg.casings.heat_pipe_casing') .model('tfg:block/casings/heat_pipe_casing') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_black') event.create('tfg:sample_rack', 'tfg:active_cardinal') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') .notSolid() .renderType('cutout') .opaque(false) event.create('tfg:growth_monitor', 'tfg:active_cardinal') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_light_gray') .notSolid() .renderType('cutout') .opaque(false) event.create('tfg:casings/machine_casing_sterilizing_pipes', 'tfg:active_cardinal') .soundType('copper') .hardness(5) .resistance(6) .tagBlock('gtceu:mineable/pickaxe_or_wrench') .mapColor('color_brown') event.create('tfg:casings/test_casing') .soundType('copper') .hardness(5) .resistance(6) .tagBoth('c:hidden_from_recipe_viewers') }