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.

SlimeSquared

Members
  • Joined

  • Last visited

Everything posted by SlimeSquared

  1. The game doesn't crash, just logs the exception. I'm not sure if it interferes with the packet being handled, but I assumed that any thrown exception is probably something to be avoided if possible.
  2. So, you joined a LAN server, and went through a portal to the same dimension as the host, and it still didn't throw? I'll try it on another computer.
  3. Strange. I can try to see if there is some other condition that causes the exception. In my testing, it was when there was a player (in this case, always the host of the LAN server) on the receiving side of the client's dimension switch. I'm not sure exactly how this situation changes the packet sending on the client.
  4. https://github.com/SlimeSquared/DebuggingMod I forgot to mention, I did my testing on a LAN server, if that affects anything.
  5. I'm using 1.18.2, forge version 40.1.0. I have encountered this IndexOutOfBoundsException when sending packets to the client at the wrong time (during a dimension switch, when dead, or on login). If anyone has any insight, I'd love to hear it. Here's the example mod created to replicate the error (using the PlayerChangedDimensionEvent): The client log: The server log:

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.