21 lines
425 B
Java
21 lines
425 B
Java
package org.bukkit.material;
|
|
|
|
import org.bukkit.block.BlockFace;
|
|
|
|
public interface Directional {
|
|
|
|
/**
|
|
* Sets the direction that this block is facing in
|
|
*
|
|
* @param face The facing direction
|
|
*/
|
|
public void setFacingDirection(BlockFace face);
|
|
|
|
/**
|
|
* Gets the direction this block is facing
|
|
*
|
|
* @return the direction this block is facing
|
|
*/
|
|
public BlockFace getFacing();
|
|
}
|