Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited


  • Gender
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

WildHeart's Achievements

Creeper Killer

Creeper Killer (4/8)



  1. And I need to load each jar(as Forge does with mods) in runtime
  2. Yes, but what's the point of carrying 20+ dependencies with you when you can load only what you need(yes, my mod can do this), but I need to load these dependencies during startup. I found this Launch.classLoader.addURL but apparently this does not work with the new version of Forge.
  3. No, these are separate libraries that are loaded as needed
  4. And the last question, I have libraries that are loaded into mods/myfolder and I need to load them. Fabric has a FabricLauncherBase.getLauncher() But I don't see anything in forge that can allow this to be done
  5. Yes, but the problem is that need to make sure that the registered commands are vanilla
  6. It needs to be added for all vanilla commands, perhaps it should be done via CommandNode, but I'm not sure that binding to literal argument will work
  7. To avoid creating a new topic I'll ask here, how to add requires for vanilla commands?
  8. Is it possible to switch the mod to the server-only state? So that even if the mod was installed on the client, it could not start(it was skipped by the mod loader)
  9. Previously, the registration was in FMLServerStartingEvent, now there is an additional event for this, but this is inconvenient. That's why I'm asking how this can be done. Or is it possible to call FMLServerStartingEvent at the beginning, and then RegisterCommandsEvent?
  10. Oh, okey. @SubscribeEvent public void serverStarting(FMLServerStartingEvent e) { // Creating managerProvider managerProvider.register(); } // In ManagerProvider public void register() { MinecraftForge.EVENT_BUS.addListener(this::onCommandRegister); } But it doesn't work for me
  11. Hi, i have a FMLServerStartingEvent and i need register RegisterCommandsEvent, but i can't make this. Event registration only goes through the constructor, are there any workarounds to solve this?
  12. Solved, need add this to build.gradle classpath "org.jetbrains.kotlin:kotlin-serialization:1.5.21"
  13. Hi, I am writing my adapter for Kotlin, but the main loader does not see the mod. What did I do: 1. Implemented IModLanguageProvider, IModLanguageLoader, ModContainer 2. In toml: modLoader the name of custom loader is set 3. In META-INF created service with path to custom IModLanguageProvider But, this is not work in IDEA. I output IModLanguageProvider#getFileVisitor to the console and it showed that the class was not found. Although the annotation hangs over the class. Please do not write that I do not need it, that there are ready-made solutions and blah-blah-blah. I have other goals, but first I need to at least solve the problem with the launch.
  14. Your code works well, I should have used the yaw player instead of taking yaw from my projectile. Thank you again
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.