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
- Mappings:
Namespace Name official cykintermediary net/minecraft/class_601named net/minecraft/server/integrated/IntegratedServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate final LevelInfoprivate static final Loggerprivate booleanprivate LanServerPingerprivate booleanFields inherited from class net.minecraft.server.MinecraftServer
field_3858, lastTickLengths, profiler, progress, progressType, proxy, queue, USER_CACHE_FILE, worlds -
Constructor Summary
ConstructorsConstructorDescriptionIntegratedServer(MinecraftClient client) IntegratedServer(MinecraftClient client, String runDirectory, String serverName, LevelInfo info) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSnooperInfo(Snooper snooper) booleanprotected CommandManagerintbooleanbooleanbooleanbooleanvoidvoidmethod_2999(GameMode gameMode) method_3000(GameMode gameMode, boolean bool) populateCrashReport(CrashReport report) protected voidsetCrashReport(CrashReport report) voidsetDifficulty(Difficulty difficulty) protected booleanprotected voidprotected voidsetupWorld(String world, String worldName, long seed, LevelGeneratorType generatorType, String generatorOptions) booleanvoidvoidMethods 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, 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_10786, method_10815, method_2026, method_2036, method_2980, method_6344, 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, setUserName, setWorldHeight, shouldAnnouncePlayerAchievements, shouldForceGameMode, shouldSpawnAnimals, shouldSpawnNpcs, startServerThread, tick, upgradeWorld, warn
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official jLcyk;j: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 kLcyk;k:Lbsu;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 lLcyk;l:Larb;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 mLcyk;m:Zintermediary field_2207Lnet/minecraft/class_601;field_2207:Znamed pausedLnet/minecraft/server/integrated/IntegratedServer;paused:Z
-
published
private boolean published- Mappings:
Namespace Name Mixin selector official nLcyk;n:Zintermediary field_2208Lnet/minecraft/class_601;field_2208:Znamed publishedLnet/minecraft/server/integrated/IntegratedServer;published:Z
-
pinger
- Mappings:
Namespace Name Mixin selector official oLcyk;o:Lcyt;intermediary field_2209Lnet/minecraft/class_601;field_2209:Lnet/minecraft/class_609;named pingerLnet/minecraft/server/integrated/IntegratedServer;pinger:Lnet/minecraft/server/LanServerPinger;
-
-
Constructor Details
-
IntegratedServer
- Mappings:
Namespace Name Mixin selector official <init>Lcyk;<init>(Lbsu;)Vintermediary <init>Lnet/minecraft/class_601;<init>(Lnet/minecraft/class_1600;)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>Lcyk;<init>(Lbsu;Ljava/lang/String;Ljava/lang/String;Larb;)Vintermediary <init>Lnet/minecraft/class_601;<init>(Lnet/minecraft/class_1600;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_1156;)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()Lcl;intermediary method_10824Lnet/minecraft/server/MinecraftServer;method_10824()Lnet/minecraft/class_765;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;JLare;Ljava/lang/String;)Vintermediary method_2995Lnet/minecraft/server/MinecraftServer;method_2995(Ljava/lang/String;Ljava/lang/String;JLnet/minecraft/class_1160;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
protected boolean setupServer()- Specified by:
setupServerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official iLnet/minecraft/server/MinecraftServer;i()Zintermediary method_3011Lnet/minecraft/server/MinecraftServer;method_3011()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
setupWorld
protected void setupWorld()- Overrides:
setupWorldin classMinecraftServer- Mappings:
Namespace Name Mixin selector official yLnet/minecraft/server/MinecraftServer;y()Vintermediary method_3044Lnet/minecraft/server/MinecraftServer;method_3044()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_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 mLnet/minecraft/server/MinecraftServer;m()Larc;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 nLnet/minecraft/server/MinecraftServer;n()Lvt;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 oLnet/minecraft/server/MinecraftServer;o()Zintermediary method_3031Lnet/minecraft/server/MinecraftServer;method_3031()Znamed isHardcoreLnet/minecraft/server/MinecraftServer;isHardcore()Z
-
getRunDirectory
- Overrides:
getRunDirectoryin classMinecraftServer- Mappings:
Namespace Name Mixin selector official wLnet/minecraft/server/MinecraftServer;w()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 adLnet/minecraft/server/MinecraftServer;ad()Zintermediary method_2983Lnet/minecraft/server/MinecraftServer;method_2983()Znamed isDedicatedLnet/minecraft/server/MinecraftServer;isDedicated()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(Lvt;)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 aLwd;a(Lwb;)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
-
isSnooperEnabled
public boolean isSnooperEnabled()- Specified by:
isSnooperEnabledin interfaceSnoopable- Overrides:
isSnooperEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official acLwd;ac()Zintermediary method_2409Lnet/minecraft/class_855;method_2409()Znamed isSnooperEnabledLnet/minecraft/util/snooper/Snoopable;isSnooperEnabled()Z
-
method_3000
- Specified by:
method_3000in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Larc;Z)Ljava/lang/String;intermediary method_3000Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/class_1157;Z)Ljava/lang/String;named method_3000Lnet/minecraft/server/MinecraftServer;method_3000(Lnet/minecraft/world/GameMode;Z)Ljava/lang/String;
-
stopServer
public void stopServer()- Overrides:
stopServerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official rLnet/minecraft/server/MinecraftServer;r()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 uLnet/minecraft/server/MinecraftServer;u()Vintermediary method_3038Lnet/minecraft/server/MinecraftServer;method_3038()Vnamed stopRunningLnet/minecraft/server/MinecraftServer;stopRunning()V
-
method_10431
public void method_10431()- Mappings:
Namespace Name Mixin selector official aLcyk;a()Vintermediary method_10431Lnet/minecraft/class_601;method_10431()Vnamed method_10431Lnet/minecraft/server/integrated/IntegratedServer;method_10431()V
-
isPublished
public boolean isPublished()- Mappings:
Namespace Name Mixin selector official bLcyk;b()Zintermediary method_1638Lnet/minecraft/class_601;method_1638()Znamed isPublishedLnet/minecraft/server/integrated/IntegratedServer;isPublished()Z
-
method_2999
- Overrides:
method_2999in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Larc;)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 ajLnet/minecraft/server/MinecraftServer;aj()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 pLnet/minecraft/server/MinecraftServer;p()Iintermediary method_6085Lnet/minecraft/server/MinecraftServer;method_6085()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-