Package org.spongepowered.api.client
Interface LocalServer
- 
- All Superinterfaces:
- Audience,- Engine,- ForwardingAudience,- LocaleSource,- Pointered,- RegistryHolder,- Server
 
 public interface LocalServer extends Server Represents aServerwhich is used in a SinglePlayer game instance.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudienceForwardingAudience.Single
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Clientclient()default booleanisDedicatedServer()Gets whether this server is dedicated to being a global server, or whether this server is local to a game client where aClientinstance may be available.- 
Methods inherited from interface net.kyori.adventure.audience.AudiencedeleteMessage, openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showTitle, stopSound
 - 
Methods inherited from interface org.spongepowered.api.EnginecauseStackManager, game, onMainThread, packRepository, reloadResources, resourceManager, scheduler
 - 
Methods inherited from interface net.kyori.adventure.audience.ForwardingAudienceaudiences, clearTitle, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, stopSound
 - 
Methods inherited from interface org.spongepowered.api.util.locale.LocaleSourcelocale
 - 
Methods inherited from interface net.kyori.adventure.pointer.Pointeredget, getOrDefault, getOrDefaultFrom
 - 
Methods inherited from interface org.spongepowered.api.registry.RegistryHolderfindRegistry, registry, streamRegistries
 - 
Methods inherited from interface org.spongepowered.api.ServerareCommandBlocksEnabled, averageTickTime, boundAddress, broadcastAudience, chunkLayout, commandManager, difficulty, gameMode, gameProfileManager, isAnimalSpawnsEnabled, isGameModeEnforced, isHardcoreModeEnabled, isMonsterSpawnsEnabled, isMultiWorldEnabled, isOnlineModeEnabled, isPVPEnabled, isWhitelistEnabled, mapStorage, maxPlayers, motd, onlinePlayers, player, player, playerIdleTimeout, recipeManager, resourcePack, runningTimeTicks, serverScoreboard, serviceProvider, setBroadcastAudience, setHasWhitelist, setPlayerIdleTimeout, shutdown, shutdown, targetTicksPerSecond, teleportHelper, ticksPerSecond, userManager, worldGenerationConfig, worldManager
 
- 
 
- 
- 
- 
Method Detail- 
isDedicatedServerdefault boolean isDedicatedServer() Description copied from interface:ServerGets whether this server is dedicated to being a global server, or whether this server is local to a game client where aClientinstance may be available.- Specified by:
- isDedicatedServerin interface- Server
- Returns:
- True if this is a dedicated server without a game client
 
 - 
clientClient client() 
 
- 
 
-