@Deprecated public class FuelBurnTimeEvent extends Event
IFuelHandler is preferred, but
this is useful in the rare situation where IFuelHandler is not effective.Result#DEFAULT allows the normal fuel handling code to proceed.
Result#ALLOW or Result#DENY uses the value of burnTime
for the given fuel, bypassing both vanilla and IFuelHandler determinations.
fuel contains the potential fuel.burnTime the results if set by an event handler.MinecraftForge#EVENT_BUS.Event.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
int |
burnTime
Deprecated.
|
ItemStack |
fuel
Deprecated.
|
| Constructor and Description |
|---|
FuelBurnTimeEvent(ItemStack fuel)
Deprecated.
|
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup