SPIGOT-4650: Charging API for Vex

This commit is contained in:
md_5 2019-03-05 16:47:25 +11:00
parent 96e09e50c1
commit 0b95b68f96

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);
}