mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
By: Protected <myshelter@gmail.com>
This commit is contained in:
parent
77a963e3eb
commit
09916f398f
@ -42,4 +42,25 @@ public interface Entity {
|
||||
* @return Entity id
|
||||
*/
|
||||
public int getEntityId();
|
||||
|
||||
/**
|
||||
* Returns the entity's current fire ticks (ticks before the entity stops being on fire).
|
||||
*
|
||||
* @return int fireTicks
|
||||
*/
|
||||
public int getFireTicks();
|
||||
|
||||
/**
|
||||
* Returns the entity's maximum fire ticks.
|
||||
*
|
||||
* @return int maxFireTicks
|
||||
*/
|
||||
public int getMaxFireTicks();
|
||||
|
||||
/**
|
||||
* Sets the entity's current fire ticks (ticks before the entity stops being on fire).
|
||||
*
|
||||
* @param ticks
|
||||
*/
|
||||
public void setFireTicks(int ticks);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user