Package net.minecraft.server.integrated
Class IntegratedServer
java.lang.Object
net.minecraft.server.MinecraftServer
net.minecraft.server.integrated.IntegratedServer
- All Implemented Interfaces:
Runnable,CommandSource,Snoopable,ThreadExecutor
@Environment(CLIENT) public class IntegratedServer extends MinecraftServer
- Mappings:
Namespace Name official bpointermediary net/minecraft/class_1315named net/minecraft/server/integrated/IntegratedServer
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClientclientprivate LevelInfolevelInfoprivate static LoggerLOGGERprivate booleanpausedprivate LanServerPingerpingerprivate booleanpublishedFields inherited from class net.minecraft.server.MinecraftServer
field_7084, lastTickLengths, profiler, progress, progressType, provider, proxy, queue, USER_CACHE_FILE, worlds -
Constructor Summary
Constructors Constructor Description IntegratedServer(MinecraftClient client)IntegratedServer(MinecraftClient client, String runDirectory, String serverName, LevelInfo info) -
Method Summary
Methods inherited from class net.minecraft.server.MinecraftServer
addSnooper, addTickable, canUseCommand, enableProfiler, execute, exit, forcePlayerSampleUpdate, getBlockPos, getCommandManager, getCompletions, getCurrentPlayerCount, getEntity, getEntity, getFile, getGameProfileRepo, getIp, getKeyPair, getLevelName, getMaxPlayerCount, getMaxWorldBorderRadius, getMotd, getName, getNetworkCompressionThreshold, getNetworkIo, getPlayerIdleTimeout, getPlayerManager, getPlayerNames, getPort, getPos, getProfiles, getProxy, getResourcePackHash, getResourcePackUrl, getSaveStorage, getServer, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerName, getServerOperation, getServerPort, getServerStartTime, getSessionService, getSnooper, getSpawnProtectionRadius, getThread, getTicks, getTimeMillis, getTranslationKey, getUserCache, getUserName, getVersion, getWorld, getWorld, getWorldHeight, hasGameDir, hasGui, info, isDebuggingEnabled, isDemo, isFlightEnabled, isLoading, isMonsterSpawningEnabled, isNetherAllowed, isOnlineMode, isOnThread, isPvpEnabled, isRunning, isSinglePlayer, isSpawnProtected, isStopped, loadResourcePack, log, logError, logProgress, main, method_6444, method_6466, prepareWorlds, run, save, saveWorlds, sendCommandFeedback, sendMessage, setDemo, setFlightEnabled, setForceGameMode, setForceWorldUpgrade, setInstance, setKeyPair, setLevelName, setMotd, setOnlineMode, setPlayerIdleTimeout, setPlayerManager, setPvpEnabled, setResourcePack, setServerIp, setServerName, setServerOperation, setServerPort, setSpawnAnimals, setSpawnNpcs, setStat, setUserName, setWorldHeight, shouldAnnouncePlayerAchievements, shouldForceGameMode, shouldSpawnAnimals, shouldSpawnNpcs, shutdown, startServerThread, upgradeWorld, warn
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official kLbpo;k:Lorg/apache/logging/log4j/Logger;intermediary field_5446Lnet/minecraft/class_1315;field_5446:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/integrated/IntegratedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
client
- Mappings:
Namespace Name Mixin selector official lLbpo;l:Lave;intermediary field_5447Lnet/minecraft/class_1315;field_5447:Lnet/minecraft/class_669;named clientLnet/minecraft/server/integrated/IntegratedServer;client:Lnet/minecraft/client/MinecraftClient;
-
levelInfo
- Mappings:
Namespace Name Mixin selector official mLbpo;m:Ladp;intermediary field_5448Lnet/minecraft/class_1315;field_5448:Lnet/minecraft/class_102;named levelInfoLnet/minecraft/server/integrated/IntegratedServer;levelInfo:Lnet/minecraft/world/level/LevelInfo;
-
paused
private boolean paused- Mappings:
Namespace Name Mixin selector official nLbpo;n:Zintermediary field_5449Lnet/minecraft/class_1315;field_5449:Znamed pausedLnet/minecraft/server/integrated/IntegratedServer;paused:Z
-
published
private boolean published- Mappings:
Namespace Name Mixin selector official oLbpo;o:Zintermediary field_5450Lnet/minecraft/class_1315;field_5450:Znamed publishedLnet/minecraft/server/integrated/IntegratedServer;published:Z
-
pinger
- Mappings:
Namespace Name Mixin selector official pLbpo;p:Lbpr;intermediary field_5451Lnet/minecraft/class_1315;field_5451:Lnet/minecraft/class_1321;named pingerLnet/minecraft/server/integrated/IntegratedServer;pinger:Lnet/minecraft/server/LanServerPinger;
-
-
Constructor Details
-
IntegratedServer
- Mappings:
Namespace Name Mixin selector official <init>Lbpo;<init>(Lave;)Vintermediary <init>Lnet/minecraft/class_1315;<init>(Lnet/minecraft/class_669;)Vnamed <init>Lnet/minecraft/server/integrated/IntegratedServer;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
IntegratedServer
public IntegratedServer(MinecraftClient client, String runDirectory, String serverName, LevelInfo info)- Mappings:
Namespace Name Mixin selector official <init>Lbpo;<init>(Lave;Ljava/lang/String;Ljava/lang/String;Ladp;)Vintermediary <init>Lnet/minecraft/class_1315;<init>(Lnet/minecraft/class_669;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_102;)Vnamed <init>Lnet/minecraft/server/integrated/IntegratedServer;<init>(Lnet/minecraft/client/MinecraftClient;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/world/level/LevelInfo;)V
-
-
Method Details
-
createCommandManager
- Overrides:
createCommandManagerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official hLnet/minecraft/server/MinecraftServer;h()Lbd;intermediary method_6504Lnet/minecraft/server/MinecraftServer;method_6504()Lnet/minecraft/class_905;named createCommandManagerLnet/minecraft/server/MinecraftServer;createCommandManager()Lnet/minecraft/server/command/CommandManager;
-
setupWorld
protected void setupWorld(String world, String worldName, long seed, LevelGeneratorType generatorType, String generatorOptions)- Overrides:
setupWorldin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ljava/lang/String;JLadr;Ljava/lang/String;)Vintermediary method_6441Lnet/minecraft/server/MinecraftServer;method_6441(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_105;Ljava/lang/String;)Vnamed setupWorldLnet/minecraft/server/MinecraftServer;setupWorld(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/world/level/LevelGeneratorType;Ljava/lang/String;)V
-
setupServer
- Specified by:
setupServerin classMinecraftServer- Throws:
IOException- Mappings:
Namespace Name Mixin selector official iLnet/minecraft/server/MinecraftServer;i()Zintermediary method_6506Lnet/minecraft/server/MinecraftServer;method_6506()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
setupWorld
protected void setupWorld()- Overrides:
setupWorldin classMinecraftServer- Mappings:
Namespace Name Mixin selector official ALnet/minecraft/server/MinecraftServer;A()Vintermediary method_6418Lnet/minecraft/server/MinecraftServer;method_6418()Vnamed setupWorldLnet/minecraft/server/MinecraftServer;setupWorld()V
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Specified by:
shouldGenerateStructuresin classMinecraftServer- Mappings:
Namespace Name Mixin selector official lLnet/minecraft/server/MinecraftServer;l()Zintermediary method_6513Lnet/minecraft/server/MinecraftServer;method_6513()Znamed shouldGenerateStructuresLnet/minecraft/server/MinecraftServer;shouldGenerateStructures()Z
-
getDefaultGameMode
- Specified by:
getDefaultGameModein classMinecraftServer- Mappings:
Namespace Name Mixin selector official mLnet/minecraft/server/MinecraftServer;m()Ladp$a;intermediary method_6515Lnet/minecraft/server/MinecraftServer;method_6515()Lnet/minecraft/class_102$class_103;named getDefaultGameModeLnet/minecraft/server/MinecraftServer;getDefaultGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
-
getDefaultDifficulty
- Specified by:
getDefaultDifficultyin classMinecraftServer- Mappings:
Namespace Name Mixin selector official nLnet/minecraft/server/MinecraftServer;n()Loj;intermediary method_6516Lnet/minecraft/server/MinecraftServer;method_6516()Lnet/minecraft/class_1721;named getDefaultDifficultyLnet/minecraft/server/MinecraftServer;getDefaultDifficulty()Lnet/minecraft/world/Difficulty;
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein classMinecraftServer- Mappings:
Namespace Name Mixin selector official oLnet/minecraft/server/MinecraftServer;o()Zintermediary method_6517Lnet/minecraft/server/MinecraftServer;method_6517()Znamed isHardcoreLnet/minecraft/server/MinecraftServer;isHardcore()Z
-
shouldBroadcastRconToOps
public boolean shouldBroadcastRconToOps()- Specified by:
shouldBroadcastRconToOpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official qLnet/minecraft/server/MinecraftServer;q()Zintermediary method_6519Lnet/minecraft/server/MinecraftServer;method_6519()Znamed shouldBroadcastRconToOpsLnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
-
shouldBroadcastConsoleToIps
public boolean shouldBroadcastConsoleToIps()- Specified by:
shouldBroadcastConsoleToIpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official rLnet/minecraft/server/MinecraftServer;r()Zintermediary method_6520Lnet/minecraft/server/MinecraftServer;method_6520()Znamed shouldBroadcastConsoleToIpsLnet/minecraft/server/MinecraftServer;shouldBroadcastConsoleToIps()Z
-
getRunDirectory
- Overrides:
getRunDirectoryin classMinecraftServer- Mappings:
Namespace Name Mixin selector official yLnet/minecraft/server/MinecraftServer;y()Ljava/io/File;intermediary method_6527Lnet/minecraft/server/MinecraftServer;method_6527()Ljava/io/File;named getRunDirectoryLnet/minecraft/server/MinecraftServer;getRunDirectory()Ljava/io/File;
-
isDedicated
public boolean isDedicated()- Specified by:
isDedicatedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aeLnet/minecraft/server/MinecraftServer;ae()Zintermediary method_6469Lnet/minecraft/server/MinecraftServer;method_6469()Znamed isDedicatedLnet/minecraft/server/MinecraftServer;isDedicated()Z
-
isUsingNativeTransport
public boolean isUsingNativeTransport()- Specified by:
isUsingNativeTransportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aiLnet/minecraft/server/MinecraftServer;ai()Zintermediary method_6473Lnet/minecraft/server/MinecraftServer;method_6473()Znamed isUsingNativeTransportLnet/minecraft/server/MinecraftServer;isUsingNativeTransport()Z
-
setCrashReport
- Overrides:
setCrashReportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lb;)Vintermediary method_6438Lnet/minecraft/server/MinecraftServer;method_6438(Lnet/minecraft/class_825;)Vnamed setCrashReportLnet/minecraft/server/MinecraftServer;setCrashReport(Lnet/minecraft/util/crash/CrashReport;)V
-
populateCrashReport
- Overrides:
populateCrashReportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official bLnet/minecraft/server/MinecraftServer;b(Lb;)Lb;intermediary method_6492Lnet/minecraft/server/MinecraftServer;method_6492(Lnet/minecraft/class_825;)Lnet/minecraft/class_825;named populateCrashReportLnet/minecraft/server/MinecraftServer;populateCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReport;
-
setDifficulty
- Overrides:
setDifficultyin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Loj;)Vintermediary method_6450Lnet/minecraft/server/MinecraftServer;method_6450(Lnet/minecraft/class_1721;)Vnamed setDifficultyLnet/minecraft/server/MinecraftServer;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
addSnooperInfo
- Specified by:
addSnooperInfoin interfaceSnoopable- Overrides:
addSnooperInfoin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLos;a(Lor;)Vintermediary method_6794Lnet/minecraft/class_1729;method_6794(Lnet/minecraft/class_1728;)Vnamed addSnooperInfoLnet/minecraft/util/snooper/Snoopable;addSnooperInfo(Lnet/minecraft/util/snooper/Snooper;)V
-
isSnooperEnabled
public boolean isSnooperEnabled()- Specified by:
isSnooperEnabledin interfaceSnoopable- Overrides:
isSnooperEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official adLos;ad()Zintermediary method_6795Lnet/minecraft/class_1729;method_6795()Znamed isSnooperEnabledLnet/minecraft/util/snooper/Snoopable;isSnooperEnabled()Z
-
method_6437
- Specified by:
method_6437in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ladp$a;Z)Ljava/lang/String;intermediary method_6437Lnet/minecraft/server/MinecraftServer;method_6437(Lnet/minecraft/class_102$class_103;Z)Ljava/lang/String;named method_6437Lnet/minecraft/server/MinecraftServer;method_6437(Lnet/minecraft/world/level/LevelInfo$GameMode;Z)Ljava/lang/String;
-
stopServer
public void stopServer()- Overrides:
stopServerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official tLnet/minecraft/server/MinecraftServer;t()Vintermediary method_6522Lnet/minecraft/server/MinecraftServer;method_6522()Vnamed stopServerLnet/minecraft/server/MinecraftServer;stopServer()V
-
stopRunning
public void stopRunning()- Overrides:
stopRunningin classMinecraftServer- Mappings:
Namespace Name Mixin selector official wLnet/minecraft/server/MinecraftServer;w()Vintermediary method_6525Lnet/minecraft/server/MinecraftServer;method_6525()Vnamed stopRunningLnet/minecraft/server/MinecraftServer;stopRunning()V
-
method_4549
public void method_4549()- Mappings:
Namespace Name Mixin selector official aLbpo;a()Vintermediary method_4549Lnet/minecraft/class_1315;method_4549()Vnamed method_4549Lnet/minecraft/server/integrated/IntegratedServer;method_4549()V
-
isPublished
public boolean isPublished()- Mappings:
Namespace Name Mixin selector official bLbpo;b()Zintermediary method_4550Lnet/minecraft/class_1315;method_4550()Znamed isPublishedLnet/minecraft/server/integrated/IntegratedServer;isPublished()Z
-
setDefaultGameMode
- Overrides:
setDefaultGameModein classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ladp$a;)Vintermediary method_6436Lnet/minecraft/server/MinecraftServer;method_6436(Lnet/minecraft/class_102$class_103;)Vnamed setDefaultGameModeLnet/minecraft/server/MinecraftServer;setDefaultGameMode(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
-
areCommandBlocksEnabled
public boolean areCommandBlocksEnabled()- Specified by:
areCommandBlocksEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official alLnet/minecraft/server/MinecraftServer;al()Zintermediary method_6476Lnet/minecraft/server/MinecraftServer;method_6476()Znamed areCommandBlocksEnabledLnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
-
getOpPermissionLevel
public int getOpPermissionLevel()- Specified by:
getOpPermissionLevelin classMinecraftServer- Mappings:
Namespace Name Mixin selector official pLnet/minecraft/server/MinecraftServer;p()Iintermediary method_6518Lnet/minecraft/server/MinecraftServer;method_6518()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-