Jump to content

Recommended Posts

Posted

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;
Posted

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/

Posted

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/

Posted

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

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