- All Implemented Interfaces:
org.geysermc.event.Event, org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
public class GeyserBedrockPingEventImpl
extends Object
implements org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
Constructor Summary
Constructors
-
Method Summary
int
void
@org.checkerframework.checker.index.qual.NonNegative int
void
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GeyserBedrockPingEventImpl
public GeyserBedrockPingEventImpl
(org.cloudburstmc.protocol.bedrock.BedrockPong pong,
InetSocketAddress address)
-
Method Details
-
primaryMotd
public void primaryMotd
(@Nonnull
String primary)
- Specified by:
primaryMotd in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
secondaryMotd
public void secondaryMotd
(@Nonnull
String secondary)
- Specified by:
secondaryMotd in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
playerCount
public void playerCount(int count)
- Specified by:
playerCount in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
maxPlayerCount
public void maxPlayerCount(int max)
- Specified by:
maxPlayerCount in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
primaryMotd
public @Nullable String primaryMotd()
- Specified by:
primaryMotd in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
secondaryMotd
public @Nullable String secondaryMotd()
- Specified by:
secondaryMotd in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
playerCount
public @org.checkerframework.checker.index.qual.NonNegative int playerCount()
- Specified by:
playerCount in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
maxPlayerCount
public int maxPlayerCount()
- Specified by:
maxPlayerCount in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent
-
address
- Specified by:
address in interface org.geysermc.geyser.api.event.connection.GeyserBedrockPingEvent