how could i un-hide a recipe category from JEI that is hidden by default? specifically, Thermal Foundation adds a recipe category for its arboreal extractor that is only visible in JEI if Thermal Expansion is added, and i wish to make this recipe category visible even without Thermal Expansion (as i just want Foundation's content for my modpack and not the tech-heavy stuff from Expansion).
#un-hide a recipe category from JEI
32 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
i dont think thats possible
well theres definetely no event for it
if its not a config option in thermal, then its probably not possible to do
unless you modify thermal itself or use mixins to do so
but that would require a mod
thermal is fun to mess with
[Quote ➤](#1057246551556235284 message) Also works for making it show coins and the like. Basically anything that's hidden by default but exists.
const $ThermalFlags = java('cofh.thermal.lib.common.ThermalFlags')
$ThermalFlags.setFlag($ThermalFlags.FLAG_PLATES, true)
Goes in startup_scripts, requires disableClassFilter in common.properties to be set to true.
this should work
provided its controlled by a flag
hm, doesnt seem like it
ah
it just uses ids
i hate that thermal has hardcoded stuff like that
const $ThermalIDs = Java.loadClass('cofh.thermal.lib.common.ThermalIDs')
$ThermalFlags.setFlag($ThermalIDs.ID_DEVICE_TREE_EXTRACTOR)
that should enable everything to do with the tree extractor
at least its not hardcoded as hard as quark is for quark oddities
quark oditties is literally an empty jarfile that has a modid, and quark checks for that modid to see if oditties is loaded
i think its so that removing a mod removes the blocks, as opposed to just changing a config
forge really doesnt like dynamic registration via config so it was really hard to do
doing a seperate mod with modid check was much easier
ayyy, thanks! i did need to add a , true to the setFlag to get it to work, and i also added the import for $ThermalFlags figuring that it's probably needed... and it works!
for future ppl, here's what the final code looks like:js const $ThermalFlags = Java.loadClass('cofh.thermal.lib.common.ThermalFlags') const $ThermalIDs = Java.loadClass('cofh.thermal.lib.common.ThermalIDs') $ThermalFlags.setFlag($ThermalIDs.ID_DEVICE_TREE_EXTRACTOR, true)