mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 13:42:25 -07:00
Backport some stuff from the generators branch (#10365)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user