From b00a3934168e44426522d7e5656d2e017be83bd6 Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Mon, 5 Apr 2021 18:12:06 -0400 Subject: [PATCH] Add EntityBlockStorage#clearEntities() --- .../src/main/java/org/bukkit/block/EntityBlockStorage.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/block/EntityBlockStorage.java b/paper-api/src/main/java/org/bukkit/block/EntityBlockStorage.java index f3f8d765d5..739911cda3 100644 --- a/paper-api/src/main/java/org/bukkit/block/EntityBlockStorage.java +++ b/paper-api/src/main/java/org/bukkit/block/EntityBlockStorage.java @@ -53,4 +53,11 @@ public interface EntityBlockStorage 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 }