SculkCatalyst bloom API

This commit is contained in:
Oliwier Miodun 2023-07-10 17:59:42 +02:00
parent 01ef5a53c4
commit c4091d62f4

View file

@ -24,4 +24,14 @@ public interface SculkCatalyst extends TileState {
* @param charges how much charge to spawn.
*/
void bloom(@NotNull Block block, int charges);
// Paper start - SculkCatalyst bloom API
/**
* Bloom at the specified location as if an entity that drops experience just died there.
*
* @param position position to bloom at
* @param charge charge to bloom with, normally the amount of experience dropped from the dead entity
*/
void bloom(@org.jetbrains.annotations.NotNull io.papermc.paper.math.Position position, int charge);
// Paper end - SculkCatalyst bloom API
}