mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
By: Protected <myshelter@gmail.com>
This commit is contained in:
parent
85d6ef5bd8
commit
1b81a00661
1 changed files with 12 additions and 0 deletions
|
@ -118,6 +118,18 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||||
return entity.id;
|
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() {
|
public Entity getHandle() {
|
||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue