Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
Dieser Commit ist enthalten in:
Ursprung
7b6713b918
Commit
e97889e80a
@ -118,6 +118,18 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||
return entity.id;
|
||||
}
|
||||
|
||||
public int getFireTicks() {
|
||||
return entity.fireTicks;
|
||||
}
|
||||
|
||||
public int getMaxFireTicks() {
|
||||
return entity.maxFireTicks;
|
||||
}
|
||||
|
||||
public void setFireTicks(int ticks) {
|
||||
entity.fireTicks = ticks;
|
||||
}
|
||||
|
||||
public Entity getHandle() {
|
||||
return entity;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren