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

Adds block sound expression and test #7040

Merged
merged 10 commits into from
Oct 13, 2024

Conversation

cheeezburga
Copy link
Member

Description

This PR adds an expression to get a sound of a blockdata. The gettable sounds are break, fall, hit, place, step


Target Minecraft Versions: any
Requirements: none
Related Issues: none

- Allows getting the break, fall, hit, place, and step sound of a block/blockdata/itemtype
Copy link
Member

@Moderocky Moderocky left a comment

Choose a reason for hiding this comment

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

Good, just some notes.

@sovdeeth sovdeeth added the feature Pull request adding a new feature. label Sep 7, 2024
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
…ts better

- This also reduces some annoying switch stuff with the soundType from before
@cheeezburga cheeezburga requested a review from sovdeeth September 8, 2024 17:52
@sovdeeth sovdeeth added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Sep 13, 2024
@sovdeeth sovdeeth merged commit 99731b0 into SkriptLang:dev/feature Oct 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull request adding a new feature. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants