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 was wondering what is the color ID for the enchantment glint because i want to change it to this 

Screenshot_20180713-093007.jpg

If you have enough time, then you can make an animation like the glitter, with a texture and it's mcmeta, but it needs to have the shape of your item(the item must be an original flat one, can't be custom)", and then you make the item to use the minecraft:item/generated model, where you set the layer0 texture to your item's texture, and you set the layer1 texture to the shaped colored glitter effect (Or in the opposite order).

procedure WakeMeUp(Integer plusTime);
var
  I: Integer;
begin
  for I := 0 to plusTime do begin
    println('One more minute!');
    Sleep(1000);
  end;
  println('Okay, nothing to worry, I''m alive!');
  println('So... somebody can give me a coffee?');
  println('I know it''s Pascal, and not Java, but I love it :D.');
end;

It's not that hard with a bit of reflection. I just got home from work and figured it out pretty quickly. Basically, you use reflection to put your own extended of RenderItem into the Minecraft class, with control over the color. There is a little bit of trickiness because the RenderItem instance actually gets passed to other renderers as well and so you have to reflect into all the copies.

 

Here's example of green: https://imgur.com/a/Sg1wxBL and blue: https://imgur.com/a/kOubNyx

 

I'll write up a tutorial on this over next few days.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

Can you please teach me how to do that? 

Edit: oops i didnt read the last part sorry

Edited by Derpeh

Sorry haven't had time to write it up yet. I should say that it turned out to be a bigger effort than I thought because Minecraft code is kinda messy and it copies some of the renderers to other classes before you get an opportunity to replace it with reflection. So, for example, you have to then modify every biped renderer for entities that can wear armor (EntityZombie, EntityWitherSkeleton, EntityGiantZombie, and so forth).

 

But I finally got it all working I think (could use more testing). Actually I think the Elytra effect is also separate so I better check if that is working.

 

Overall it is fairly simple approach but sort of difficult to get the details right. 

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

Dont worry about the elytra if it is too hard, im using 1.8.9, but if you can get the elytra it will be helpful since i play on both 1.8.9 and the latest version.I hope that makes sense 

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.