summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authort00thpick1 <t00thpick1dirko@gmail.com>2014-01-26 20:08:28 -0500
committerNate Mortensen <nate.richard.mortensen@gmail.com>2014-01-30 21:58:48 -0700
commitcd783276fb21579b313a6da44c9cf07846277368 (patch)
tree733df0d0cf1b865dfd468d78ee69a9c990569194 /src/main
parenta64d07ea714cea239a68d135fbdb1aa1d52c8dbb (diff)
downloadbukkit-cd783276fb21579b313a6da44c9cf07846277368.tar
bukkit-cd783276fb21579b313a6da44c9cf07846277368.tar.gz
bukkit-cd783276fb21579b313a6da44c9cf07846277368.tar.lz
bukkit-cd783276fb21579b313a6da44c9cf07846277368.tar.xz
bukkit-cd783276fb21579b313a6da44c9cf07846277368.zip
[Bleeding] Add setCharged and getCharged to WitherSkull. Adds BUKKIT-3060
Diffstat (limited to 'src/main')
-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();
}