Posted July 18, 20187 yr I was wondering what is the color ID for the enchantment glint because i want to change it to this
July 18, 20187 yr 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;
July 19, 20187 yr 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/
July 19, 20187 yr Actually, I can even make different colors for different enchantments (my son's idea). Here the bow has flame and is read while the others are all defaulting to green: https://imgur.com/a/pHmqVrZ Check out my tutorials here: http://jabelarminecraft.blogspot.com/
July 22, 20187 yr Author Can you please teach me how to do that? Edit: oops i didnt read the last part sorry Edited July 22, 20187 yr by Derpeh
July 22, 20187 yr 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/
July 22, 20187 yr 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.