Posted March 25, 20223 yr 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.
March 25, 20223 yr 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
March 25, 20223 yr Author 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.
March 25, 20223 yr Author 8 hours ago, Luis_ST said: This is the error, please show your Serializer https://pastebin.com/BCCx2QXS
March 25, 20223 yr Author I managed to fix that problem.. yet now it has given another one. https://pastebin.com/E0tZYVET At this point, I don't even know what I did wrong or how to do this. I've tried to do this specific thing five times the past few months and its really annoying. Any help is appreciated. https://github.com/Crescentine/Trajans-Tanks-1.18 I updated the Github.
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.