summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/entity/WitherSkull.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/entity/WitherSkull.java b/src/main/java/org/bukkit/entity/WitherSkull.java
index 8c71a9b9..33d20abc 100644
--- a/src/main/java/org/bukkit/entity/WitherSkull.java
+++ b/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();
}