Paper
Paper copied to clipboard
Method for Sculk Catalyst spreading Sculk
Is your feature request related to a problem?
As far as I've looked and asked, there isn't yet an API method for making a sculk catalyst spread sculk. Usually this happens when a mob dies and tries to drop XP, which is handled by a NMS method (attached).

Describe the solution you'd like.
It would be nice to have a method in the SculkCatalyst block data class that would take in a location and experience points, and attampt to spread sculk from a catalyst. Something like SculkCatalyst#growSculk(Location at, int exp);
Describe alternatives you've considered.
You can probably do it the boring way, by picking random blocks in an area and seeing if the material matches Tag.SCULK_REPLACEABLE, and replacing afterwards, but that's not gonna look natural, is it?
Other

Hello.
I'm completely new to working in opensource projects as well as working with anything minecraft related and i would like to know if i can try this problem.
Yep, go for it, Im updating my plugin code for 1.20 rn, so im prob not gonna get to this in a while xD
I want to work on this