Skip to main content

Module java

Module java 

Source
Expand description

Java Edition data models.

JavaStatus is the root model produced by the Java Modern protocol handshake. All fields are populated from the JSON payload returned in the Status Response packet.

Most users interact with these fields through JavaServerStatus accessors rather than accessing JavaStatus directly. Use .raw() or match on ServerData::Java when you need the underlying struct.

Structsยง

JavaMod
A single mod entry, reported by Forge and Fabric servers.
JavaPlayer
A single player entry in the status sample list.
JavaPlayers
Online and maximum player counts, plus an optional sample list.
JavaPlugin
A single server plugin entry, reported by some server software.
JavaStatus
Full status payload returned by a Java Edition server.
JavaVersion
Java server version information.