This is the error log I get when I run an intercept of the chat:
https://gist.github.com/Cyb3rWarri0r8/d0aafe3648ee42e0e5898a186b9f2828
This is what the handler currently looks like:
http://take.ms/ys1Gd
Latest work is here:
https://github.com/KaminoCoding/FriendNamer/blob/72631a6f3d82a43495ee10a01d76627914192008/src/main/java/io/cyb3rwarri0r8/friendnamer/client/NamesEventHandler.java
textures for liquids in 1.7.10 are the easy ones to do. Just get the vanilla one and re-color it ot the way you want. Include an mcmeta with the same name as your fluids and your good to go. If you want to update to 1.8.x that is a whole other story and quite honestly I find them to be a b**** to try and get working so good luck with those.
Updated Repo. I have the chat hook working but when I try to use regular expressions to look for usernames in the message text I get errors that say it can't find the text. I've tried this in regexr.com and it works fine. Do you know what is wrong?
http://regexr.com/3die6
https://github.com/KaminoCoding/FriendNamer/tree/feature/ingameNameChange
Oh yeah.. those i've been using because I started with a template for my other universal mod. As for the loggedInEvent.. yeah i'm going to remove that. It's just there...
yes it was logging that it changed but when I'd try putting in chat messages it wouldn't change that part. At one time I thought it was but maybe I was dreaming... That makes sense though. I will have to use the chat listeners then.
1. idk... just idk.. old tuts
2. player#refreshDisplayName is being called.. thats why I added the check for null passed parentscreens to prevent crashing
3. Yes, it logs that it changed the username yet nothing happens
4. Fixed
5. Fixed
I was just playing with different things to the playerloggedinevent isn't being used but thanx
Hopefully this info helps. Here is the log:
1. idk... just idk.. old tuts
2. player#refreshDisplayName is being called.. thats why I added the check for null passed parentscreens to prevent crashing
3. Yes, it logs that it changed the username yet nothing happens
4. Fixed
5. Fixed
I was just playing with different things to the playerloggedinevent isn't being used but thanx
Hopefully this info helps. Here is the log:
I tried that but everytime I test it doesn't do anything. Here is my code:
https://github.com/KaminoCoding/FriendNamer/tree/feature/ingameNameChange
Am I doing something wrong with it?
I tried that but everytime I test it doesn't do anything. Here is my code:
https://github.com/KaminoCoding/FriendNamer/tree/feature/ingameNameChange
Am I doing something wrong with it?
This is probably a bit odd of me to ask, but how would I change the display name of a player after the login to single player has completed? I try posting the NameFormat event to the EVENT_BUS but it always returns false. It doesn't post... Is there a proper way to do that? Any help is much appreciated because i've been researching and testing this for months.