#need help removing recipes (getting error)

75 messages · Page 1 of 1 (latest)

severe marsh
#

i have put what the documentation tells me , this recipe.js script is just an example, but it causes the same error every time i load into a world. i have no idea why, didnt know if someone could help

wooden zealotBOT
#

Paste version of recipes.js, server.txt from @faint radish

stiff adderBOT
#

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

clever kindle
#

@dawn eagle was there a recent kjs update?
we are getting an influx of people today with exactly this issue

dawn eagle
#

Not that I know

glossy spear
#

I wonder if it's a bad recipe somewhere. As it's happening when it's iterating through all the recipes trying to find an output that matches the inputed thing

severe marsh
#

could it be something with a mod i have installed?

dawn eagle
#

Or bad item

#

ItemStack.m_41619()

#

I assume thats the default instance method

#

item being null shouldnt be possible

#

I can add debugging for this tho

glossy spear
#

isEmpty()

clever kindle
clever kindle
#

hmm

severe marsh
#

now that i think of it, it did seem to begin to happen after updating a mod i've had in the list

#

let me try disabling the mods that were updated

glossy spear
#

if you do figure out which mod is doing it, please do share it, will help figuring out the exact issue

severe marsh
#

well i got it to where it didnt error out, now its just figuring out which of these 3 mods it is

severe marsh
#

@dawn eagle @clever kindle ^^

dawn eagle
#

Ofc it is

severe marsh
#

something with the 2 latest updates for 1.19

glossy spear
#

what did shadows do now lol.....

#

wait did you update apoth again? cause I know shadows did another update this morning for some broken stuff

severe marsh
#

yeah i did

#

i did that before anything else

#

just in case it was fixed, not knowing at the time that the problem was apoth the entire time

dawn eagle
#

Does rolling back to previous update fix it?

severe marsh
#

yes

#

6.1.2 is where it wasnt occuring

#

updating past that, the error happens

glossy spear
#

JsonRecipeJS.hasOutput is recipe.getResultItem() which is returning null in salvage

#

I'm guessing that shouldn't be null, but ItemStack.EMPTY?

clever kindle
#

even i know about itemstack.empty

#

and that says a lot

dawn eagle
clever kindle
#

lol

ancient folio
#

LMAO

#

autofill???

clever kindle
#

yeah not sure how that happens or what it actually means lol

ancient folio
#

probably an IDE shortcut

clever kindle
#

definitely not github, cuz it usually looks for signs, and theres nothing to indicate null

#

copilot*

ancient folio
#

copilot looks deep inside

clever kindle
#

its an override

ancient folio
#

mixin override?

clever kindle
#

wha

#

theres no mixin ;o

ancient folio
#

a

#

i'm not too experienced with java

clever kindle
#
public class SalvagingRecipe implements Recipe<Container>
ancient folio
#

or mixins

clever kindle
#
    @Override
    @Deprecated
    public ItemStack getResultItem() {
        return null;
    }

so this will override the getResultItem() from Recipe

ancient folio
#

oh wait i think they mean this

clever kindle
#

and recipe is an interface, so its just this

ancient folio
clever kindle
ancient folio
#

ah

clever kindle
#

unless they have some weird wacky plugin

#

but at that point wtf are you doing

ancient folio
#

ye

tight urchin
#

probably used implement methods in IntelliJ

clever kindle
#

that might actually be the case

#

let me try

#

hmmm

#

by default when generating an override, it defaults to super.originalMethod()

dawn eagle