Commits

Nesaak authored and md_5 committed 92b99cde85a
#501: Add PersistentDataHolder to Chunk
No tags

src/main/java/org/bukkit/Chunk.java

Modified
1 1 package org.bukkit;
2 2
3 3 import java.util.Collection;
4 4 import org.bukkit.block.Block;
5 5 import org.bukkit.block.BlockState;
6 6 import org.bukkit.block.data.BlockData;
7 7 import org.bukkit.entity.Entity;
8 +import org.bukkit.persistence.PersistentDataHolder;
8 9 import org.bukkit.plugin.Plugin;
9 10 import org.jetbrains.annotations.NotNull;
10 11
11 12 /**
12 13 * Represents a chunk of blocks
13 14 */
14 -public interface Chunk {
15 +public interface Chunk extends PersistentDataHolder {
15 16
16 17 /**
17 18 * Gets the X-coordinate of this chunk
18 19 *
19 20 * @return X-coordinate
20 21 */
21 22 int getX();
22 23
23 24 /**
24 25 * Gets the Z-coordinate of this chunk

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut