mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Chunk hooks
By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
parent
b5b33a5f28
commit
16c73e630d
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
package org.bukkit;
|
||||
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.block.BlockState;
|
||||
import org.bukkit.entity.Entity;
|
||||
|
||||
/**
|
||||
* Represents a chunk of blocks
|
||||
|
@ -38,4 +40,8 @@ public interface Chunk {
|
|||
* @return the Block
|
||||
*/
|
||||
Block getBlock(int x, int y, int z);
|
||||
|
||||
Entity[] getEntities();
|
||||
|
||||
BlockState[] getTileEntities();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue