Backport some stuff from the generators branch (#10365)

This commit is contained in:
Lulu13022002
2024-04-06 23:51:47 +02:00
parent 613a19f70d
commit d06c0b4571
7 changed files with 74 additions and 24 deletions

View File

@@ -65,3 +65,23 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ 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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/block/data/type/PinkPetals.java
+++ b/src/main/java/org/bukkit/block/data/type/PinkPetals.java
@@ -0,0 +0,0 @@ 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.
*