mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
This commit is contained in:
parent
71b6e8e6c6
commit
a9891b05f1
1 changed files with 20 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue