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

Suggestion for player emotes #4155

Open
4 tasks done
mario638 opened this issue Nov 20, 2024 · 1 comment
Open
4 tasks done

Suggestion for player emotes #4155

mario638 opened this issue Nov 20, 2024 · 1 comment
Labels
type: feature request New feature request.

Comments

@mario638
Copy link

Terms

  • I'm using the very latest version of ItemsAdder and its dependencies.
  • I already searched on this Github page to check if the same suggestion was already reported.
  • I already searched on the plugin wiki to know if the feature is already implemented.
  • I already searched on the Discord server to know if anyone already has a solution for this or if the feature was already suggested.

Discord tag (optional)

No response

Describe the solution you'd like

If emote is stopped, stop the sound too
This could help by doing emote packs because I am doing like dances with music and it repeats if you stop

Is your feature request related to a problem?

No

Describe alternatives you've considered

Using the command /stopsound @e[type=minecraft:player,sort=nearest,distance=10] for example

Additional context

No response

@mario638 mario638 added the type: feature request New feature request. label Nov 20, 2024
@LoneDev6 LoneDev6 moved this to New in ItemsAdder Nov 28, 2024
@mario638
Copy link
Author

mario638 commented Jan 4, 2025

I have seen that distance doesn't work in stopsound so here it would be the command updated stopsound @a[dx=10,dy=10,dz=10,sort=nearest]
Here is a code that I have made in CE (Conditional Events) for making this to work

  event1:
    type: custom
    custom_event_data:
      event: dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
      player_variable: getPlayer()
    actions:
      default:
      - 'to_range: 10;true: stopsound: all'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature request.
Projects
Status: New
Development

No branches or pull requests

1 participant