Package net.minecraft.server.dedicated
Class MinecraftDedicatedServer
java.lang.Object
net.minecraft.server.MinecraftServer
net.minecraft.server.dedicated.MinecraftDedicatedServer
- All Implemented Interfaces:
Runnable,CommandSource,DedicatedServer,Snoopable,ThreadExecutor
@Environment(SERVER)
public class MinecraftDedicatedServer
extends MinecraftServer
implements DedicatedServer
- Mappings:
Namespace Name official pointermediary net/minecraft/class_770named net/minecraft/server/dedicated/MinecraftDedicatedServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AbstractPropertiesHandlerprivate final Listprivate EulaReaderprivate GameModeprivate booleanprivate static final Loggerprivate QueryResponseHandlerprivate RconServerprivate booleanFields inherited from class net.minecraft.server.MinecraftServer
field_3858, lastTickLengths, profiler, progress, progressType, proxy, queue, USER_CACHE_FILE, worlds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSnooperInfo(Snooper snooper) booleanprotected booleanvoidvoidenqueueCommand(String name, CommandSource source) voidprotected voidexit()booleangetBooleanOrDefault(String name, boolean value) intgetIntOrDefault(String name, int value) longintintintgetOrDefault(String name, String value) intbooleanhasGui()booleanbooleanbooleanbooleanbooleanbooleanisSpawnProtected(World world, BlockPos pos, PlayerEntity player) voidmethod_2999(GameMode gameMode) method_3000(GameMode gameMode, boolean bool) populateCrashReport(CrashReport report) voidprotected voidsetCrashReport(CrashReport report) voidsetPlayerIdleTimeout(int playerIdleTimeout) voidsetProperty(String property, Object value) protected booleanbooleanbooleanprivate voidprotected voidtick()Methods inherited from class net.minecraft.server.MinecraftServer
addSnooper, addTickable, canUseCommand, createCommandManager, enableProfiler, execute, forcePlayerSampleUpdate, getBlockPos, getCommandManager, getCompletions, getCurrentPlayerCount, getEntity, getEntity, getFile, getGameProfileRepo, getIp, getKeyPair, getLevelName, getMaxPlayerCount, getMotd, getNetworkIo, getPlayerIdleTimeout, getPlayerNames, getPort, getPos, getProfiles, getProxy, getResourcePackHash, getResourcePackUrl, getRunDirectory, getSaveStorage, getServer, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerName, getServerOperation, getServerPort, getServerStartTime, getSessionService, getSnooper, getThread, getTicks, getTimeMillis, getTranslationKey, getUserCache, getUserName, getVersion, getWorld, getWorld, getWorldHeight, hasGameDir, info, isDebuggingEnabled, isDemo, isFlightEnabled, isLoading, isOnlineMode, isOnThread, isPvpEnabled, isRunning, isSinglePlayer, 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, setDifficulty, setFlightEnabled, setForceGameMode, setForceWorldUpgrade, setInstance, setKeyPair, setLevelName, setMotd, setOnlineMode, setPlayerManager, setPvpEnabled, setResourcePack, setServerIp, setServerName, setServerOperation, setServerPort, setSpawnAnimals, setSpawnNpcs, setupWorld, setupWorld, setUserName, setWorldHeight, shouldForceGameMode, shouldSpawnAnimals, shouldSpawnNpcs, startServerThread, stopRunning, stopServer, upgradeWorld, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.dedicated.DedicatedServer
executeRconCommand, getCurrentPlayerCount, getHostname, getLevelName, getMaxPlayerCount, getMotd, getPlayerNames, getPlugins, getPort, getVersion, isDebuggingEnabled, log, logError, logInfo, logWarn
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official jLpo;j:Lorg/apache/logging/log4j/Logger;intermediary field_8870Lnet/minecraft/class_770;field_8870:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/dedicated/MinecraftDedicatedServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
commandQueue
- Mappings:
Namespace Name Mixin selector official kLpo;k:Ljava/util/List;intermediary field_2731Lnet/minecraft/class_770;field_2731:Ljava/util/List;named commandQueueLnet/minecraft/server/dedicated/MinecraftDedicatedServer;commandQueue:Ljava/util/List;
-
queryResponseHandler
- Mappings:
Namespace Name Mixin selector official lLpo;l:Ltf;intermediary field_2732Lnet/minecraft/class_770;field_2732:Lnet/minecraft/class_810;named queryResponseHandlerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;queryResponseHandler:Lnet/minecraft/server/rcon/QueryResponseHandler;
-
rconServer
- Mappings:
Namespace Name Mixin selector official mLpo;m:Lti;intermediary field_2733Lnet/minecraft/class_770;field_2733:Lnet/minecraft/class_813;named rconServerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;rconServer:Lnet/minecraft/server/rcon/RconServer;
-
abstractPropertiesHandler
- Mappings:
Namespace Name Mixin selector official nLpo;n:Lpl;intermediary field_2734Lnet/minecraft/class_770;field_2734:Lnet/minecraft/class_745;named abstractPropertiesHandlerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;abstractPropertiesHandler:Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;
-
eulaReader
- Mappings:
Namespace Name Mixin selector official oLpo;o:Lpb;intermediary field_8871Lnet/minecraft/class_770;field_8871:Lnet/minecraft/class_2095;named eulaReaderLnet/minecraft/server/dedicated/MinecraftDedicatedServer;eulaReader:Lnet/minecraft/server/dedicated/EulaReader;
-
shouldGenerateStructures
private boolean shouldGenerateStructures- Mappings:
Namespace Name Mixin selector official pLpo;p:Zintermediary field_2735Lnet/minecraft/class_770;field_2735:Znamed shouldGenerateStructuresLnet/minecraft/server/dedicated/MinecraftDedicatedServer;shouldGenerateStructures:Z
-
field_2736
- Mappings:
Namespace Name Mixin selector official qLpo;q:Larc;intermediary field_2736Lnet/minecraft/class_770;field_2736:Lnet/minecraft/class_1157;named field_2736Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;field_2736:Lnet/minecraft/world/GameMode;
-
hasGui
private boolean hasGui- Mappings:
Namespace Name Mixin selector official rLpo;r:Zintermediary field_2738Lnet/minecraft/class_770;field_2738:Znamed hasGuiLnet/minecraft/server/dedicated/MinecraftDedicatedServer;hasGui:Z
-
-
Constructor Details
-
MinecraftDedicatedServer
- Mappings:
Namespace Name Mixin selector official <init>Lpo;<init>(Ljava/io/File;)Vintermediary <init>Lnet/minecraft/class_770;<init>(Ljava/io/File;)Vnamed <init>Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;<init>(Ljava/io/File;)V
-
-
Method Details
-
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
-
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
-
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
-
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;
-
exit
protected void exit()- Overrides:
exitin classMinecraftServer- Mappings:
Namespace Name Mixin selector official xLnet/minecraft/server/MinecraftServer;x()Vintermediary method_3042Lnet/minecraft/server/MinecraftServer;method_3042()Vnamed exitLnet/minecraft/server/MinecraftServer;exit()V
-
tick
protected void tick()- Overrides:
tickin classMinecraftServer- Mappings:
Namespace Name Mixin selector official zLnet/minecraft/server/MinecraftServer;z()Vintermediary method_3046Lnet/minecraft/server/MinecraftServer;method_3046()Vnamed tickLnet/minecraft/server/MinecraftServer;tick()V
-
isNetherAllowed
public boolean isNetherAllowed()- Overrides:
isNetherAllowedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official ALnet/minecraft/server/MinecraftServer;A()Zintermediary method_3047Lnet/minecraft/server/MinecraftServer;method_3047()Znamed isNetherAllowedLnet/minecraft/server/MinecraftServer;isNetherAllowed()Z
-
isMonsterSpawningEnabled
public boolean isMonsterSpawningEnabled()- Overrides:
isMonsterSpawningEnabledin classMinecraftServer- Mappings:
Namespace Name Mixin selector official VLnet/minecraft/server/MinecraftServer;V()Zintermediary method_2977Lnet/minecraft/server/MinecraftServer;method_2977()Znamed isMonsterSpawningEnabledLnet/minecraft/server/MinecraftServer;isMonsterSpawningEnabled()Z
-
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
-
enqueueCommand
- Mappings:
Namespace Name Mixin selector official aLpo;a(Ljava/lang/String;Lae;)Vintermediary method_2065Lnet/minecraft/class_770;method_2065(Ljava/lang/String;Lnet/minecraft/class_1061;)Vnamed enqueueCommandLnet/minecraft/server/dedicated/MinecraftDedicatedServer;enqueueCommand(Ljava/lang/String;Lnet/minecraft/command/CommandSource;)V
-
executeQueuedCommands
public void executeQueuedCommands()- Mappings:
Namespace Name Mixin selector official aMLpo;aM()Vintermediary method_2067Lnet/minecraft/class_770;method_2067()Vnamed executeQueuedCommandsLnet/minecraft/server/dedicated/MinecraftDedicatedServer;executeQueuedCommands()V
-
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
-
getPlayerManager
- Overrides:
getPlayerManagerin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aNLpo;aN()Lpn;intermediary method_2068Lnet/minecraft/class_770;method_2068()Lnet/minecraft/class_769;named getPlayerManagerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;getPlayerManager()Lnet/minecraft/server/dedicated/DedicatedPlayerManager;
-
getIntOrDefault
- Specified by:
getIntOrDefaultin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official aLpj;a(Ljava/lang/String;I)Iintermediary method_2030Lnet/minecraft/class_744;method_2030(Ljava/lang/String;I)Inamed getIntOrDefaultLnet/minecraft/server/dedicated/DedicatedServer;getIntOrDefault(Ljava/lang/String;I)I
-
getOrDefault
- Specified by:
getOrDefaultin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official aLpj;a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;intermediary method_2032Lnet/minecraft/class_744;method_2032(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;named getOrDefaultLnet/minecraft/server/dedicated/DedicatedServer;getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
-
getBooleanOrDefault
- Mappings:
Namespace Name Mixin selector official aLpo;a(Ljava/lang/String;Z)Zintermediary method_2066Lnet/minecraft/class_770;method_2066(Ljava/lang/String;Z)Znamed getBooleanOrDefaultLnet/minecraft/server/dedicated/MinecraftDedicatedServer;getBooleanOrDefault(Ljava/lang/String;Z)Z
-
setProperty
- Specified by:
setPropertyin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official aLpj;a(Ljava/lang/String;Ljava/lang/Object;)Vintermediary method_2031Lnet/minecraft/class_744;method_2031(Ljava/lang/String;Ljava/lang/Object;)Vnamed setPropertyLnet/minecraft/server/dedicated/DedicatedServer;setProperty(Ljava/lang/String;Ljava/lang/Object;)V
-
saveAbstractPropertiesHandler
public void saveAbstractPropertiesHandler()- Specified by:
saveAbstractPropertiesHandlerin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official aLpj;a()Vintermediary method_2029Lnet/minecraft/class_744;method_2029()Vnamed saveAbstractPropertiesHandlerLnet/minecraft/server/dedicated/DedicatedServer;saveAbstractPropertiesHandler()V
-
getPropertiesFilePath
- Specified by:
getPropertiesFilePathin interfaceDedicatedServer- Mappings:
Namespace Name Mixin selector official bLpj;b()Ljava/lang/String;intermediary method_2033Lnet/minecraft/class_744;method_2033()Ljava/lang/String;named getPropertiesFilePathLnet/minecraft/server/dedicated/DedicatedServer;getPropertiesFilePath()Ljava/lang/String;
-
createGui
public void createGui()- Mappings:
Namespace Name Mixin selector official aOLpo;aO()Vintermediary method_2069Lnet/minecraft/class_770;method_2069()Vnamed createGuiLnet/minecraft/server/dedicated/MinecraftDedicatedServer;createGui()V
-
hasGui
public boolean hasGui()- Overrides:
hasGuiin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aqLnet/minecraft/server/MinecraftServer;aq()Zintermediary method_3007Lnet/minecraft/server/MinecraftServer;method_3007()Znamed hasGuiLnet/minecraft/server/MinecraftServer;hasGui()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;
-
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
-
getSpawnProtectionRadius
public int getSpawnProtectionRadius()- Overrides:
getSpawnProtectionRadiusin classMinecraftServer- Mappings:
Namespace Name Mixin selector official auLnet/minecraft/server/MinecraftServer;au()Iintermediary method_4500Lnet/minecraft/server/MinecraftServer;method_4500()Inamed getSpawnProtectionRadiusLnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
-
isSpawnProtected
- Overrides:
isSpawnProtectedin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Laqu;Ldt;Lahd;)Zintermediary method_10812Lnet/minecraft/server/MinecraftServer;method_10812(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)Znamed isSpawnProtectedLnet/minecraft/server/MinecraftServer;isSpawnProtected(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)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
-
setPlayerIdleTimeout
public void setPlayerIdleTimeout(int playerIdleTimeout) - Overrides:
setPlayerIdleTimeoutin classMinecraftServer- Mappings:
Namespace Name Mixin selector official dLnet/minecraft/server/MinecraftServer;d(I)Vintermediary method_6084Lnet/minecraft/server/MinecraftServer;method_6084(I)Vnamed setPlayerIdleTimeoutLnet/minecraft/server/MinecraftServer;setPlayerIdleTimeout(I)V
-
shouldAnnouncePlayerAchievements
public boolean shouldAnnouncePlayerAchievements()- Overrides:
shouldAnnouncePlayerAchievementsin classMinecraftServer- Mappings:
Namespace Name Mixin selector official azLnet/minecraft/server/MinecraftServer;az()Zintermediary method_8158Lnet/minecraft/server/MinecraftServer;method_8158()Znamed shouldAnnouncePlayerAchievementsLnet/minecraft/server/MinecraftServer;shouldAnnouncePlayerAchievements()Z
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Overrides:
getMaxWorldBorderRadiusin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aGLnet/minecraft/server/MinecraftServer;aG()Iintermediary method_10817Lnet/minecraft/server/MinecraftServer;method_10817()Inamed getMaxWorldBorderRadiusLnet/minecraft/server/MinecraftServer;getMaxWorldBorderRadius()I
-
getNetworkCompressionThreshold
public int getNetworkCompressionThreshold()- Overrides:
getNetworkCompressionThresholdin classMinecraftServer- Mappings:
Namespace Name Mixin selector official aILnet/minecraft/server/MinecraftServer;aI()Iintermediary method_10818Lnet/minecraft/server/MinecraftServer;method_10818()Inamed getNetworkCompressionThresholdLnet/minecraft/server/MinecraftServer;getNetworkCompressionThreshold()I
-
convertData
protected boolean convertData()- Mappings:
Namespace Name Mixin selector official aPLpo;aP()Zintermediary method_8111Lnet/minecraft/class_770;method_8111()Znamed convertDataLnet/minecraft/server/dedicated/MinecraftDedicatedServer;convertData()Z
-
sleepFiveSeconds
private void sleepFiveSeconds()- Mappings:
Namespace Name Mixin selector official aSLpo;aS()Vintermediary method_8113Lnet/minecraft/class_770;method_8113()Vnamed sleepFiveSecondsLnet/minecraft/server/dedicated/MinecraftDedicatedServer;sleepFiveSeconds()V
-
getMaxTickTime
public long getMaxTickTime()- Mappings:
Namespace Name Mixin selector official aQLpo;aQ()Jintermediary method_10744Lnet/minecraft/class_770;method_10744()Jnamed getMaxTickTimeLnet/minecraft/server/dedicated/MinecraftDedicatedServer;getMaxTickTime()J
-