Jump to content

TNT3530

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • URL
    snekbuild.com

TNT3530's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks ill have to browse how you implemented it
  2. While this still doesnt help my problem, thank you for telling me. I will make sure to avoid this in the future
  3. Well you CAN, they just dont have textures. My question isnt whether I CAN do it, its asking why WHEN I do it the textures are ignored even if the files are there and are reloaded
  4. I've been working on a mod that registers blocks to the client when it connects to the server, allowing for servers to have custom mods that the client doesn't need to have downloaded when joining. The issue I'm having is that the items are registered successfully, the Resource Pack loads correctly (evidenced by the one static item added changes texture), but the items added on join aren't receiving textures. No errors are thrown, no crash, just that wonderful pink and black checkerboard. In case you're wondering, the Resource Pack is a folder that is reflected into the default minecraft one on join as well. This is reloaded on Join to apply the changes too. The JSON models for each item added on join are generated correctly, they just dont apply whatever texture are in them (not even default forge/MC ones) As for reloading MC's resources, I automatically do that when the client first loads in using the RenderGameOverlayEvent.Post event. It correctly reloads the textures for all items initialized where they normally are in mods, preInit. Any items created on the fly when joining the server are ignored for some reason, even though the files are in the same space as the normal items. The method I use for refreshing resources is Minecraft.getMinecraft().refreshResources(); tl;dr My mod registers items on server connect and they dont have textures even though the files are there and resources are reloaded Thanks for any help you can provide
×
×
  • Create New...

Important Information

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