From 78dab8fe5266b1198620284b908a9e81bb4438d4 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 7 Jan 2022 09:40:30 +1100 Subject: [PATCH] #705: Add PDC to Structures By: Martoph --- paper-api/src/main/java/org/bukkit/structure/Structure.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/structure/Structure.java b/paper-api/src/main/java/org/bukkit/structure/Structure.java index 9ac52306c7..ad78225119 100644 --- a/paper-api/src/main/java/org/bukkit/structure/Structure.java +++ b/paper-api/src/main/java/org/bukkit/structure/Structure.java @@ -7,6 +7,7 @@ import org.bukkit.RegionAccessor; import org.bukkit.block.structure.Mirror; import org.bukkit.block.structure.StructureRotation; import org.bukkit.entity.Entity; +import org.bukkit.persistence.PersistentDataHolder; import org.bukkit.util.BlockVector; import org.jetbrains.annotations.NotNull; @@ -24,7 +25,7 @@ import org.jetbrains.annotations.NotNull; * world folder, a DataPack, or the server's own default resources, so that the * StructureManager can find it. */ -public interface Structure { +public interface Structure extends PersistentDataHolder { /** * Gets the current size of the structure.