mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-05 01:10:19 -05:00
Add CookTimeTotal API to Furnace
This commit is contained in:
1 parent
1a64d4ae2b
commit
61c762f448
1 file changed
+10
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user