-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] LevelledMobs Compatibility #1116
Comments
Yeah I can confirm here that this is the case. The mobs themselves get leveled but the nametags are not displayed |
Hello! |
Hey, thanks for the reply. :) I wish to note that LevelledMobs uses packets to send name tags, so ItemsAdder won't be able to tell what nametag LevelledMobs is using. This is probably going to be quite painful to work with, so I'm unsure how any integration will be added yet. I am planning on re-programming LevelledMobs in December to clear the spaghetti and make it far easier for other plugins to integrate - even then, it might be difficult to work with packet nametags. Secondly, this could be achieved with floating armor stand entities (packet-based of course). I know armor stands are a nuisance for everyone, so I am also unsure how you will fix the issue. Cheers |
Thanks for the details! It's a bit of a pain, yea |
There is at setting in TAB that handles custom name tags to allow longer than 16 letter nametags with armor stands. maybe how TAB does it can help speed up and (possibly) lower some complexity? It may help give some ideas on how to tackle the problem, i think this is where they handle the armor stand name tags: https://github.com/NEZNAMY/TAB/tree/master/api/src/main/java/me/neznamy/tab/api for the nametags and mobs underground, maybe making the y distance from the player 10 when the x and z distance is 64 would help hide name tags if mobs are further down as i am not sure if minecraft has a thing such as line of sight requirements other than endermen. Not sure if that would be possible but just an idea i had. |
This would require serverside calculation. This is not a very good thing do to since it can easily increate CPU usage. |
maybe something with protocol lib? so it technically doesn't exist on the server but is being sent by the server and would only check if within a certain distance of an entity and if it isn't just end there and if it is than continue, would make the calculation per a player too rather than everyone at once no matter where they are since those armorstands technically wouldn't exist on the server |
I have to cite what the LevelledMobs dev said:
We have to wait them in order to find a solution |
In LevelledMobs 4, I'll be adding a basic API which should (fingers crossed) expand in the future. Just taking baby steps to ensure everything is stable 😄. This should be possible in the future to simply fetch the final (fully formatted) nametag that LM wants to set to a mob. There should be an event for it too so plugins can listen to whenever LM wants to change it. |
Closed as per conversation in ArcanePlugins/LevelledMobs#415 |
Problem
LevelledMobs's nametags are not being displayed on ItemsAdder mobs
Intended behaviour
LevelledMobs nametags to appear on ItemsAdder mobs
Additional context
Xafnir#1337
. I am unable to test it myself since I do not own a license to ItemsAdderI am unsure if this is a LevelledMobs issue, ItemsAdder issue, both or neither. Regardless, I wish that we can resolve this issue so our two plugins can seamlessly integrate with each other.
Thank you very much. 😃
The text was updated successfully, but these errors were encountered: