Package org.screamingsandals.bedwars.api
Interface Region
public interface Region
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuiltDuringGame
(org.bukkit.Location loc) org.bukkit.block.Block
getBedNeighbor
(org.bukkit.block.Block head) boolean
isBedBlock
(org.bukkit.block.BlockState block) boolean
isBedHead
(org.bukkit.block.BlockState block) boolean
isBlockAddedDuringGame
(org.bukkit.Location loc) boolean
isChunkUsed
(org.bukkit.Chunk chunk) boolean
isDoorBlock
(org.bukkit.block.BlockState block) boolean
isDoorBottomBlock
(org.bukkit.block.BlockState block) boolean
isLiquid
(org.bukkit.Material material) void
putOriginalBlock
(org.bukkit.Location loc, org.bukkit.block.BlockState block) void
regen()
Don't use from APIvoid
removeBlockBuiltDuringGame
(org.bukkit.Location loc)
-
Method Details
-
isBlockAddedDuringGame
boolean isBlockAddedDuringGame(org.bukkit.Location loc) - Parameters:
loc
-- Returns:
-
putOriginalBlock
void putOriginalBlock(org.bukkit.Location loc, org.bukkit.block.BlockState block) - Parameters:
loc
-block
-
-
addBuiltDuringGame
void addBuiltDuringGame(org.bukkit.Location loc) - Parameters:
loc
-
-
removeBlockBuiltDuringGame
void removeBlockBuiltDuringGame(org.bukkit.Location loc) - Parameters:
loc
-
-
isLiquid
boolean isLiquid(org.bukkit.Material material) - Parameters:
material
-- Returns:
-
isBedBlock
boolean isBedBlock(org.bukkit.block.BlockState block) - Parameters:
block
-- Returns:
-
isBedHead
boolean isBedHead(org.bukkit.block.BlockState block) - Parameters:
block
-- Returns:
-
isDoorBlock
boolean isDoorBlock(org.bukkit.block.BlockState block) -
isDoorBottomBlock
boolean isDoorBottomBlock(org.bukkit.block.BlockState block) -
getBedNeighbor
org.bukkit.block.Block getBedNeighbor(org.bukkit.block.Block head) - Parameters:
head
-- Returns:
-
isChunkUsed
boolean isChunkUsed(org.bukkit.Chunk chunk) - Parameters:
chunk
-- Returns:
-
regen
void regen()Don't use from API
-