-
Notifications
You must be signed in to change notification settings - Fork 181
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
Added Origin related nametag prefix #521
base: 1.20
Are you sure you want to change the base?
Added Origin related nametag prefix #521
Conversation
Question, because I don't know where to find this in the code: What is the config set to by default? Also, I feel like the config should also be server-side?- |
I have to agree with Golder that this should probably be a server-side setting. |
…rEntity#getDisplayName
|
Currently, the default value is |
I'd much prefer this to default to Setting it to Also consider Human players who may not want to interact with the origins mod. |
# Conflicts: # src/main/java/io/github/apace100/origins/Origins.java # src/main/java/io/github/apace100/origins/command/OriginCommand.java # src/main/java/io/github/apace100/origins/component/PlayerOriginComponent.java # src/main/java/io/github/apace100/origins/networking/ModPacketsC2S.java # src/main/java/io/github/apace100/origins/origin/Origin.java
To be consistent throughout the project
I've now changed the base branch of this PR to 1.20.x and updated it accordingly. I've also changed the default value of the config to false as per Pug's suggestion. I'll test this in a bit and see if there are any issues :] |
* Name is now actually appended to the prefix (oops) * A whitespace is now appended to the prefix (before the name is appended)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the errors I made (and fixed) on merging 1.20.x into this PR, everything looks good 👍 It seems to work just fine in a singleplayer and multiplayer environment
Added features in response to #491:
[Origin Name]
)nametag_prefix
of typeText
in Origin so that datapack/addon developers can customize the prefix.clientserver config to toggle the render of the prefixThis PR should be tested in multi player game, but I haven't got a chance to do so ;)