Jump to content

Recommended Posts

Posted

I'm having some difficulties registering my recipe types. I keep getting a crash and I've tried to fix it for about three hours, but I was unbale to.

Could someone help me solve this problem / tell me what to change to make it work?

ModRecipeTypes Class (the one being complained about)

https://pastebin.com/BKsm2zpQ

Error/Crash Report 

https://pastebin.com/uc7bAsZA

 

I'd post my github repositary here, but its not updated due to me trying to make a custom recipe type many times (5 over the past three months) and not wanting to mess up the repo if I end up deleting it again.

 

Posted
Quote

Can't use a null-name for the registry, object com.crescentine.trajanstanks.recipe.TankCrafterRecipe$Serializer@615439f7

This is the error, please show your Serializer

Posted
5 hours ago, diesieben07 said:

You should not create registry entries in static initializers. For RecipeType it does not matter, however it is a bad habit to get into.

You should really look into using git branches. Your problem description is the exact reason we do use git, not a reason to avoid it.

I don't really know how to use it that well but I guess i could try to learn more.

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.