Silenceable Lightning API

By: drXor <mcyoungsota@gmail.com>
This commit is contained in:
Bukkit/Spigot
2014-02-23 16:16:29 -04:00
parent 666a89b3e3
commit 7e29c12d04
2 changed files with 39 additions and 0 deletions

View File

@ -86,6 +86,16 @@ public interface LightningStrike extends Entity {
// Spigot start
public class Spigot extends Entity.Spigot {
/**
* Returns whether the strike is silent.
*
* @return whether the strike is silent.
* @deprecated sound is now client side and cannot be removed
*/
@Deprecated(since = "1.20.4")
public boolean isSilent() {
throw new UnsupportedOperationException("Not supported yet.");
}
}
@NotNull