From fb39d0943e3c3d52509a6507df91bf7378c7e7fc Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 27 Apr 2019 09:30:16 +1000 Subject: [PATCH] SPIGOT-4778: Bell Attachment is missing By: md_5 --- .../java/org/bukkit/block/data/type/Bell.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/block/data/type/Bell.java b/paper-api/src/main/java/org/bukkit/block/data/type/Bell.java index a786eda091..e83f41b23f 100644 --- a/paper-api/src/main/java/org/bukkit/block/data/type/Bell.java +++ b/paper-api/src/main/java/org/bukkit/block/data/type/Bell.java @@ -1,12 +1,28 @@ package org.bukkit.block.data.type; import org.bukkit.block.data.Directional; +import org.jetbrains.annotations.NotNull; /** * 'attachment' denotes how the bell is attached to its block. */ public interface Bell extends Directional { + /** + * Gets the value of the 'attachment' property. + * + * @return the 'attachment' value + */ + @NotNull + Attachment getAttachment(); + + /** + * Sets the value of the 'attachment' property. + * + * @param attachment the new 'attachment' value + */ + void setAttachment(@NotNull Attachment attachment); + /** * What the bell is attached to. */