Java Code Examples for org.bukkit.block.BlockState.getWorld()

The following are Jave code examples for showing how to use getWorld() of the org.bukkit.block.BlockState class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: ProjectAres   File: BlockEventQuery.java   Source Code and License Vote up 4 votes
public BlockEventQuery(Event event, BlockState block) {
    this(event, block.getWorld(), block.getX(), block.getY(), block.getZ(), block);
}
 
Example 2
Project: ProjectAres   File: BlockQuery.java   Source Code and License Vote up 4 votes
public BlockQuery(BlockState block) {
    this(block.getWorld(), block.getX(), block.getY(), block.getZ(), block);
}