Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/07/20 in all areas

  1. I actually managed to get DeferredRegister working with a custom registry (created in RegistryEvent.NewRegistry) by using a lazy-loading IForgeRegistry wrapper class. You can see my implementation here. This is for 1.14.4, but I imagine it will work in 1.15.2 as well.
    1 point
  2. Sound events are registered after blocks, so I believe that's part of the issue. One option would be to extend SoundType and override its get methods to make them access RegistryObject entries as needed instead of on initialization. Feels like there should be a cleaner solution though...
    1 point
  3. you send minecraft packets via the the <Dist>PlayNetHandler and for your own look into the docs SimpleImpl
    1 point
  4. Update. 1.12 is no longer supported.
    1 point
  5. In you mods.toml file, right after your modid: [[mods]] #mandatory modId="terainmod2020" mandatory <---------- version="1.15.2-1.0.0" #mandatory You missed a "#", it should be #mandatory
    1 point
  6. Even if there isn't an error, the debug log could be useful.
    1 point
  7. I fixed the problem. Solution - push the matrix, enable blend, bind the texture and draw the textured rect., disable blend, then finally pop the matrix. TIP - You can simply modify the GUI's by extending them and overriding their methods (then set the GUI field in the GUIOpenEvent to your GUI) rather than copying the whole GUI class and calling displayGuiScreen() like shown above, unless you need access to private methods / fields and don't want to use reflection;
    1 point
  8. Apologies for the necro-bump, but I'd like to follow up with a "yay, this works" and one particular issue I've found. The Tile renders on top of the bounding box. I don't suppose there might be a quick/easy fix for this?
    1 point
×
×
  • Create New...

Important Information

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