Fix the player parameter of methods used for playing sounds in the World class being unclear (#2646)

* Fix the player parameter of methods used for playing sounds in the World class being unclear

* Document the except parameter of methods used for playing sounds in the World class
This commit is contained in:
haykam821 2021-09-02 07:35:48 -04:00 committed by GitHub
parent ff3f628029
commit 973ab21029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -130,7 +130,8 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
METHOD method_8442 getSkyAngleRadians (F)F
ARG 1 tickDelta
METHOD method_8449 playSoundFromEntity (Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 player
ARG 1 except
COMMENT the player that should not receive the sound, or {@code null}
ARG 2 entity
ARG 3 sound
ARG 4 category
@ -158,7 +159,8 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 1 pos
ARG 2 direction
METHOD method_8465 playSound (Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 player
ARG 1 except
COMMENT the player that should not receive the sound, or {@code null}
ARG 2 x
ARG 4 y
ARG 6 z