Fixes #2643 sound relative (#2658)

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

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-09-08 06:20:34 -05:00 committed by GitHub
parent 9fb70f43fb
commit be93b866e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
CLASS net/minecraft/class_1102 net/minecraft/client/sound/AbstractSoundInstance
FIELD field_18936 looping Z
FIELD field_18936 relative Z
FIELD field_5439 x D
FIELD field_5440 attenuationType Lnet/minecraft/class_1113$class_1114;
FIELD field_5441 pitch F

View File

@ -10,7 +10,7 @@ CLASS net/minecraft/class_1109 net/minecraft/client/sound/PositionedSoundInstanc
ARG 8 x
ARG 10 y
ARG 12 z
ARG 14 looping
ARG 14 relative
METHOD <init> (Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFDDD)V
ARG 1 sound
ARG 2 category

View File

@ -14,5 +14,5 @@ CLASS net/minecraft/class_1113 net/minecraft/client/sound/SoundInstance
METHOD method_4784 getX ()D
METHOD method_4785 shouldAlwaysPlay ()Z
METHOD method_4786 isRepeatable ()Z
METHOD method_4787 isLooping ()Z
METHOD method_4787 isRelative ()Z
CLASS class_1114 AttenuationType