public class BedrockServer extends Bedrock
| Constructor and Description |
|---|
BedrockServer(InetSocketAddress bindAddress) |
BedrockServer(InetSocketAddress bindAddress,
int maxThreads) |
BedrockServer(InetSocketAddress bindAddress,
int maxThreads,
io.netty.channel.EventLoopGroup eventLoopGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(String reason) |
BedrockServerEventHandler |
getHandler() |
boolean |
isClosed() |
protected void |
onTick() |
void |
setHandler(BedrockServerEventHandler handler) |
bind, getBindAddress, getBootstrappublic BedrockServer(InetSocketAddress bindAddress)
public BedrockServer(InetSocketAddress bindAddress, int maxThreads)
public BedrockServer(InetSocketAddress bindAddress, int maxThreads, io.netty.channel.EventLoopGroup eventLoopGroup)
public BedrockServerEventHandler getHandler()
public void setHandler(BedrockServerEventHandler handler)
public void close()
close in interface MinecraftInterfaceclose in class Bedrockpublic void close(String reason)
public boolean isClosed()
Copyright © 2018–2019 NukkitX. All rights reserved.