Skip to content
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

Rename remaining of static constructor methods. #454

Closed
11 tasks done
kezz opened this issue Sep 28, 2021 · 2 comments · Fixed by #923
Closed
11 tasks done

Rename remaining of static constructor methods. #454

kezz opened this issue Sep 28, 2021 · 2 comments · Fixed by #923

Comments

@kezz
Copy link
Member

kezz commented Sep 28, 2021

  • BlockNBTComponent.LocalPos.of
  • BlockNBTComponent.WorldPos.of
  • NamedTextColor.ofExact
  • Style.Merge.of
  • HoverEvent.ShowItem.of
  • BinaryTagHolder.of
  • adventure-nbt tag constructors
  • KeyedValue.of
  • Codec.of
  • HSVLike.of
  • GlobalTranslator.get
@CoreyShupe
Copy link

What should these be renamed to? Is there a standard for static constructors.

@kezz
Copy link
Member Author

kezz commented Oct 24, 2021

What should these be renamed to? Is there a standard for static constructors.

Ideally, the name of the thing that is being constructed. For example, HSVLike.of -> HSVLike.hsvLike.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants