mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
SculkCatalyst bloom API
This commit is contained in:
parent
01ef5a53c4
commit
c4091d62f4
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue