#724: Add PDC to World

This commit is contained in:
DerFrZocker 2022-02-15 09:35:32 +11:00 committed by md_5
parent 8085edde6d
commit 72fe8b71bb
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -26,6 +26,7 @@ import org.bukkit.generator.WorldInfo;
import org.bukkit.inventory.ItemStack;
import org.bukkit.material.MaterialData;
import org.bukkit.metadata.Metadatable;
import org.bukkit.persistence.PersistentDataHolder;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.messaging.PluginMessageRecipient;
import org.bukkit.util.BoundingBox;
@ -39,7 +40,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Represents a world, which may contain entities, chunks and blocks
*/
public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient, Metadatable {
public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient, Metadatable, PersistentDataHolder {
/**
* Gets the {@link Block} at the given coordinates