mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
Add CookTimeTotal API to Furnace
By: md_5 <git@md-5.net>
This commit is contained in:
parent
09b5837195
commit
92278020ef
@ -55,6 +55,16 @@ public class CraftFurnace extends CraftContainer<TileEntityFurnace> implements F
|
||||
this.getSnapshot().setProperty(2, cookTime);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCookTimeTotal() {
|
||||
return this.getSnapshot().getProperty(3);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCookTimeTotal(int cookTimeTotal) {
|
||||
this.getSnapshot().setProperty(3, cookTimeTotal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCustomName() {
|
||||
TileEntityFurnace furnace = this.getSnapshot();
|
||||
|
Loading…
Reference in New Issue
Block a user