Skip to content

Commit d714682

Browse files
authored
Add more entity api (#7564)
1 parent 657d163 commit d714682

File tree

410 files changed

+459
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+459
-163
lines changed

patches/api/0160-Turtle-API.patch

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ index 0000000000000000000000000000000000000000..abeb24fccda2acfdb0dfdadacb8fe688
221221
+ }
222222
+}
223223
diff --git a/src/main/java/org/bukkit/entity/Turtle.java b/src/main/java/org/bukkit/entity/Turtle.java
224-
index 0a4cd29930c2f1c28f5a3e6884c7dec45b5cac11..5375ea14097f4f10b2294488b92924a35a72d4d7 100644
224+
index 0a4cd29930c2f1c28f5a3e6884c7dec45b5cac11..8bee07c81172e189fab9b82b398983f509099474 100644
225225
--- a/src/main/java/org/bukkit/entity/Turtle.java
226226
+++ b/src/main/java/org/bukkit/entity/Turtle.java
227-
@@ -1,6 +1,55 @@
227+
@@ -1,6 +1,62 @@
228228
package org.bukkit.entity;
229229

230230
+import org.bukkit.Location;
@@ -279,5 +279,12 @@ index 0a4cd29930c2f1c28f5a3e6884c7dec45b5cac11..5375ea14097f4f10b2294488b92924a3
279279
+ * @param hasEgg True if carrying egg
280280
+ */
281281
+ void setHasEgg(boolean hasEgg);
282+
+
283+
+ /**
284+
+ * Returns whether the turtle is currently laying an egg.
285+
+ *
286+
+ * @return whether the turtle is laying an egg
287+
+ */
288+
+ boolean isLayingEgg();
282289
+ // Paper end
283290
+}
File renamed without changes.

patches/api/0261-added-Wither-API.patch

Lines changed: 0 additions & 45 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)