geforkt von Mirrors/Paper
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
By: Protected <myshelter@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
77a963e3eb
Commit
09916f398f
@ -42,4 +42,25 @@ public interface Entity {
|
|||||||
* @return Entity id
|
* @return Entity id
|
||||||
*/
|
*/
|
||||||
public int getEntityId();
|
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);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren