Jump to content

error Assets URL (...) uses unexpected schema


Recommended Posts

Posted

hello, 

im trying to add new item to minecraft and im getting this error.

does anyone know whats wrong please?


[main/WARN]: Assets URL 'union:/C:/Users/St06/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.17.1-37.0.104_mapped_official_1.17.1/forge-1.17.1-37.0.104_mapped_official_1.17.1-recomp.jar%2375!/assets/.mcassetsroot' uses unexpected schema


[main/WARN]: Assets URL 'union:/C:/Users/St06/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.17.1-37.0.104_mapped_official_1.17.1/forge-1.17.1-37.0.104_mapped_official_1.17.1-recomp.jar%2375!/data/.mcassetsroot' uses unexpected schema
 

thank you in advance-

Posted

okay, i ran it with debug and this is what i got:

  Reveal hidden contents

 

Posted (edited)

okay actually it does cause problems - im not able to generate resources.

the debug log, isnt it supposed to have something at the end? like "finished" etc?

because the log end with the warn-

Edited by maylee
Posted
  On 11/11/2021 at 5:19 PM, diesieben07 said:

When using @EventBusSubscriber you must specify your ModID.

Expand  

done

  On 11/11/2021 at 6:05 PM, diesieben07 said:

I am asking you to check whether it is called or not

Expand  

i dont get it- i got this in data generators file if it heps :

    
    @SubscribeEvent
    public static void gatherData(GatherDataEvent event) {
        
        DataGenerator generator = event.getGenerator();
        if (event.includeClient()) {
            generator.addProvider(new Items(generator, event.getExistingFileHelper()));
        }

  On 11/11/2021 at 6:05 PM, diesieben07 said:

Did you rerun genIntellijRuns / genEclipseRuns after changing it?

Expand  

yes i did

Posted
  On 11/11/2021 at 6:32 PM, diesieben07 said:

Why did you do this? The MyForgeEventHandler inner class does precisely nothing.

Expand  

okay okay i deleted it; i wanted to follow the documentation

  On 11/11/2021 at 6:32 PM, diesieben07 said:

I am asking you to run the game and then check (using the debugger) if the method called or not

Expand  

well if that means look it up in the console output yeah, its called-

  On 11/11/2021 at 6:32 PM, diesieben07 said:

I would propose that you don't have the necessary basic programming prerequisites for modding.

Expand  

everyone keeps saying that but basics are boring af and its not my fault that school systems shit and they didnt teach us those stuff that are actually useful irl - like modding pc games

Posted (edited)
  On 11/11/2021 at 7:33 PM, diesieben07 said:

A bad school system doesn't change the fact that without basic programming knowledge you won't get very far with modding.

Expand  

im not planning getting "very far". just wanted to add item. just-

  On 11/11/2021 at 7:33 PM, diesieben07 said:

Okay. Then you have to post a Git repo of your mod now so I can debug this myself.

Expand  

i just spent half an hour trying to connect to git from eclipse but it just doesnt work. im not that dumb as it looks i promise just ECLIPSE WONT LET ME SIGN IN.

ill try it later and if i succeed, ill post it. if-

Edited by maylee
Posted
  On 11/11/2021 at 9:42 PM, diesieben07 said:

You still need to know Java basics.

Expand  

i know. i just dont like basics. they never got me anywhere.

  On 11/11/2021 at 9:37 PM, maylee said:

i just spent half an hour trying to connect to git from eclipse but it just doesnt work. im not that dumb as it looks i promise just ECLIPSE WONT LET ME SIGN IN.

Expand  

(edit: you know things gone really bad when even help button stopped working-)

Posted (edited)
  On 11/11/2021 at 9:48 PM, diesieben07 said:

I would recommend just using the Git command line.

Expand  

THANK YOU THANK YOU I FLIPPING DID IT

(pls dont mind the names i was mad at git a bit- )

https://github.com/vkolarova/FCKING-GIT-DIE-SHUT-UR-MOM-UR-DOGWATER-I-HATE-U-RATIO 

  On 11/11/2021 at 9:48 PM, diesieben07 said:

Not knowing the basics got you onto this Forum asking for help...

Expand  

yea, true, im lucky that ur nice and helping me coz id be lost othewise-

Edited by maylee
  • 3 weeks later...
Posted

Hi!

I experienced the same issue. Check if you replaced examplemod with your mod id in ln. 103 of the build.gradle. This line: "args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.