Events/Launch/minified-launch
GameOutputEvent
Gets fired for every line the game prints, only when captureGameOutput is enabled in the launch configuration
Fields
lineStringThe line, without the line break
streamGameOutputEvent.StreamWhich output stream the line came from
Types
GameOutputEvent.Stream
APISTDOUTSTDERRListening
Subscribe on the EventBus the event is posted to, see Events for which bus that is.
eventBus.subscribe(GameOutputEvent.class, event -> {
String line = event.line();
Stream stream = event.stream();
});eventBus.subscribe(GameOutputEvent::class.java) { event ->
val line = event.line()
val stream = event.stream()
}Posted by
API reference: com.dervarex.minified.launch.events.launch.GameOutputEvent