mirror of
https://github.com/Samsuik/Sakura.git
synced 2026-01-06 15:41:49 +00:00
Some formatting changes to API
This commit is contained in:
@@ -5,28 +5,27 @@ Subject: [PATCH] isPushedByFluid API
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java
|
||||
index 1d0fd7ff8449f815a7d980af0b378181ea8bf8d8..27b7b6c676b514968efefe254dc4afde122438ad 100644
|
||||
index 1d0fd7ff8449f815a7d980af0b378181ea8bf8d8..e0ef6e5a4664b69a5797afeafac2c6436137cab3 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Entity.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Entity.java
|
||||
@@ -111,6 +111,23 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
|
||||
@@ -111,6 +111,22 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
|
||||
*/
|
||||
public boolean isInWater();
|
||||
|
||||
+ // Sakura start
|
||||
+
|
||||
+ /**
|
||||
+ * Gets if the entity will be pushed by fluid
|
||||
+ * Gets if the entity will be pushed by fluid.
|
||||
+ *
|
||||
+ * @return ahem
|
||||
+ * @return if this entity can be pushed by fluid.
|
||||
+ */
|
||||
+ boolean isPushedByFluid();
|
||||
+
|
||||
+ /**
|
||||
+ * Sets if the entity will be pushed by fluid
|
||||
+ * Sets if the entity will be pushed by fluid.
|
||||
+ *
|
||||
+ * @param push pushed by fluid
|
||||
+ * @param state whether entity should be pushed by fluid
|
||||
+ */
|
||||
+ void setPushedByFluid(boolean push);
|
||||
+ void setPushedByFluid(boolean state);
|
||||
+ // Sakura end
|
||||
+
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user