#updating a kjs addon 1.18 -> 1.19

39 messages · Page 1 of 1 (latest)

stray sand
marsh schoonerBOT
#

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

terse prawn
#

youre missing arch

#

which also uses fabric

#

das why uwu

stray sand
#

no I have arch

#

implementation fg.deobf("dev.architectury:architectury-forge:${project.architectury_version}")

terse prawn
#

mmmmm

#

theres something youre missing then, but i dont remmeber

stray sand
#

why would it use fabric on the forge release

cyan scaffold
#

ah so

#

some mods use fabric env types in common projects

#

i dont know how it works or why

#

but i guess this might be like that(?)

stray sand
#

it was working when I was working in 1.18.2

#

now I'm trying to update to 1.19 and everything is breaking

#

I'll just not worry about it

#

time to rename all my methods from addBlah to registerBlah 👍

#

updating a kjs addon 1.18 -> 1.19

#

ok so type wrappers are way harder now

#

i have to make a TypeWrapperFactory now?

#

why does the error reporter take six arguments

#

I just want to error with a single string what is this

stray sand
#

do i need to create an ingredient item for each custom recipe type now?

#

kjs 1.18 had the weird inputItems array that existed for any recipe

#

i guess they removed that

#

oh god there's even more recipe handler methods to overwrite now

#
[17:33:52] [main/FATAL] [mixin/]: Mixin apply failed kubejs-common.mixins.json:UtilMixin -> net.minecraft.Util: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on shutdownExecutorsKJS could not find any targets matching 'Lnet/minecraft/Util;m_137580_()V' in net.minecraft.Util. Using refmap kubejs-common-refmap.json [PREINJECT Applicator Phase -> kubejs-common.mixins.json:UtilMixin -> Prepare Injections ->  -> handler$zzl000$shutdownExecutorsKJS(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
#

what the fuck???

#

it literally has geckolib why is it saying it's missing

stray sand
fast craterBOT
#

Paste version of latest.log from @stray sand

stray sand
#

ok i went over the build.gradle and all the dependencies and repositories are fine

#

I have no idea why it says those mods are missing

stray sand
#

literally what is your deal

stray sand
#

/thread close