#How would i add a new coolant to Mekanism fission reactors
19 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
probably are completly hardcoded so except to use some mixing you cant with just kubejs
but you can use this mod [mekanism-fission-recipe] [json]
alr thank you
Ticket re-opened!
@round lotus oh btw do you know how to change the color of the gas
i dont think that you can due gas-id and gas-color are used to registry them
what i didnt understand
to register a mekanism gas (using kubejs as example) you need a gas-id ("gas_name") and a tint color (0x777777) so probably you need to find a way to filter by name all registered gasses and trying to change the tint color (idk if there are other ways to do that)
const $EventBuses = Java.loadClass(
"dev.architectury.platform.forge.EventBuses"
);
const $GasDeferredRegister = Java.loadClass(
"mekanism.common.registration.impl.GasDeferredRegister"
);
const GASES = new $GasDeferredRegister("kubejs");
GASES.register("gas_name", 0x777777);
GASES.register($EventBuses.getModEventBus("kubejs").get());
so the 0x777777 has to be hex code right
yes
ok thanks
now, i got the new gases added in but how do i give them a display name
you need to add a lang file
can i not do it with kubejs
yes (if you intend using a lang file to change display name of the gas)