unwrap

inline fun <T : FabricEvent<*>, R : Any> UpdateEvent.unwrap(block: (T) -> R): R