Aquaculture 2

Aquaculture 2

96M Downloads

[Config] Neptunium Items/Armor Recipes Options have no effect

CREEATION opened this issue · 4 comments

commented

I changed everything related to Neptunium to false, yet the recipes still show in-game.

["neptunium options"]
  "Enable recipes for Neptunium items?" = false
  "Enable recipes for Neptunium armor?" = false
  #Should Neptune's bounty be added as fishing loot? Very rare.
  "Add Neptune's Bounty as loot?" = false

Looking at the code related to the bounty it's probably working fine (didn't test), but I haven't found any condition checks for items/armor after a quick look here on GitHub.
I'm hoping it's just me being dumb 🐢

Versions

Minecraft: 1.16.5
Forge: 36.1.17
Aquaculture: 1.16.5-2.1.18

commented

I misread, didn't notice you were talking about the recipes. I'll take a look.

commented

All the recipes disable just fine.
It's not done in-code, it's done through a recipe conditation, in the recipe json.

commented

Ah, I see. I got confused because the nugget, ingot etc. are still showing up in the recipe book even though I thought this was meant by "disabling neptunium items".

Thanks for the quick reply then 🐢

//e:
For future humans: I've disabled the recipes via CraftTweaker using this script:

var regex = "aquaculture:neptunium_.*";

// remove all neptunium recipes
recipes.removeByRegex(regex);
// jei compatibility, requires jeitweaker
mods.jei.JEI.hideRegex(regex);
// remove neptune's bounty from jei
mods.jei.JEI.hideItem(<item:aquaculture:neptunes_bounty>);