From cd783276fb21579b313a6da44c9cf07846277368 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sun, 26 Jan 2014 20:08:28 -0500 Subject: [Bleeding] Add setCharged and getCharged to WitherSkull. Adds BUKKIT-3060 --- src/main/java/org/bukkit/entity/WitherSkull.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/main/java') 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(); } -- cgit v1.2.3