mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 04:02:06 -07:00
Add EntityBlockStorage#clearEntities()
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user