Class PongData.Builder
java.lang.Object
org.cloudburstmc.netty.channel.nethernet.signaling.PongData.Builder
- Enclosing class:
- PongData
The defaults are placeholders, protocol 2187 and version 1.26.50 among them; a host
sets what it speaks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setConnectionType(int connectionType) setDataVersion(int dataVersion) setGameType(int gameType) setIsEditorWorld(boolean isEditorWorld) setIsHardcore(boolean isHardcore) setLevelName(String levelName) setMaxPlayerCount(int maxPlayerCount) setOnlineAuth(boolean onlineAuth) Whether the host authenticates players against the auth service.setPlayerCount(int playerCount) setProtocol(int protocol) setSelfSignedAuth(boolean selfSignedAuth) setServerName(String serverName) setTransportLayer(int transportLayer) setVersion(String version)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setServerName
-
setProtocol
-
setVersion
-
setLevelName
-
setGameType
-
setPlayerCount
-
setMaxPlayerCount
-
setIsEditorWorld
-
setIsHardcore
-
setTransportLayer
-
setConnectionType
-
setDataVersion
-
setOnlineAuth
Whether the host authenticates players against the auth service. A host that does not should also setsetSelfSignedAuth(boolean). -
setSelfSignedAuth
-
setNonce
-
build
-