mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
Added Attachable MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
16
paper-api/src/main/java/org/bukkit/material/Attachable.java
Normal file
16
paper-api/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();
|
||||||
|
}
|
Reference in New Issue
Block a user