aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0346-Add-missing-block-data-mins-and-maxes.patch
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-04-06 23:51:47 +0200
committerGitHub <[email protected]>2024-04-06 14:51:47 -0700
commitacf838f5354292eeb2888ae763c9125f0c270409 (patch)
tree27cf33fdb309236f3c2e1ca537f39906fca42dae /patches/api/0346-Add-missing-block-data-mins-and-maxes.patch
parent182e79bce1260a11558232e626867b3a3b319155 (diff)
downloadPaper-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.patch20
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.
+ *