Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

  • Author
10 hours ago, kaydogz said:

What is the name of your .mcmeta file? It should end with .png.mcmeta not just .mcmeta

They are named like these.

Screenshot from 2020-05-02 16-22-46.png

  • Author

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.