Ton of Material extensions handling the meta-data of blocks.
By: sunkid <sunkid@iminurnetz.com>
This commit is contained in:
18
paper-api/src/main/java/org/bukkit/material/Directional.java
Normal file
18
paper-api/src/main/java/org/bukkit/material/Directional.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package org.bukkit.material;
|
||||
|
||||
import org.bukkit.block.BlockFace;
|
||||
|
||||
public interface Directional {
|
||||
|
||||
/**
|
||||
* Sets the direction that this block is facing in
|
||||
*/
|
||||
public void setFacingDirection(BlockFace face);
|
||||
|
||||
/**
|
||||
* Gets the direction this block is facing
|
||||
*
|
||||
* @return the direction this block is facing
|
||||
*/
|
||||
public BlockFace getFacing();
|
||||
}
|
||||
Reference in New Issue
Block a user