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
- Mappings:
Namespace Name official bsiintermediary 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, worlds -
Constructor Summary
ConstructorsConstructorDescriptionIntegratedServer(MinecraftClient client, String runDirectory, String serverName, LevelInfo info) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSnooperInfo(Snooper snooper) booleanintprotected Filebooleanbooleanbooleanbooleanvoidmethod_2999(GameMode gameMode) method_3000(GameMode gameMode, boolean bool) populateCrashReport(CrashReport report) protected voidsetCrashReport(CrashReport report) 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, exit, forcePlayerSampleUpdate, getCommandManager, getCurrentPlayerCount, getFile, getIp, getKeyPair, getLevelName, getMaxPlayerCount, getMotd, getNetworkIo, getPlayerIdleTimeout, getPlayerManager, getPlayerNames, getPort, getProxy, getResourcePackUrl, getSaveStorage, getServer, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerName, getServerOperation, getServerPort, getSessionService, getSnooper, getSpawnProtectionRadius, getTicks, getTimeMillis, getTranslationKey, getUserName, getVersion, getWorld, getWorld, getWorldHeight, hasGui, info, isDebuggingEnabled, isDemo, isFlightEnabled, isLoading, isMonsterSpawningEnabled, isNetherAllowed, isOnlineMode, isPvpEnabled, isRunning, isSinglePlayer, isStopped, log, logError, logProgress, main, method_2026, method_2036, method_2980, method_2998, method_3043, method_4086, method_5385, method_6344, prepareWorlds, run, save, saveWorlds, sendMessage, setDemo, setDifficulty, setFlightEnabled, setForceGameMode, setForceWorldUpgrade, setKeyPair, setLevelName, setMotd, setOnlineMode, setPlayerIdleTimeout, setPlayerManager, setPvpEnabled, setServerIp, setServerName, setServerOperation, setServerPort, setSpawnAnimals, setSpawnNpcs, setUserName, setWorldHeight, shouldForceGameMode, shouldSpawnAnimals, shouldSpawnNpcs, startServerThread, tick, upgradeWorld, warn
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official hLbsi;h: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 iLbsi;i:Lazc;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 jLbsi;j:Lafu;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 kLbsi;k: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 lLbsi;l:Zintermediary field_2208Lnet/minecraft/class_601;field_2208:Znamed publishedLnet/minecraft/server/integrated/IntegratedServer;published:Z
-
pinger
- Mappings:
Namespace Name Mixin selector official mLbsi;m:Lbsp;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
public IntegratedServer(MinecraftClient client, String runDirectory, String serverName, LevelInfo info) - Mappings:
Namespace Name Mixin selector official <init>Lbsi;<init>(Lazc;Ljava/lang/String;Ljava/lang/String;Lafu;)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
-
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;JLafx;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 eLnet/minecraft/server/MinecraftServer;e()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 tLnet/minecraft/server/MinecraftServer;t()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 hLnet/minecraft/server/MinecraftServer;h()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 iLnet/minecraft/server/MinecraftServer;i()Lafv;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 jLnet/minecraft/server/MinecraftServer;j()Lpp;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 kLnet/minecraft/server/MinecraftServer;k()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 rLnet/minecraft/server/MinecraftServer;r()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 VLnet/minecraft/server/MinecraftServer;V()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;
-
addSnooperInfo
- Specified by:
addSnooperInfoin interfaceSnoopable- Overrides:
addSnooperInfoin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLpw;a(Lpu;)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 ULpw;U()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(Lafv;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 nLnet/minecraft/server/MinecraftServer;n()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 qLnet/minecraft/server/MinecraftServer;q()Vintermediary method_3038Lnet/minecraft/server/MinecraftServer;method_3038()Vnamed stopRunningLnet/minecraft/server/MinecraftServer;stopRunning()V
-
isPublished
public boolean isPublished()- Mappings:
Namespace Name Mixin selector official aLbsi;a()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(Lafv;)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 abLnet/minecraft/server/MinecraftServer;ab()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 lLnet/minecraft/server/MinecraftServer;l()Iintermediary method_6085Lnet/minecraft/server/MinecraftServer;method_6085()Inamed getOpPermissionLevelLnet/minecraft/server/MinecraftServer;getOpPermissionLevel()I
-