diff options
author | Lulu13022002 <[email protected]> | 2024-04-06 23:51:47 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-06 14:51:47 -0700 |
commit | acf838f5354292eeb2888ae763c9125f0c270409 (patch) | |
tree | 27cf33fdb309236f3c2e1ca537f39906fca42dae /patches/api/0346-Add-missing-block-data-mins-and-maxes.patch | |
parent | 182e79bce1260a11558232e626867b3a3b319155 (diff) | |
download | Paper-acf838f5354292eeb2888ae763c9125f0c270409.tar.gz Paper-acf838f5354292eeb2888ae763c9125f0c270409.zip |
Backport some stuff from the generators branch (#10365)
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. + * |