Legobmw99 Posted January 16, 2016 Share Posted January 16, 2016 Hello! I am currently working on a mod which allows players to see certain information about other characters (Basically, if a player uses one of my mod's abilities, they make the sacrifice of everyone else knowing their position and what ability it is). I figure the best way of doing this is with something similar to the player highlighting feature of spectator mode. So I have several questions: Where is the vanilla code for this located? I've been looking for a while and I can't find it. How should I best go about implementing this? Is there any chance of me being able to use the default class, or will I have to make a copy? Quote Link to comment Share on other sites More sharing options...
Draco18s Posted January 17, 2016 Share Posted January 17, 2016 I'd suggest trying to figure out how the "Glowing" effect in 1.9 gets rendered and backporting it. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given. Link to comment Share on other sites More sharing options...
RANKSHANK Posted January 17, 2016 Share Posted January 17, 2016 I'd suggest trying to figure out how the "Glowing" effect in 1.9 gets rendered and backporting it. I'm betting it's a rim shader. You could probably find the .vert & .frag file sfor this in the snapshot, unless Minecraft builds its shader repository internally for whatever dumb reason. Tricky bit will be getting it in the right place in the pipeline Quote I think its my java of the variables. Link to comment Share on other sites More sharing options...
Legobmw99 Posted January 18, 2016 Author Share Posted January 18, 2016 I'd suggest trying to figure out how the "Glowing" effect in 1.9 gets rendered and backporting it. Hmm. The thing is, I know the code has to be in 1.8, because the spectator Highlight Players button causes almost the same effect. It'd be a lot easier if I could just find that code, but I can't even find mention of the keybind in the code (well, I can find it in the mappings csv file, but that's all). I've poked around in every logical place -- render classes, player classes -- but nothing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.