There is no direct way of saving BlockEvents or any class like that, because it is not a base field like ints and doubles are. You will have to save the data yourself. Meaning you need the blocks registryName, any blockstate information ie metadata or its properties, the position, and the type of event. Use WorldSavedData to save it to the world or alternatively an event for when the world loads/saves or capabilites for players.