mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 22:52:13 -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
|
* @param entity Entity to add to the block
|
||||||
*/
|
*/
|
||||||
void addEntity(@NotNull T entity);
|
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