Minecraft wiki entry for Fire, associated text: Fire cannot be obtained as an item under any circumstances in Java Edition, though in Bedrock Edition both fire and soul fire may be obtained as an item via inventory editing.