diff --git a/paper-api/src/main/java/org/bukkit/entity/ItemFrame.java b/paper-api/src/main/java/org/bukkit/entity/ItemFrame.java index e34d408753..1568bd6627 100644 --- a/paper-api/src/main/java/org/bukkit/entity/ItemFrame.java +++ b/paper-api/src/main/java/org/bukkit/entity/ItemFrame.java @@ -33,6 +33,31 @@ public interface ItemFrame extends Hanging { */ public void setItem(@Nullable ItemStack item, boolean playSound); + /** + * Gets the chance of the item being dropped upon this frame's destruction. + * + * + * + * @return chance of the off hand item being dropped + */ + float getItemDropChance(); + + /** + * Sets the chance of the off hand item being dropped upon this frame's + * destruction. + * + * + * + * @param chance the chance of off hand item being dropped + */ + void setItemDropChance(float chance); + /** * Get the rotation of the frame's item *