mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 02:34:30 +01:00
Add EntityBlockStorage#clearEntities()
This commit is contained in:
parent
f4e92bc267
commit
b00a393416
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue