Map ChatRestriction inner class (#2086)

* another nested class, another disappointment

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
This commit is contained in:
liach 2021-02-20 05:43:09 -06:00 committed by GitHub
parent 809afb3dfa
commit 63651ee44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -392,6 +392,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
ARG 2 runArgs
METHOD method_31974 getEntityModelLoader ()Lnet/minecraft/class_5599;
METHOD method_31975 getBlockEntityRenderDispatcher ()Lnet/minecraft/class_824;
METHOD method_33884 getChatRestriction ()Lnet/minecraft/class_310$class_5859;
CLASS class_5366 WorldLoadAction
CLASS class_5367 IntegratedResourceManager
FIELD field_25439 resourcePackManager Lnet/minecraft/class_3283;
@ -404,3 +405,13 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
METHOD method_29612 getResourcePackManager ()Lnet/minecraft/class_3283;
METHOD method_29613 getServerResourceManager ()Lnet/minecraft/class_5350;
METHOD method_29614 getSaveProperties ()Lnet/minecraft/class_5219;
CLASS class_5859 ChatRestriction
COMMENT Represents the restrictions on chat on a Minecraft client.
COMMENT
COMMENT @see MinecraftClient#getChatRestriction()
FIELD field_28944 description Lnet/minecraft/class_2561;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_2561;)V
ARG 3 description
METHOD method_33885 getDescription ()Lnet/minecraft/class_2561;
METHOD method_33886 allowsChat (Z)Z
ARG 1 singlePlayer