mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
This commit is contained in:
parent
71b6e8e6c6
commit
a9891b05f1
@ -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 New Issue
Block a user