diff options
Diffstat (limited to 'patches/api/0346-Add-missing-block-data-mins-and-maxes.patch')
-rw-r--r-- | patches/api/0346-Add-missing-block-data-mins-and-maxes.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/api/0346-Add-missing-block-data-mins-and-maxes.patch b/patches/api/0346-Add-missing-block-data-mins-and-maxes.patch index 600497b952..63a647706a 100644 --- a/patches/api/0346-Add-missing-block-data-mins-and-maxes.patch +++ b/patches/api/0346-Add-missing-block-data-mins-and-maxes.patch @@ -65,3 +65,23 @@ index 3ea21dfad26222ee70fbc627595f54de1a28aa96..cd013a7c42648d819d1e91c7cf9f97a8 + int getMinimumDistance(); + // Paper end } +diff --git a/src/main/java/org/bukkit/block/data/type/PinkPetals.java b/src/main/java/org/bukkit/block/data/type/PinkPetals.java +index a84b36f7587eb2ed9e9177973b3166dc94cdf3df..eae9c9cdd0f47a7480ee23ac7b655692f5ee9c1e 100644 +--- a/src/main/java/org/bukkit/block/data/type/PinkPetals.java ++++ b/src/main/java/org/bukkit/block/data/type/PinkPetals.java +@@ -21,6 +21,15 @@ public interface PinkPetals extends Directional { + */ + void setFlowerAmount(int flower_amount); + ++ // Paper start ++ /** ++ * Gets the minimum allowed value of the 'flower_amount' property. ++ * ++ * @return the minimum 'flower_amount' value ++ */ ++ int getMinimumFlowerAmount(); ++ // Paper end ++ + /** + * Gets the maximum allowed value of the 'flower_amount' property. + * |