Class AdventureSupport
java.lang.Object
org.incendo.cloud.minecraft.modded.internal.AdventureSupport
@API(status=INTERNAL)
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
public final class AdventureSupport
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.platform.modcommon.MinecraftAudiencesGet the MinecraftAudiences instance.static AdventureSupportget()Returns the AdventureSupport instance.voidremoveServer(net.minecraft.server.MinecraftServer server) Shutdown the server audience.voidSet up the client audience.voidsetupServer(net.minecraft.server.MinecraftServer server) Set up the server audience.
-
Method Details
-
setupClient
public void setupClient()Set up the client audience. -
setupServer
public void setupServer(net.minecraft.server.MinecraftServer server) Set up the server audience.- Parameters:
server- server
-
removeServer
public void removeServer(net.minecraft.server.MinecraftServer server) Shutdown the server audience.- Parameters:
server- server
-
audiences
public net.kyori.adventure.platform.modcommon.MinecraftAudiences audiences()Get the MinecraftAudiences instance.- Returns:
- audiences
-
get
Returns the AdventureSupport instance.- Returns:
- the instance
-