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
@Environment(SERVER)
public class MinecraftDedicatedServer
extends MinecraftServer
implements DedicatedServer
- Mappings:
Namespace Name official liintermediary net/minecraft/class_770named net/minecraft/server/dedicated/MinecraftDedicatedServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AbstractPropertiesHandlerprivate final Listprivate GameModeprivate booleanprivate static final Loggerprivate QueryResponseHandlerprivate RconServerprivate booleanFields inherited from class net.minecraft.server.MinecraftServer
field_3858, lastTickLengths, profiler, progress, progressType, proxy, worlds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSnooperInfo(Snooper snooper) booleanvoidvoidenqueueCommand(String name, CommandSource source) voidprotected voidexit()booleangetBooleanOrDefault(String name, boolean value) intgetIntOrDefault(String name, int value) intgetOrDefault(String name, String value) intbooleanhasGui()booleanbooleanbooleanbooleanbooleanmethod_3000(GameMode gameMode, boolean bool) booleanmethod_5385(World world, int int2, int int3, int int4, PlayerEntity playerEntity) populateCrashReport(CrashReport report) voidprotected voidsetCrashReport(CrashReport report) voidsetPlayerIdleTimeout(int playerIdleTimeout) voidsetProperty(String property, Object value) protected booleanbooleanprotected voidtick()Methods inherited from class net.minecraft.server.MinecraftServer
addSnooper, addTickable, canUseCommand, enableProfiler, forcePlayerSampleUpdate, getCommandManager, getCurrentPlayerCount, getFile, getIp, getKeyPair, getLevelName, getMaxPlayerCount, getMotd, getNetworkIo, getPlayerIdleTimeout, getPlayerNames, getPort, getProxy, getResourcePackUrl, getRunDirectory, getSaveStorage, getServer, getServerIp, getServerMetadata, getServerModName, getServerMotd, getServerName, getServerOperation, getServerPort, getSessionService, getSnooper, getTicks, getTimeMillis, getTranslatedName, getUserName, getVersion, getWorld, getWorld, getWorldHeight, info, isDebuggingEnabled, isDemo, isFlightEnabled, isLoading, isOnlineMode, isPvpEnabled, isRunning, isSinglePlayer, isStopped, log, logError, logProgress, main, method_2026, method_2036, method_2980, method_2998, method_2999, method_3043, method_4086, method_6344, prepareWorlds, run, save, saveWorlds, sendMessage, setDemo, setDifficulty, setFlightEnabled, setForceGameMode, setForceWorldUpgrade, setKeyPair, setLevelName, setMotd, setOnlineMode, setPlayerManager, setPvpEnabled, 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 hLli;h: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 iLli;i: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 jLli;j:Lnk;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 kLli;k:Lnn;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 lLli;l:Llf;intermediary field_2734Lnet/minecraft/class_770;field_2734:Lnet/minecraft/class_745;named abstractPropertiesHandlerLnet/minecraft/server/dedicated/MinecraftDedicatedServer;abstractPropertiesHandler:Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;
-
shouldGenerateStructures
private boolean shouldGenerateStructures- Mappings:
Namespace Name Mixin selector official mLli;m:Zintermediary field_2735Lnet/minecraft/class_770;field_2735:Znamed shouldGenerateStructuresLnet/minecraft/server/dedicated/MinecraftDedicatedServer;shouldGenerateStructures:Z
-
field_2736
- Mappings:
Namespace Name Mixin selector official nLli;n:Lafv;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 oLli;o: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>Lli;<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 eLnet/minecraft/server/MinecraftServer;e()Zintermediary method_3011Lnet/minecraft/server/MinecraftServer;method_3011()Znamed setupServerLnet/minecraft/server/MinecraftServer;setupServer()Z
-
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
-
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 sLnet/minecraft/server/MinecraftServer;s()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 uLnet/minecraft/server/MinecraftServer;u()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 vLnet/minecraft/server/MinecraftServer;v()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 OLnet/minecraft/server/MinecraftServer;O()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 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
-
enqueueCommand
- Mappings:
Namespace Name Mixin selector official aLli;a(Ljava/lang/String;Lac;)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 awLli;aw()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 VLnet/minecraft/server/MinecraftServer;V()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 axLli;ax()Llh;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 aLld;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 aLld;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 aLli;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 aLld;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 aLld;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 bLld;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 ayLli;ay()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 aiLnet/minecraft/server/MinecraftServer;ai()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(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;
-
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
-
getSpawnProtectionRadius
public int getSpawnProtectionRadius()- Overrides:
getSpawnProtectionRadiusin classMinecraftServer- Mappings:
Namespace Name Mixin selector official amLnet/minecraft/server/MinecraftServer;am()Iintermediary method_4500Lnet/minecraft/server/MinecraftServer;method_4500()Inamed getSpawnProtectionRadiusLnet/minecraft/server/MinecraftServer;getSpawnProtectionRadius()I
-
method_5385
- Overrides:
method_5385in classMinecraftServer- Mappings:
Namespace Name Mixin selector official aLnet/minecraft/server/MinecraftServer;a(Lafm;IIILxk;)Zintermediary method_5385Lnet/minecraft/server/MinecraftServer;method_5385(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;)Znamed method_5385Lnet/minecraft/server/MinecraftServer;method_5385(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)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
-
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
-