FML
FML copied to clipboard
[Suggestion] Event-based fuels
Idk, but I feel like event-based fuels would be somehow nicer... FuelEvent, BetterFuelEvent extends FuelEvent (look at my BetterSmelting mod), etc... it also wouldn't force me to reflect fuelHandlers as that wouldn't exist...
(Something tells me this is not doable, tho :/)
Edit: Actually maybe I should list some pros here:
- MineTweaker wouldn't reflect fuelHandlers
- I wouldn't reflect fuelHandlers (I would just throw an event instead and most of BetterSmelting's API wouldn't be needed (except for the smelting stuff))
- Overriding fuels would be a lot easier/less hacky (see stanhebben/MineTweaker3#28)
- Helps with compatibility
-
Cons:
- It would be a pain to go from the old system to the new system... Maybe wait for a major update? (1.8?)
- I'm not entirely sure how it would work... (This is actually a BIG con because if nobody knows how to do it then it can't be done...)
Edit2: ~~I'm not sure if it's doable with the current event system... I didn't check if the current system respects inheritance...~~ Both CPW and LexManos said it does...
[I'm reposting this from MinecraftForge/MinecraftForge#1243 as I thought Forge handled fuel stuff... I should pay more attention to the package I'm messing with... :/]