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.

Featured Replies

Posted

I'm trying to implement a custom particle type for my new 1.14 mod, but during the loading screen I get a crash citing "Redundant texture list for particle".  The full log file can be found here: https://pastebin.com/vuP4QESv

 

From what I can tell, the problem appears to be a race condition in the ParticleManager initialization process.  I believe so because if I park a breakpoint at the start of ParticleManager#loadTextureLists and wait for even a second or two, then the game loads successfully and my particles appear properly in game. 

 

I'm registering the particle type in response to the appropriate registry event, and registering the particle factory in response to the FMLClientSetupEvent, which I think is as it should be.  The code for my mod can be found here, specifically the point where I register the particle factory: https://github.com/daedalus4096/PrimalMagic/blob/0e56bff9bcc0bc4ff691d8d5cf23322a017f108f/src/main/java/com/verdantartifice/primalmagic/proxy/ClientProxy.java#L38

 

Any advice you can offer on how to deal with this race condition would be greatly appreciated.  Thanks in advance!

Edited by Daedalus4096

  • Author

After doing some digging in the Minecraft initialization code, I found the solution to my problem: I was registering my particle factory in response to the wrong event.  Rather than doing it during client setup, it turns out there's an event specifically for when you're supposed to register your particle factories: the aptly-named ParticleFactoryRegisterEvent.  After moving my factory registration code there, everything seems to load just fine.  Thanks anyway!

  • Daedalus4096 changed the title to [SOLVED] [1.14.4] Redundant texture list for particle
  • 7 months later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.