There is already a compatibility with most fuels that use forge tags, but you cann add your own in a datapack, look here for a tutorial. Configure pumpjack output fluid by giving the fluid the createdieselgenerators:pumpjack_output Biomes can be denied from having oil by the createdieselgenerators:deny_oil_biomes tag or have an increased amount ...
