From 05119d68ce9dde16d4636a035c5fca65f13ced2f Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 26 Jan 2014 20:08:28 -0500 Subject: [PATCH] [Bleeding] Add setCharged and getCharged to WitherSkull. Adds BUKKIT-3060 By: t00thpick1 --- .../main/java/org/bukkit/entity/WitherSkull.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/WitherSkull.java b/paper-api/src/main/java/org/bukkit/entity/WitherSkull.java index 8c71a9b9c2..33d20abc04 100644 --- a/paper-api/src/main/java/org/bukkit/entity/WitherSkull.java +++ b/paper-api/src/main/java/org/bukkit/entity/WitherSkull.java @@ -1,8 +1,21 @@ package org.bukkit.entity; /** - * Represents a wither skull {@link Fireball} + * Represents a wither skull {@link Fireball}. */ public interface WitherSkull extends Fireball { + /** + * Sets the charged status of the wither skull. + * + * @param charged whether it should be charged + */ + public void setCharged(boolean charged); + + /** + * Gets whether or not the wither skull is charged. + * + * @return whether the wither skull is charged + */ + public boolean isCharged(); }