Commits
md_5 authored 09141842cdf
17 17 | private boolean burning; |
18 18 | |
19 19 | public FurnaceBurnEvent(final Block furnace, final ItemStack fuel, final int burnTime) { |
20 20 | super(furnace); |
21 21 | this.fuel = fuel; |
22 22 | this.burnTime = burnTime; |
23 23 | this.cancelled = false; |
24 24 | this.burning = true; |
25 25 | } |
26 26 | |
27 - | /** |
28 - | * Gets the block for the furnace involved in this event |
29 - | * |
30 - | * @return the block of the furnace |
31 - | * @deprecated In favour of {@link #getBlock()}. |
32 - | */ |
33 - | |
34 - | public Block getFurnace() { |
35 - | return getBlock(); |
36 - | } |
37 - | |
38 27 | /** |
39 28 | * Gets the fuel ItemStack for this event |
40 29 | * |
41 30 | * @return the fuel ItemStack |
42 31 | */ |
43 32 | public ItemStack getFuel() { |
44 33 | return fuel; |
45 34 | } |
46 35 | |
47 36 | /** |