neuralgia/kubejs/startup_scripts/gregtech/customMaterials.js
2023-10-24 19:06:13 +07:00

13 lines
No EOL
537 B
JavaScript

const $OreProperty = Java.loadClass("com.gregtechceu.gtceu.api.data.chemical.material.properties.OreProperty")
const $PropertyKey = Java.loadClass("com.gregtechceu.gtceu.api.data.chemical.material.properties.PropertyKey")
const registerMaterials = (event) => {
GTMaterials.Bismuth.setProperty($PropertyKey.ORE, new $OreProperty());
GTMaterials.Borax.setProperty($PropertyKey.ORE, new $OreProperty());
event.create('sylvite')
.dust()
.ore()
.color(0x839689)
.iconSet(GTMaterialIconSet.DULL)
}