#Removing Alex's Caves "Cave Maps" recipe

71 messages · Page 1 of 1 (latest)

gilded flower
#

You know...sometimes an item just refuses to place nice hermitLUL

so the "Cave Map" from Alex's Caves is made from a codex and paper. I have tried every way I know to disable (or even alter) these map recipes. It must have something funky going on behind the scenes.

Anyone know what the trick is?

lost briarBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

sharp axle
#

so if you just remove that recipe, it should work like magic

#

tmk this is a fairly common convention, Immersive Engineering also uses such for a couple things if memory serves

tropic basin
#

You could always try using a datapack to directly override the json file if nothing else works too

#

That's guaranteed to work but is less than ideal

royal ravine
gilded flower
#

Joel!

gilded flower
sharp axle
#

what IDs did you try?

#

if i'm assuming correctly, alexscaves:cave_map should be the ID

gilded flower
#

yup tried that

#

and recipe ids like alexscaves:jei.cave_map_abyssal_chasm etc

tropic basin
#

That's odd

#

It should just be cave_map

#

According to the json

#

Try a datapack

#

If even that doesn't work maybe the json isn't even being loaded?

gilded flower
#

ideally I'd love to have this in KubeJS with all my other recipe purging is going on

#

worst case I can use a datapack, maybe someone else will know

tropic basin
#

Because it not being removed is incredibly odd

#

Can you just send the code

#

Just in case there's an error that you've missed

#

Cos we all do that sometimes

gilded flower
#

sure testing the json really quick first

tropic basin
#

K

gilded flower
#

huh...the recipe is a type alexscaves:cave_map interesting

#

okay so I'm able to make a custom recipe with a normal datapack

royal ravine
#

By changing type to shaped

#

So the json is being loaded

gilded flower
#

right

#

okay removing the datapack and reloading, trying with this code:

event.remove({ id: `alexscaves:cave_map` });
tropic basin
#

As it has a special type, if that doesn't work you might just be able to switch id to type

gilded flower
#

ya was thinking that too

#

okay id doesnt' work...

tropic basin
#

Odd

gilded flower
#

and type doesn't work!

#
event.remove({ type: `alexscaves:cave_map` });
tropic basin
#

Lovely...

#

Wtf is it doing

gilded flower
#

right?

#

i have no clue haha

tropic basin
#

It prob isn't even loading the json

#

Have you tried hovering over the recipes to get the id in jei?

gilded flower
#

it is loading it, because I made a custom json with a shapeless crafting

gilded flower
tropic basin
#

I mean the json we found in the source

#

Cos if it isn't

gilded flower
tropic basin
#

And it's adding directly

#

Oh that does look like it is

#

Adding directly

#

The jei. bit

#

Makes it look like it's added in code

#

Using a custom serialiser

gilded flower
#

correct, I physically put a replacement cave_map.json into data/alexscaves/recipes/

tropic basin
#

Prob no way to remove without an addon mod

gilded flower
#

yeah probably? so weird

#

okay well screw it, not super important I guess

tropic basin
#

The reason it makes me think that is the jei prefix indicates its being manually added to display in JEI by code

#

Which wouldn't be done if it was a json recipe as it'd be auto detected

gilded flower
#

right

tropic basin
#

Tbh removing it from a mod might be as simple as overriding the recipe type, but who knows

gilded flower
#

naw, it added the recipe but kept all the others

#

ah well, I'll add an info tab saying "hey you don't need these maps" hermitLUL

tropic basin
#

That works xD

gilded flower
#

okay well, thanks for nothin! haha no just kidding, thanks for the help

tropic basin
#

Glad I could join you in being confused xD

gilded flower
#

hah!