From 4d443d2fc55189d7946aa2aaeea333c44a1e08ca Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 15 Jan 2011 20:21:56 +0000 Subject: [PATCH] Added Attachable MaterialData By: Dinnerbone --- .../java/org/bukkit/material/Attachable.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 paper-api/src/main/java/org/bukkit/material/Attachable.java diff --git a/paper-api/src/main/java/org/bukkit/material/Attachable.java b/paper-api/src/main/java/org/bukkit/material/Attachable.java new file mode 100644 index 0000000000..241aca8a2d --- /dev/null +++ b/paper-api/src/main/java/org/bukkit/material/Attachable.java @@ -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(); +}