Provide a way to disable tiny/small dusts for custom materials added through KJS at the point of definition..
tomprince opened this issue ยท 0 comments
Cross-mod Integration
No response
Feature Description
This is currently possible to do, but it appears to require hooking into two different events:
GTCEuStartupEvents.registry('gtceu:material', event => {
event.create('iridium_dioxide_residue')
.dust()
.color(0x17182e).iconSet('rough')
.flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
.components('iridium', '2x oxygen', 'rare_earth');
}
GTCEuStartupEvents.materialModification(() => {
TagPrefix.dustTiny.setIgnored( GTMaterials.get('iridium_dioxide_residue'));
})
It would be nice if there was a way to do this that didn't require doing things into two places (perhaps a GTMaterialFlag
).