public final class SpongeStatusResponse extends Object
Modifier and Type | Method and Description |
---|---|
static net.minecraft.network.ServerStatusResponse |
create(net.minecraft.server.MinecraftServer server) |
static String |
getMotd(net.minecraft.network.ServerStatusResponse response) |
static String |
getUnformattedMotd(net.minecraft.network.ServerStatusResponse response) |
static net.minecraft.network.ServerStatusResponse |
post(net.minecraft.server.MinecraftServer server,
org.spongepowered.api.status.StatusClient client) |
static net.minecraft.network.ServerStatusResponse |
postLegacy(net.minecraft.server.MinecraftServer server,
InetSocketAddress address,
org.spongepowered.api.MinecraftVersion version,
InetSocketAddress virtualHost) |
public static net.minecraft.network.ServerStatusResponse post(net.minecraft.server.MinecraftServer server, org.spongepowered.api.status.StatusClient client)
public static net.minecraft.network.ServerStatusResponse postLegacy(net.minecraft.server.MinecraftServer server, InetSocketAddress address, org.spongepowered.api.MinecraftVersion version, InetSocketAddress virtualHost)
public static net.minecraft.network.ServerStatusResponse create(net.minecraft.server.MinecraftServer server)
public static String getMotd(net.minecraft.network.ServerStatusResponse response)
public static String getUnformattedMotd(net.minecraft.network.ServerStatusResponse response)