SPIGOT-4650: Charging API for Vex

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-03-05 16:47:25 +11:00
parent 71b6e8e6c6
commit a9891b05f1

View file

@ -3,4 +3,23 @@ package org.bukkit.entity;
/**
* Represents a Vex.
*/
public interface Vex extends Monster { }
public interface Vex extends Monster {
/**
* Gets the charging state of this entity.
*
* When this entity is charging it will having a glowing red texture.
*
* @return charging state
*/
boolean isCharging();
/**
* Sets the charging state of this entity.
*
* When this entity is charging it will having a glowing red texture.
*
* @param charging new state
*/
void setCharging(boolean charging);
}