Jump to content

XenoPyax

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

XenoPyax's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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. Ah thanks a lot!
  13. 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?
  14. Works perfectly Thanks a ton!!
  15. Smart didn't think of that, thanks
×
×
  • Create New...

Important Information

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