Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

repolainen

Members
  • Joined

  • Last visited

Everything posted by repolainen

  1. Ok, nice, will test this evening.
  2. Great, thanks. Perhaps you know some duct tape workaround, to manually fix the arguments, until the fix will be merged?
  3. Ah, I see, thanks for the explanation. Well, the other mod I get the same message from totally has code to generate resources, and it does not do that with exactly the same symptoms, so I assumed the reason must be the same. The mod in question is https://github.com/GregTech-Intergalactical/GregTech Also, having gradle task return an expected error even if it has nothing to do is a bit misleading. Actually, I added the following code to the MDK example class: @SubscribeEvent public static void onDataGather(GatherDataEvent e) { DataGenerator gen = e.getGenerator(); if (e.includeClient()) { LOGGER.info("HELLO from client data gather"); } if (e.includeServer()) { LOGGER.info("HELLO from server data gather"); } } and at the top @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) tried runData again, and there was nothing about data gather in the logs. So, how do I receive GatherDataEvent, and if not, then what is the correct place to register resources?
  4. Let's talk just MDK example, ok?
  5. "doesn't work" as in: generates no data and logs an error?
  6. This is not exactly helpful, because MDK is not the only project where runData doesn't work, it is just a reproducer. Also I'm not the only person with such a problem. I may upload the --debug logs, and try any necessary experiments.
  7. Can you be more explicit? What this error message means, what it is caused by?
  8. When trying to run gradle task 'runData' on fresh downloaded MDK mod example I'm getting an error "An existing connection was forcibly closed by the remote host" What I did: 1. Downloaded & unzipped forge-1.15.2-31.1.18-mdk.zip 2. Opened the project in IDEA (up-to date version) ... gradle project import downloads stuff, generates runs 3. run 'runData' task 4. got an error "An existing connection was forcibly closed by the remote host" latest.log: [11Mar2020 02:18:29.191] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [java.util.stream.ReferencePipeline$3@3b07b04d, --gameDir, ., --launchTarget, fmluserdevdata, --fml.mcpVersion, 20200122.131323, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.1.18] [11Mar2020 02:18:29.194] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_102 by Oracle Corporation [11Mar2020 02:18:29.373] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [11Mar2020 02:18:30.235] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevdata' with arguments [--gameDir, ., java.util.stream.ReferencePipeline$3@3b07b04d] debug.log is quite long but there is nothing about any remote host

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.