mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-21 14:39:01 +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;
|
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