Skip to content

Expand Entity Sound API#13914

Open
LeonTG wants to merge 3 commits into
PaperMC:mainfrom
LeonTG:expand-sound-api
Open

Expand Entity Sound API#13914
LeonTG wants to merge 3 commits into
PaperMC:mainfrom
LeonTG:expand-sound-api

Conversation

@LeonTG
Copy link
Copy Markdown

@LeonTG LeonTG commented May 26, 2026

I added this to my own Paper fork, figured it was nice API for others to use too

@LeonTG LeonTG requested a review from a team as a code owner May 26, 2026 19:38
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue May 26, 2026
Comment thread paper-api/src/main/java/org/bukkit/entity/Entity.java Outdated
*
* @return the sound pitch of this entity
*/
public float getVoicePitch();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think getSoundPitch is better, don't really need to copy internal here especially since it's not only used for mob's voice.

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

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

4 participants