mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 00:52:22 -07:00
@@ -3,6 +3,7 @@ package org.bukkit;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
||||||
|
import org.bukkit.block.data.BlockData;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
@@ -214,4 +215,12 @@ public interface Chunk {
|
|||||||
* @param ticks new inhabited time
|
* @param ticks new inhabited time
|
||||||
*/
|
*/
|
||||||
void setInhabitedTime(long ticks);
|
void setInhabitedTime(long ticks);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tests if this chunk contains the specified block.
|
||||||
|
*
|
||||||
|
* @param block block to test
|
||||||
|
* @return if the block is contained within
|
||||||
|
*/
|
||||||
|
boolean contains(@NotNull BlockData block);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user