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.

XenoPyax

Members
  • Joined

  • Last visited

  1. I've been following this doc (https://mcforge.readthedocs.io/en/latest/networking/simpleimpl/) but I don't see how the INSTANCE encodes the message how should know how to decode the message? and also does the MessageClass packet need to implement something or does it just send the Object of a class as the message?
  2. Hey, I just got back to modding, and I was wondering how drawing rectangles works in the new system, I figured out how it works with texture but since I don't always want to use textures I was wondering If a simple draw rect method with a color an alpha values exists.
  3. I want to override the default in game UI and show my custom one. Uh, iirc in Java 16 they made it impossible to use reflection to re-assign final fields.
  4. Hello, I was just upgrading my mod and notice that `gui` is not exposed even tho java 16 change the whole final system to being re-assignable, how are we supposed to set out custom GUI now?
  5. Oh you're right
  6. Well is there anyway I can see the lag spikes causes from ingame like F3 menu or is it just purely testing and knowing what could cause this?
  7. Okay so it is in the dev env and in the "production" use with other mods, my mod is using RestAPIs to request data and displaying UI and data from the api requests.
  8. Hello I am noticing lags spikes when using my mod what ways are there to identify what part of my mod is causing this?
  9. my bad I was looking at the wrong project, it was my 1.8 project found it in the 1.16 one thanks!
  10. this is all I could find in TextureAtlasSprite : TextureUtil.uploadTextureMipmap
  11. Another question how do I draw over the blocks texture like what do I need to be able to draw over the block object? And when do I draw them I can't imagine drawing them each individually on chunk load or? any pseudocode or example class I could look at?
  12. Hello, so I wanted to make a mod that changes the blocks texture under certain conditions like for example if the scoreboard has a certain string all wool textures will be replaced with my custom texture. How would I set the texture for a block and show it when they enter a world with the scoreboard condition?
  13. Works perfectly Thanks a ton!!
  14. Smart didn't think of that, thanks

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.