Package net.minecraft.server.integrated
Class IntegratedServer
java.lang.Object
net.minecraft.server.MinecraftServer
net.minecraft.server.integrated.IntegratedServer
- All Implemented Interfaces:
Runnable,class_3893,Snoopable,ThreadExecutor
- Mappings:
Namespace Name official dghintermediary net/minecraft/class_601named net/minecraft/server/integrated/IntegratedServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate intprivate UUIDprivate final LevelInfoprivate static final Loggerprivate booleanprivate LanServerPingerFields inherited from class net.minecraft.server.MinecraftServer
field_21611, lastTickLengths, profiler, proxy, queue, USER_CACHE_FILE -
Constructor Summary
ConstructorsConstructorDescriptionIntegratedServer(MinecraftClient minecraftClient, String string, String string2, LevelInfo levelInfo, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService yggdrasilAuthenticationService, com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, com.mojang.authlib.GameProfileRepository gameProfileRepository, UserCache userCache) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSnooperInfo(Snooper snooper) booleanintintbooleanbooleanbooleanbooleanvoidmethod_19612(UUID uUID) booleanmethod_20311(GameMode gameMode, boolean bool, int int2) protected voidmethod_20320(String string, String string2, long long2, LevelGeneratorType levelGeneratorType, JsonElement jsonElement) protected voidmethod_20324(BooleanSupplier booleanSupplier) booleanvoidmethod_2999(GameMode gameMode) populateCrashReport(CrashReport report) protected voidsetCrashReport(CrashReport report) voidsetDifficulty(Difficulty difficulty) protected booleanbooleanbooleanbooleanvoidvoidMethods inherited from class net.minecraft.server.MinecraftServer
addTickable, enableProfiler, execute, exit, forcePlayerSampleUpdate, getCurrentPlayerCount, getFile, getGameProfileRepo, getKeyPair, getLevelName, getMaxPlayerCount, getMaxWorldBorderRadius, getNetworkCompressionThreshold, getNetworkIo, getPlayerIdleTimeout, getPlayerManager, getPlayerNames, getResourcePackHash, getResourcePackUrl, getSaveStorage, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerName, getServerStartTime, getSessionService, getSnooper, getSpawnProtectionRadius, getThread, getTicks, getUserCache, getUserName, getVersion, getWorldHeight, hasGameDir, hasGui, info, isDebuggingEnabled, isDemo, isFlightEnabled, isLoading, isMonsterSpawningEnabled, isNetherAllowed, isOnlineMode, isOnThread, isPvpEnabled, isRunning, isSinglePlayer, isSpawnProtected, isStopped, loadResourcePack, log, logError, main, method_10815, method_12834, method_12837, method_12838, method_13912, method_13913, method_14910, method_14911, method_14912, method_17413, method_17414, method_20312, method_20313, method_20316, method_20317, method_20318, method_20319, method_20326, method_20327, method_20328, method_20329, method_20330, method_20331, method_20332, method_20333, method_20334, method_20335, method_20336, method_20337, method_20338, method_20343, method_20346, method_20347, method_20349, method_20350, method_20351, method_2971, method_3002, method_3015, method_5505, run, save, saveWorlds, setDemo, setFlightEnabled, setForceGameMode, setForceWorldUpgrade, setKeyPair, setLevelName, setMotd, setOnlineMode, setPlayerIdleTimeout, setPlayerManager, setPvpEnabled, setResourcePack, setServerIp, setServerMeta, setServerName, setServerPort, setSpawnAnimals, setSpawnNpcs, setUserName, setWorldHeight, shouldForceGameMode, shouldSpawnAnimals, shouldSpawnNpcs, startServerThread, upgradeWorld, warn
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official gLdgh;g:Lorg/apache/logging/log4j/Logger;intermediary field_8166Lnet/minecraft/class_601;field_8166:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/integrated/IntegratedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
client
- Mappings:
Namespace Name Mixin selector official hLdgh;h:Lcft;intermediary field_2204Lnet/minecraft/class_601;field_2204:Lnet/minecraft/class_1600;named clientLnet/minecraft/server/integrated/IntegratedServer;client:Lnet/minecraft/client/MinecraftClient;
-
levelInfo
- Mappings:
Namespace Name Mixin selector official iLdgh;i:Layd;intermediary field_2205Lnet/minecraft/class_601;field_2205:Lnet/minecraft/class_1156;named levelInfoLnet/minecraft/server/integrated/IntegratedServer;levelInfo:Lnet/minecraft/world/level/LevelInfo;
-
paused
private boolean paused- Mappings:
Namespace Name Mixin selector official jLdgh;j:Zintermediary field_2207Lnet/minecraft/class_601;field_2207:Znamed pausedLnet/minecraft/server/integrated/IntegratedServer;paused:Z
-
field_21115
private int field_21115- Mappings:
Namespace Name Mixin selector official kLdgh;k:Iintermediary field_21115Lnet/minecraft/class_601;field_21115:Inamed field_21115Lnet/minecraft/server/integrated/IntegratedServer;field_21115:I
-
pinger
- Mappings:
Namespace Name Mixin selector official lLdgh;l:Ldgk;intermediary field_2209Lnet/minecraft/class_601;field_2209:Lnet/minecraft/class_609;named pingerLnet/minecraft/server/integrated/IntegratedServer;pinger:Lnet/minecraft/server/LanServerPinger;
-
field_21116
- Mappings:
Namespace Name Mixin selector official mLdgh;m:Ljava/util/UUID;intermediary field_21116Lnet/minecraft/class_601;field_21116:Ljava/util/UUID;named field_21116Lnet/minecraft/server/integrated/IntegratedServer;field_21116:Ljava/util/UUID;
-
-
Constructor Details
-
IntegratedServer
public IntegratedServer(MinecraftClient minecraftClient, String string, String string2, LevelInfo levelInfo, com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService yggdrasilAuthenticationService, com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService, com.mojang.authlib.GameProfileRepository gameProfileRepository, UserCache userCache)
-
-
Method Details
-
method_20320
protected void method_20320(String string, String string2, long long2, LevelGeneratorType levelGeneratorType, JsonElement jsonElement) - Overrides:
method_20320in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ljava/lang/String;Ljava/lang/String;JLayg;Lcom/google/gson/JsonElement;)Vintermediary method_20320Lnet/minecraft/server/MinecraftServer;method_20320(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_1160;Lcom/google/gson/JsonElement;)Vnamed method_20320Lnet/minecraft/server/MinecraftServer;method_20320(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/world/level/LevelGeneratorType;Lcom/google/gson/JsonElement;)V
-
setupServer
- Specified by:
setupServerin classMinecraftServer- Throws:
IOException- Mappings:
Namespace Name Mixin selector official dLnet/minecraft/server/MinecraftServer;d()Zintermediary method_3011Lnet/minecraft/server/MinecraftServer;method_3011()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
method_20324
- Overrides:
method_20324in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Ljava/util/function/BooleanSupplier;)Vintermediary method_20324Lnet/minecraft/server/MinecraftServer;method_20324(Ljava/util/function/BooleanSupplier;)Vnamed method_20324Lnet/minecraft/server/MinecraftServer;method_20324(Ljava/util/function/BooleanSupplier;)V
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Specified by:
shouldGenerateStructuresin classMinecraftServer- Mappings:
Namespace Name Mixin selector official fLnet/minecraft/server/MinecraftServer;f()Zintermediary method_3023Lnet/minecraft/server/MinecraftServer;method_3023()Znamed shouldGenerateStructuresLnet/minecraft/server/MinecraftServer;shouldGenerateStructures()Z
-
method_3026
- Specified by:
method_3026in classMinecraftServer- Mappings:
Namespace Name Mixin selector official gLnet/minecraft/server/MinecraftServer;g()Laxv;intermediary method_3026Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/class_1157;named method_3026Lnet/minecraft/server/MinecraftServer;method_3026()Lnet/minecraft/world/GameMode;
-
getDefaultDifficulty
- Specified by:
getDefaultDifficultyin classMinecraftServer- Mappings:
Namespace Name Mixin selector official hLnet/minecraft/server/MinecraftServer;h()Ladi;intermediary method_3029Lnet/minecraft/server/MinecraftServer;method_3029()Lnet/minecraft/class_2151;named getDefaultDifficultyLnet/minecraft/server/MinecraftServer;getDefaultDifficulty()Lnet/minecraft/world/Difficulty;
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein classMinecraftServer- Mappings:
Namespace Name Mixin selector official iLnet/minecraft/server/MinecraftServer;i()Zintermediary method_3031Lnet/minecraft/server/MinecraftServer;method_3031()Znamed isHardcoreLnet/minecraft/server/MinecraftServer;isHardcore()Z
-
shouldBroadcastRconToOps
public boolean shouldBroadcastRconToOps()- Specified by:
shouldBroadcastRconToOpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official kLnet/minecraft/server/MinecraftServer;k()Zintermediary method_8164Lnet/minecraft/server/MinecraftServer;method_8164()Znamed shouldBroadcastRconToOpsLnet/minecraft/server/MinecraftServer;shouldBroadcastRconToOps()Z
-
method_17412
public boolean method_17412()- Mappings:
Namespace Name Mixin selector official B_Lbt;B_()Zintermediary method_17412Lnet/minecraft/class_3893;method_17412()Znamed method_17412Lnet/minecraft/class_3893;method_17412()Z
-
getRunDirectory
- Overrides:
getRunDirectoryin classMinecraftServer- Mappings:
Namespace Name Mixin selector official sLnet/minecraft/server/MinecraftServer;s()Ljava/io/File;intermediary method_3040Lnet/minecraft/server/MinecraftServer;method_3040()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 QLnet/minecraft/server/MinecraftServer;Q()Zintermediary method_2983Lnet/minecraft/server/MinecraftServer;method_2983()Znamed isDedicatedLnet/minecraft/server/MinecraftServer;isDedicated()Z
-
isUsingNativeTransport
public boolean isUsingNativeTransport()- Specified by:
isUsingNativeTransportin classMinecraftServer- Mappings:
Namespace Name Mixin selector official VLnet/minecraft/server/MinecraftServer;V()Zintermediary method_10823Lnet/minecraft/server/MinecraftServer;method_10823()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_2992Lnet/minecraft/server/MinecraftServer;method_2992(Lnet/minecraft/class_1;)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_3013Lnet/minecraft/server/MinecraftServer;method_3013(Lnet/minecraft/class_1;)Lnet/minecraft/class_1;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(Ladi;)Vintermediary method_8155Lnet/minecraft/server/MinecraftServer;method_8155(Lnet/minecraft/class_2151;)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 aLadv;a(Ladu;)Vintermediary method_2410Lnet/minecraft/class_855;method_2410(Lnet/minecraft/class_853;)Vnamed addSnooperInfoLnet/minecraft/util/snooper/Snoopable;addSnooperInfo(Lnet/minecraft/util/snooper/Snooper;)V
-
method_2409
public boolean method_2409()- Overrides:
method_2409in classMinecraftServer- Mappings:
Namespace Name Mixin selector official PLnet/minecraft/server/MinecraftServer;P()Zintermediary method_2409Lnet/minecraft/server/MinecraftServer;method_2409()Znamed method_2409Lnet/minecraft/server/MinecraftServer;method_2409()Z
-
method_20311
- Specified by:
method_20311in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Laxv;ZI)Zintermediary method_20311Lnet/minecraft/server/MinecraftServer;method_20311(Lnet/minecraft/class_1157;ZI)Znamed method_20311Lnet/minecraft/server/MinecraftServer;method_20311(Lnet/minecraft/world/GameMode;ZI)Z
-
stopServer
public void stopServer()- Overrides:
stopServerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official h_Lnet/minecraft/server/MinecraftServer;h_()Vintermediary method_3034Lnet/minecraft/server/MinecraftServer;method_3034()Vnamed stopServerLnet/minecraft/server/MinecraftServer;stopServer()V
-
stopRunning
public void stopRunning()- Overrides:
stopRunningin classMinecraftServer- Mappings:
Namespace Name Mixin selector official pLnet/minecraft/server/MinecraftServer;p()Vintermediary method_3038Lnet/minecraft/server/MinecraftServer;method_3038()Vnamed stopRunningLnet/minecraft/server/MinecraftServer;stopRunning()V
-
shouldBroadcastConsoleToIps
public boolean shouldBroadcastConsoleToIps()- Specified by:
shouldBroadcastConsoleToIpsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official adLnet/minecraft/server/MinecraftServer;ad()Zintermediary method_10825Lnet/minecraft/server/MinecraftServer;method_10825()Znamed shouldBroadcastConsoleToIpsLnet/minecraft/server/MinecraftServer;shouldBroadcastConsoleToIps()Z
-
getServerPort
public int getServerPort()- Overrides:
getServerPortin classMinecraftServer- Mappings:
Namespace Name Mixin selector official FLnet/minecraft/server/MinecraftServer;F()Iintermediary method_2973Lnet/minecraft/server/MinecraftServer;method_2973()Inamed getServerPortLnet/minecraft/server/MinecraftServer;getServerPort()I
-
method_2999
- Overrides:
method_2999in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Laxv;)Vintermediary method_2999Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/class_1157;)Vnamed method_2999Lnet/minecraft/server/MinecraftServer;method_2999(Lnet/minecraft/world/GameMode;)V
-
areCommandBlocksEnabled
public boolean areCommandBlocksEnabled()- Specified by:
areCommandBlocksEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official YLnet/minecraft/server/MinecraftServer;Y()Zintermediary method_4499Lnet/minecraft/server/MinecraftServer;method_4499()Znamed areCommandBlocksEnabledLnet/minecraft/server/MinecraftServer;areCommandBlocksEnabled()Z
-
getOpPermissionLevel
public int getOpPermissionLevel()- Specified by:
getOpPermissionLevelin classMinecraftServer- Mappings:
Namespace Name Mixin selector official jLnet/minecraft/server/MinecraftServer;j()Iintermediary method_6085Lnet/minecraft/server/MinecraftServer;method_6085()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-
method_19612
- Mappings:
Namespace Name Mixin selector official bLdgh;b(Ljava/util/UUID;)Vintermediary method_19612Lnet/minecraft/class_601;method_19612(Ljava/util/UUID;)Vnamed method_19612Lnet/minecraft/server/integrated/IntegratedServer;method_19612(Ljava/util/UUID;)V
-