Jumper251 / AdvancedReplay

Minecraft plugin to record players on your server
GNU General Public License v3.0
141 stars 62 forks source link

Block Effects (Particles) #175

Closed PedroMPagani closed 52 minutes ago

PedroMPagani commented 1 month ago

Are these already added? I am not seeing them if its with the .sendBlockChange instead of the .setType() or "breakNaturally"

PedroMPagani commented 1 month ago

https://github.com/user-attachments/assets/0e8ad79d-dcfc-4cad-990e-8a65addec8ef

Update on this, the effect/sound is handled with WORLD_EVENT, it seems on wiki.vg that id tends to change sometimes.

Jumper251 commented 1 month ago

There might be an API way to do this, it worked before Minecraft 1.13 by sending the STEP_SOUND effect. Maybe that is updatable to newer versions.

PedroMPagani commented 1 month ago

Nowadays it's a world event packet. I managed to get this to work but it has to be done with this world event otherwise it's not triggered

Jumper251 commented 52 minutes ago

Should be working again in the latest version.