From 69a15173bac27d925c18ad143973e78700b9602c Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sun, 5 Dec 2021 13:16:55 -0800 Subject: [PATCH] [ci skip] Clarify setSize consequences for Slimes (#7036) --- patches/api/Fix-upstream-javadocs.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/patches/api/Fix-upstream-javadocs.patch b/patches/api/Fix-upstream-javadocs.patch index 8e94854f30..fe7812e65e 100644 --- a/patches/api/Fix-upstream-javadocs.patch +++ b/patches/api/Fix-upstream-javadocs.patch @@ -88,6 +88,27 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 * @param message The message to send * @deprecated use {@link #sendActionBar(Component)} */ +diff --git a/src/main/java/org/bukkit/entity/Slime.java b/src/main/java/org/bukkit/entity/Slime.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/org/bukkit/entity/Slime.java ++++ b/src/main/java/org/bukkit/entity/Slime.java +@@ -0,0 +0,0 @@ public interface Slime extends Mob { + public int getSize(); + + /** ++ * Setting the size of the slime (regardless of previous size) ++ * will set the following attributes: ++ * ++ * to their per-size defaults and heal the ++ * slime to its max health (assuming it's alive). ++ * + * @param sz The new size of the slime. + */ + public void setSize(int sz); diff --git a/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java b/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java