mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
This commit is contained in:
1 parent
7b6713b918
commit
e97889e80a
1 file changed
+12
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user