mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
#501: Add PersistentDataHolder to Chunk
By: Nesaak <52047222+Nesaak@users.noreply.github.com>
This commit is contained in:
@@ -5,13 +5,14 @@ import org.bukkit.block.Block;
|
|||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
||||||
import org.bukkit.block.data.BlockData;
|
import org.bukkit.block.data.BlockData;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
|
import org.bukkit.persistence.PersistentDataHolder;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a chunk of blocks
|
* Represents a chunk of blocks
|
||||||
*/
|
*/
|
||||||
public interface Chunk {
|
public interface Chunk extends PersistentDataHolder {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the X-coordinate of this chunk
|
* Gets the X-coordinate of this chunk
|
||||||
|
Reference in New Issue
Block a user