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.

wrought

Members
  • Joined

  • Last visited

  1. Getting back into modding after a few years and I'm having the weirdest issue. - Fresh Eclipse install (2021-03 (4.19.0)) - Fresh MDK install (forge-1.12.2-14.23.5.2855-mdk) - Boilerplate "hello world" code from MDK with a single block registered. When I start the client with the gradle task "runClient", the mod seems to load fine, the block appears in the creative tab but is missing textures and it's name is unlocalized. However, if I package the mod with "publish", drag that jar into the mods folder, and then "runClient", the textures and localizations appear. To try to debug, I looped over the resource manager's domains: @EventHandler public void onComplete(FMLLoadCompleteEvent event) { SimpleReloadableResourceManager rm = (SimpleReloadableResourceManager) Minecraft.getMinecraft().getResourceManager(); for (String domain : rm.getResourceDomains()) { logger.info("ResourceDomain: {}", domain); } } Without the packaged mod (my expected launch method), I get: [01:01:26] [Client thread/INFO] [hopperchests]: ResourceDomain: minecraft [01:01:26] [Client thread/INFO] [hopperchests]: ResourceDomain: realms [01:01:26] [Client thread/INFO] [hopperchests]: ResourceDomain: fml [01:01:26] [Client thread/INFO] [hopperchests]: ResourceDomain: forge When the mod is packaged and placed into ./run/mods/, I get: [00:48:33] [Client thread/INFO] [hopperchests]: ResourceDomain: minecraft [00:48:33] [Client thread/INFO] [hopperchests]: ResourceDomain: realms [00:48:33] [Client thread/INFO] [hopperchests]: ResourceDomain: fml [00:48:33] [Client thread/INFO] [hopperchests]: ResourceDomain: forge [00:48:33] [Client thread/INFO] [hopperchests]: ResourceDomain: hopperchests # <-- I didn't touch anything with the gradle settings (outside of specifying which jdk to use), and have entirely re-created the project from scratch twice now, both times experiencing the same issue. The fact that the resources "work" (at least as far as is expected given the limited implementation I've done) when the mod is packaged makes me think it's an IDE / project config issue not a code issue. But fwiw, here's the project structure: Any suggestions? Thanks in advance.

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.