mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-4650: Charging API for Vex
This commit is contained in:
parent
96e09e50c1
commit
0b95b68f96
1 changed files with 20 additions and 1 deletions
|
@ -3,4 +3,23 @@ package org.bukkit.entity;
|
||||||
/**
|
/**
|
||||||
* Represents a Vex.
|
* 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);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue