#705: Add PDC to Structures

This commit is contained in:
Martoph 2022-01-07 09:40:30 +11:00 committed by md_5
parent a7505b3cd0
commit fde55ab8d1
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -7,6 +7,7 @@ import org.bukkit.RegionAccessor;
import org.bukkit.block.structure.Mirror; import org.bukkit.block.structure.Mirror;
import org.bukkit.block.structure.StructureRotation; import org.bukkit.block.structure.StructureRotation;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.persistence.PersistentDataHolder;
import org.bukkit.util.BlockVector; import org.bukkit.util.BlockVector;
import org.jetbrains.annotations.NotNull; 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 * world folder, a DataPack, or the server's own default resources, so that the
* StructureManager can find it. * StructureManager can find it.
*/ */
public interface Structure { public interface Structure extends PersistentDataHolder {
/** /**
* Gets the current size of the structure. * Gets the current size of the structure.