Jump to content

warjort

Members
  • Posts

    5420
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by warjort

  1. Mohist is not forge and isn't supported here. You need to speak to them. Either way, no mod that uses mixins will work with java 20, mixin only supports java 17
  2. Neither shows an error. As I said, post the launcher_log.txt (from directly after the crash - do not restart the launcher).
  3. If you look at the code you copied, it depends upon the "use item ticks". You don't have any code that makes the use take any time. Look at how the plain Item class handles items with FoodProperties or any other vanilla item that overrides Item.getUseDuration(). Or you can search github for other mods that does something similar to whatever you want to do. https://github.com/search?l=Java&q=IClientItemExtensions&type=Code
  4. As the class name suggests, it runs at initialisation. Search your logs/debug.log towards the top. It is the callbacks within that class that run when you use the item.
  5. That code works for me: assuming you don't have somewhere else that logs "AAAAAAAAAAA"? ๐Ÿ™‚
  6. max-tick-timeout in server.properties But that's not a proper solution. If something is taking more than 60 seconds on the server thread, it is badly designed. The modpack or mod authors should fix it.
  7. Pirated minecraft is not supported in this forum.
  8. Where is the code that registers that item? Instead of posting snippets in the forum and making us play a tortuous game of 20 questions, put the necessary code to reproduce the problem on github where we can see everything and maybe run it for ourselves if we can't spot the problem from just reading the code.
  9. People that don't show their code, will usually just be ignored. And so will just posting snippets out of context unless the problem is obvious from the little code you post. Did you even read the link I posted about the important of the entity's controlling passenger and how it affects where to run your logic? If you did, why do you not show your RocketEntity so we can confirm you did it correctly?
  10. People that don't show their code, will usually just be ignored. And just posting snippets of code out of context will also likely be ignored unless the problem is obvious from what you post.
  11. Check you have the latest version the contact the mod author. My guess is their mixin is getting called earlier than they expect because of what other mods are doing?
  12. https://forge.gemwire.uk/wiki/Custom_Item_Animations
  13. One of your mods has failed to register an entity properly. "minecraft:pig" is minecraft's way of saying not found/registered. The logs/debug.log might have more information. But usually because it is not registered we have no modid to say which mod is causing it. Otherwise, you will have to experiment with removing mods until you find which one is causing the problem. Backup your worlds before removing mods. As a first guess, I would try those mods that have a dependency on geckolib. Generally people that use that mod, write mods from tutorials without fully understanding what they are doing. ๐Ÿ™‚
  14. https://forums.minecraftforge.net/topic/119553-1192-solved-cannot-get-passengers-of-an-entity-when-there-are-multiple-instances-of-the-entity-in-the-world/#comment-524427
  15. https://forge.gemwire.uk/wiki/Registration You don't have to use DeferredRegister. You can use RegisterEvent instead. But DeferredRegister is recommended as less error prone. As to the difference. Fabric unfreezes the registries throughout the mod loading process. That makes it simpler and gives you more flexibility, but it is inherently unsafe and can lead to bugs if you don't know what you are doing. Forge only lets you register things when it is safe to do so. Forge has a state model that defines when things should be done, see its ModLoadingStages. e.g. with forge it is guaranteed that all custom registries including those created by other mods exist before any mods start registering objects. The use of the well defined state model, allows forge to run certain parts of the mod loading in parallel (in principle speeding it up).
  16. That still shows optifine as the last line in the log. As I said above, try without optifine. If you are still getting the crash then post the launcher_log.txt Otherwise you need to talk to the optifine mod authors.
  17. The last thing in that log is optifine. You definitely have the wrong version for your version of forge. Use the latest preview release or try without it.
  18. Use java 17, mixin does not support java 20
  19. Issue with valhelsia_core. Others have said it is not compatible with optifine.
  20. Check you have the latest version then contact the mod author.
  21. If you don't upload your logs/debug.log and/or crash report to a file sharing site and share the link we can't help you. That truncated error message you posted contains no useful information other than the game crashed.
  22. Something is "looping", causing a stack overflow. Unfortunately, we can't see what is causing it because you hit the default maximum of 1024 lines in a stacktrace. Try adding the following to your user_jvm_args.txt -XX:MaxJavaStackTraceDepth=10000 Hopefully 10,000 lines is enough to see the cause. ๐Ÿ™‚
  23. Check you have the latest versions then contact the mod author.
  24. Check you have the latest version then contact the mod author. This is going on too long. The purpose of this forum is to help people with real problems. It is not here so you can dump a large number of random mods in your mod folder and then proxy the work of debugging/fixing it to us. Build your modpack by adding individual or small groups of mods and testing it. That way you will know which mods are causing the problem. If you are not prepared or capable of doing that, use a modpack built by somebody else.
  25. Check you have the latest version then contact the mod author.
×
×
  • Create New...

Important Information

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