Interface Regions
public interface Regions
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlacedBlock(org.bukkit.block.Block block) Marks the block as being player-placed in the region manager.booleanisPlacedBlock(org.bukkit.block.Block block) Gets whether the block was placed by a player as tracked by the region manager.
-
Method Details
-
isPlacedBlock
boolean isPlacedBlock(org.bukkit.block.Block block) Gets whether the block was placed by a player as tracked by the region manager. Placed blocks will not give XP in most cases.- Parameters:
block- the block to check- Returns:
- whether the block is player-placed
-
addPlacedBlock
void addPlacedBlock(org.bukkit.block.Block block) Marks the block as being player-placed in the region manager. Placed blocks will not give XP in most cases.- Parameters:
block- the block to mark as player-placed
-