pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.23k stars 1.51k forks source link

1.21.0 Mace / Wind Charge item Implementation #6373

Closed CJMustard1452 closed 1 week ago

CJMustard1452 commented 1 week ago

1.21.0 Mace / Wind Charge item Implementation

API changes

both class' for the WindCharge item and Projectile have been created:

one class has been created to handle the wind charge explode particle:

Tests

I tested this PR by doing the following (tick all that apply):

Mace

https://github.com/pmmp/PocketMine-MP/assets/80650734/fad97c07-c4fd-49b7-bef6-612342dd54de

Wind Charges

https://github.com/pmmp/PocketMine-MP/assets/80650734/33099ece-9fcf-49fd-8c7d-9030d4d8e4c3