SPIGOT-5380, SPIGOT-6958, #772: Add some missing entity API

By: Ollie <69084614+olijeffers0n@users.noreply.github.com>
This commit is contained in:
Bukkit/Spigot
2022-07-21 21:01:23 +10:00
parent 8c38fbb68a
commit ecc4ce98ab
8 changed files with 169 additions and 3 deletions

View File

@@ -3,4 +3,19 @@ package org.bukkit.entity;
/**
* Represents a Ghast.
*/
public interface Ghast extends Flying {}
public interface Ghast extends Flying {
/**
* Gets whether the Ghast is charging
*
* @return Whether the Ghast is charging
*/
boolean isCharging();
/**
* Sets whether the Ghast is charging
*
* @param flag Whether the Ghast is charging
*/
void setCharging(boolean flag);
}