Added Attachable MaterialData
This commit is contained in:
parent
9afcb8ecc7
commit
468c8bd48b
16
src/main/java/org/bukkit/material/Attachable.java
Normal file
16
src/main/java/org/bukkit/material/Attachable.java
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
package org.bukkit.material;
|
||||||
|
|
||||||
|
import org.bukkit.BlockFace;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Indicates that a block can be attached to another block
|
||||||
|
*/
|
||||||
|
public interface Attachable {
|
||||||
|
/**
|
||||||
|
* Gets the face that this block is attached on
|
||||||
|
*
|
||||||
|
* @return BlockFace attached to
|
||||||
|
*/
|
||||||
|
public BlockFace getAttachedFace();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user