Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Add CookTimeTotal API to Furnace
Dieser Commit ist enthalten in:
Ursprung
1a64d4ae2b
Commit
61c762f448
@ -55,6 +55,16 @@ public class CraftFurnace extends CraftContainer<TileEntityFurnace> implements F
|
|||||||
this.getSnapshot().setProperty(2, cookTime);
|
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
|
@Override
|
||||||
public String getCustomName() {
|
public String getCustomName() {
|
||||||
TileEntityFurnace furnace = this.getSnapshot();
|
TileEntityFurnace furnace = this.getSnapshot();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren