public class BedrockClient extends Bedrock
| Constructor and Description |
|---|
BedrockClient(InetSocketAddress bindAddress) |
BedrockClient(InetSocketAddress bindAddress,
io.netty.channel.EventLoopGroup eventLoopGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<BedrockClientSession> |
connect(InetSocketAddress address) |
BedrockClientSession |
getSession() |
protected void |
onTick() |
CompletableFuture<BedrockPong> |
ping(InetSocketAddress address) |
bind, getBindAddress, getBootstrappublic BedrockClient(InetSocketAddress bindAddress)
public BedrockClient(InetSocketAddress bindAddress, io.netty.channel.EventLoopGroup eventLoopGroup)
public void close()
close in interface MinecraftInterfaceclose in class Bedrockpublic CompletableFuture<BedrockClientSession> connect(InetSocketAddress address)
public CompletableFuture<BedrockPong> ping(InetSocketAddress address)
public BedrockClientSession getSession()
Copyright © 2018–2019 NukkitX. All rights reserved.