mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-13 19:52:08 +01:00
Add EntityBlockStorage#clearEntities()
This commit is contained in:
parent
f4e92bc267
commit
b00a393416
@ -53,4 +53,11 @@ public interface EntityBlockStorage<T extends Entity> extends TileState {
|
||||
* @param entity Entity to add to the block
|
||||
*/
|
||||
void addEntity(@NotNull T entity);
|
||||
|
||||
// Paper start - Add EntityBlockStorage clearEntities
|
||||
/**
|
||||
* Clear all currently stored entities in the block.
|
||||
*/
|
||||
void clearEntities();
|
||||
// Paper end
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user