Added docs for MinecraftServer.save() (#1909)

* couple of SplashScreen names (#1766)

* couple of SplashScreen names

* Update SplashScreen.mapping

* Update MinecraftServer.mapping

Added save method comment and gave names to its arguments.

* Bad indentation

* Update mappings/net/minecraft/server/MinecraftServer.mapping

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

* Update mappings/net/minecraft/server/MinecraftServer.mapping

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

* Update mappings/net/minecraft/server/MinecraftServer.mapping

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

* Changed naming convention.

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Changed naming convention.

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Changed naming convention.

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

Co-authored-by: LoganDark <logandarklock@gmail.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
This commit is contained in:
Szum123321 2020-12-26 00:26:08 +01:00 committed by GitHub
parent 839e771f38
commit 27a3bc7045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -132,7 +132,16 @@ CLASS net/minecraft/server/MinecraftServer
METHOD method_3718 isFlightEnabled ()Z
METHOD method_3719 getGameProfileRepo ()Lcom/mojang/authlib/GameProfileRepository;
METHOD method_3723 save (ZZZ)Z
COMMENT Saves the server to the data storage device.
COMMENT
COMMENT To store the player data in addition to server data, call {@link PlayerManager#saveAllPlayerData()}.
COMMENT
COMMENT @return whether saving was successful
ARG 1 suppressLogs
ARG 2 flush
COMMENT if it should immediately write all data to storage device
ARG 3 force
COMMENT when set to true, all the {@link ServerWorld}s will be saved even if {@link ServerWorld#savingDisabled} is set to true
METHOD method_3724 isSinglePlayer ()Z
METHOD method_3725 getIconFile ()Ljava/io/File;
METHOD method_3727 hasGui ()Z