Added GameModeSelection and CameraSubmersionEnvironment (#1882)

* Added GameModeSelection and CauldronFluids

* Renamed enums, moved to relevant places.

* Refactored ClientCauldronFluid to CameraSubmersionType.

* Camera.getSubmergedFluidState -> Camera.getSubmersionType

* Camera.getSubmergedFluidState -> Camera.getSubmersionType

* Added javadoc to GameModeSelection.mapping

* Fixed Javadoc.

* Added some more Javadoc.
This commit is contained in:
MounderFod 2020-11-18 12:05:09 +00:00 committed by GitHub
parent c55751331e
commit 29ec35b5d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
CLASS net/minecraft/class_5681 net/minecraft/client/gui/screen/world/GameModeSelection
FIELD field_27990 gameMode Lnet/minecraft/class_1934;
COMMENT The gamemode being chosen. @see GameMode
FIELD field_27991 name Lnet/minecraft/class_2561;
COMMENT The name of the gamemode.
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_1934;)V
ARG 3 gameMode
METHOD method_32636 getGameMode ()Lnet/minecraft/class_1934;
COMMENT Gets the gamemode with the given name (i.e. enum field). @see GameMode
METHOD method_32637 getName ()Lnet/minecraft/class_2561;
COMMENT Gets the name of the given gamemode.

View File

@ -43,7 +43,7 @@ CLASS net/minecraft/class_4184 net/minecraft/client/render/Camera
METHOD method_19331 getFocusedEntity ()Lnet/minecraft/class_1297;
METHOD method_19332 isReady ()Z
METHOD method_19333 isThirdPerson ()Z
METHOD method_19334 getSubmergedFluidState ()Lnet/minecraft/class_5636;
METHOD method_19334 getSubmersionType ()Lnet/minecraft/class_5636;
METHOD method_19335 getHorizontalPlane ()Lnet/minecraft/class_1160;
METHOD method_19336 getVerticalPlane ()Lnet/minecraft/class_1160;
METHOD method_19337 reset ()V

View File

@ -0,0 +1,6 @@
CLASS net/minecraft/class_5636 net/minecraft/client/render/CameraSubmersionType
COMMENT This class contains the various "fluids" and is used for camera rendering. @see Camera.getSubmersionType
FIELD field_27885 LAVA Lnet/minecraft/class_5636;
FIELD field_27886 WATER Lnet/minecraft/class_5636;
FIELD field_27887 POWDER_SNOW Lnet/minecraft/class_5636;
FIELD field_27888 NONE Lnet/minecraft/class_5636;