mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Chunk hooks
This commit is contained in:
parent
e8d72030c8
commit
9779cb35dd
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
||||||
package org.bukkit;
|
package org.bukkit;
|
||||||
|
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
|
import org.bukkit.block.BlockState;
|
||||||
|
import org.bukkit.entity.Entity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a chunk of blocks
|
* Represents a chunk of blocks
|
||||||
|
@ -38,4 +40,8 @@ public interface Chunk {
|
||||||
* @return the Block
|
* @return the Block
|
||||||
*/
|
*/
|
||||||
Block getBlock(int x, int y, int z);
|
Block getBlock(int x, int y, int z);
|
||||||
|
|
||||||
|
Entity[] getEntities();
|
||||||
|
|
||||||
|
BlockState[] getTileEntities();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue