Jump to content

[1.15.2] mcmeta not working


lisilew

Recommended Posts

I am trying to add different colored enchanted item glint by creating RenderTypes, adding them to fixedBuffers in RenderTypeBuffers and changing getBuffer method in ItemRenderer.

I have succeeded in getting different colors from assets/[modId]/textures/misc but they are not blurred.

I have put mcmeta files which are named after textures and contains

{
    "texture": {
        "blur": true
    }
}

but result looks like below.

2020-05-01_04_44_06.png.2121ff29a80b88d6f8daf1203abfb166.png

Just replacing vanilla enchanted_item_glint.png looks like below so I think my issue is that mcmeta is not working properly.

2020-05-01_04_49_27.png.81947d2cde127b769403f46e7116c11e.png

How can I solve this issue?

Edited by lisilew
Link to comment
Share on other sites

Nevermind. The issue was not from mcmeta file. Texture size of item was the issue. Glint texture is 128 by 128 and vanilla item textures are 16 by 16. So if my item texture breaks that ratio, it starts to look weird. I wonder if I can programmatically adjust glint texture size according to item texture size.

Edited by lisilew
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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