Jump to content

ZachT112

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by ZachT112

  1. I've tried #addSprite, but that tries to pull a png file from the assets folder. I have a native image that I am trying to use, not a file within the assets folder. The texture is generated at runtime, and therefore is not in the assets folder.
  2. I'm trying to get the texture stitched into the block atlas. I feel like it should be relatively simple but I've been trying to use the TextureStitchEvent.Pre to somehow figure out how to register the sprite to be stitched into the atlas, but the only method is addSprite, which tells the atlas that there is a model file somewhere, it doesn't take a texture.
  3. So this is kind of odd, but I'm trying to make a mod a 256x256 image is downloaded and set to the texture of an item. It doesn't need to be updated during the game, but on launch. I have it downloading the image and putting it in the game directory (a PNG) and then importing it into the game as a NativeImage, but I'm having trouble getting from the NativeImage to the texture on the item itself.
  4. Thank you, I'll look into it
  5. Currently working in 1.17.1 I have created a bucket-like item that works with all mods that use the Minecraft Fluid class I am trying to get this item to generate its texture by taking a portion of the fluid's texture and placing an overlay of a texture I created over the top of it. Any suggestions or even a vague idea of how this might be implemented?
×
×
  • Create New...

Important Information

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