mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Added Attachable MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
3a76f4d8dd
commit
4d443d2fc5
1 changed files with 16 additions and 0 deletions
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();
|
||||
}
|
Loading…
Reference in a new issue