◆ __construct()
__construct |
( |
Furnace |
$furnace, |
|
|
Item |
$fuel, |
|
|
|
$burnTime |
|
) |
| |
FurnaceBurnEvent constructor.
- Parameters
-
Furnace | $furnace | |
Item | $fuel | |
| $burnTime | |
45 parent::__construct($furnace->getBlock());
47 $this->burnTime = (int) $burnTime;
48 $this->furnace = $furnace;
◆ getBurnTime()
- Returns
- int
69 return $this->burnTime;
◆ getFuel()
◆ getFurnace()
- Returns
- Furnace
55 return $this->furnace;
◆ isBurning()
- Returns
- bool
83 return $this->burning;
◆ setBurning()
- Parameters
-
90 $this->burning = (bool) $burning;
◆ setBurnTime()
- Parameters
-
76 $this->burnTime = (int) $burnTime;
◆ $handlerList
The documentation for this class was generated from the following file:
- src/pocketmine/event/inventory/FurnaceBurnEvent.php