diff options
author | t00thpick1 <t00thpick1dirko@gmail.com> | 2014-01-26 20:08:28 -0500 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2014-01-30 21:58:48 -0700 |
commit | cd783276fb21579b313a6da44c9cf07846277368 (patch) | |
tree | 733df0d0cf1b865dfd468d78ee69a9c990569194 /src/main/java/org | |
parent | a64d07ea714cea239a68d135fbdb1aa1d52c8dbb (diff) | |
download | bukkit-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/java/org')
-rw-r--r-- | src/main/java/org/bukkit/entity/WitherSkull.java | 15 |
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(); } |