1.19-pre3 stuff (#3191)

This commit is contained in:
apple502j 2022-05-26 19:53:00 +09:00 committed by GitHub
parent de29cc59d2
commit d1d71849fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 0 deletions

View File

@ -51,8 +51,19 @@ CLASS net/minecraft/class_2196 net/minecraft/command/argument/MessageArgumentTyp
ARG 1 source
METHOD method_44263 logInvalidSignatureWarning (Lnet/minecraft/class_2168;Lnet/minecraft/class_7471;)V
ARG 1 source
ARG 2 message
METHOD method_44264 filter (Lnet/minecraft/class_2168;Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;
ARG 1 source
ARG 2 message
METHOD method_44265 (Lnet/minecraft/class_2168;Lnet/minecraft/class_5837;)Lnet/minecraft/class_5837;
ARG 2 decorated
METHOD method_44266 (Lnet/minecraft/class_2168;Lnet/minecraft/class_5837;)Ljava/util/concurrent/CompletionStage;
ARG 2 filtered
METHOD method_44334 getVerifiable (Lnet/minecraft/class_5837;)Lnet/minecraft/class_7471;
COMMENT {@return the verifiable part of {@code message}, or {@code null} when there is none}
COMMENT
COMMENT @implNote If the preview is signed, the decorated message will be returned, and
COMMENT if it's unsigned or unpreviewed but {@linkplain ChatMessageSignature#canVerify
COMMENT verifiable}, the plain, undecorated message will be returned. If neither is true,
COMMENT this returns {@code null}, since the message cannot be verified in any way.
ARG 1 decorated

View File

@ -147,6 +147,13 @@ CLASS net/minecraft/class_1308 net/minecraft/entity/mob/MobEntity
METHOD method_42150 isInAttackRange (Lnet/minecraft/class_1309;)Z
ARG 1 entity
METHOD method_42646 getItemPickUpRangeExpander ()Lnet/minecraft/class_2382;
METHOD method_44330 getPotentialEscapePositions ()Ljava/lang/Iterable;
COMMENT {@return the list of positions that the entity should try to pathfind to when escaping}
COMMENT
COMMENT @implNote This is used when the current position's {@linkplain #getPathfindingPenalty
COMMENT pathfinding penalty} is negative (i.e. dangerous). Note that currently
COMMENT {@link net.minecraft.entity.ai.pathing.BirdPathNodeMaker} is the only node maker
COMMENT utilizing this method.
METHOD method_5929 getDropChance (Lnet/minecraft/class_1304;)F
ARG 1 slot
METHOD method_5930 setForwardSpeed (F)V

View File

@ -39,3 +39,10 @@ CLASS net/minecraft/class_7469 net/minecraft/network/encryption/ChatMessageSigna
COMMENT if it has proper sender UUID and signature data. However, it can still fail to verify.
METHOD method_44308 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7498$class_7499;)V
ARG 2 updater
METHOD method_44336 canVerifyFrom (Ljava/util/UUID;)Z
COMMENT {@return whether the message is from {@code expectedSender} and the signature
COMMENT can be verified}
COMMENT
COMMENT <p>Verifiable signature is not the same as verified signature. A signatures is verifiable
COMMENT if it has proper sender UUID and signature data. However, it can still fail to verify.
ARG 1 expectedSender