SpongeAPI icon indicating copy to clipboard operation
SpongeAPI copied to clipboard

BlockPlacerCallback

Open nmacl opened this issue 1 year ago • 2 comments

Created a callback method to allow plugins to intercept the place method on Feature & Structure

https://github.com/SpongePowered/SpongeAPI/issues/2520

nmacl avatar Oct 05 '24 02:10 nmacl

I'm skeptical about using a callback instead of the blockchange event. Also, the code is duplicated and doesn't even build.

Yeregorix avatar Oct 06 '24 19:10 Yeregorix

I'm skeptical about using a callback instead of the blockchange event. Also, the code is duplicated and doesn't even build.

Seems that there's also no PR for the implementation.

avaruus1 avatar Oct 06 '24 19:10 avaruus1

As I stated on the issue, the API already has everything needed, the real work is on the implementation.

Yeregorix avatar Nov 01 '24 10:11 Yeregorix