Add EntityBlockStorage#clearEntities()

This commit is contained in:
Owen1212055 2021-04-05 18:12:06 -04:00
parent f4e92bc267
commit b00a393416

View File

@ -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
}