mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Added Attachable MaterialData
This commit is contained in:
parent
9afcb8ecc7
commit
468c8bd48b
1 changed files with 16 additions and 0 deletions
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…
Add table
Reference in a new issue