Jump to content

[1.15.2] Why DeferredWorkQueue don‘t work and cause me crashs?


Recommended Posts

Posted (edited)

Hello, i have posted a topic in them i ask why my OreGen function (

) don‘t worked and @diesieben say me that i actually need to use DeferredWorkQueue. I tried but i am getting this error log: https://github.com/DragonGamerDevelopers/Minecraft-Modding-Logs/blob/master/LOG.log

The Main error was: „Registry Object not present“. Now i am confused: Why it say me that the Registry Object (My Ore) was not present if before it perfectly worked? I am registering my ore with the new registering method: The DeferredRegister. I have think that the DeferredWorkQueue run after the game has loaded but before the DeferredRegister can run: then it simply not find my block because the block don‘t was registered. My final question: How to resolve this and was here a alternative to the DeferredWorkQueue? My Main.java: https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/1.15.2/src/main/java/mod/dragonita/fantasymod/Main.java

Edited by DragonITA

New in Modding? == Still learning!

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.