Snowiiii / Pumpkin

Empowering everyone to host fast and efficient Minecraft servers.
https://snowiiii.github.io/Pumpkin/
MIT License
3.25k stars 113 forks source link

Adding Playsound command, Debug trait on some data structures and moving of Sound data structure from pumpkin-macros #281

Closed Croos3r closed 1 week ago

Croos3r commented 1 week ago

Description

This PR adds a first incomplete implementation of the playsound command (the minVolume is just ignored and not used for the moment). It also adds the Debug trait on an amount of data structures And finally it moves the sound data structure and registry from pumpkin-macros to pumpkin-core

EDIT: I Can move the registry to the pumpkin-registry crate if necessary

The command has been tested functionnaly in game with various inputs.

Checklist

Things need to be done before this Pull Request can be merged.