Fix the parameter of SliderWidget.setValue (#2570)

* Fix the parameter of SliderWidget.setValue

* Fix format
This commit is contained in:
enbrain 2021-07-10 20:27:23 +09:00 committed by GitHub
parent 1eee701121
commit 11f052803c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,14 @@ CLASS net/minecraft/class_357 net/minecraft/client/gui/widget/SliderWidget
ARG 6 value
METHOD method_25344 applyValue ()V
METHOD method_25345 setValueFromMouse (D)V
COMMENT Sets the value from mouse position.
COMMENT
COMMENT <p>The value will be calculated from the position and the width of this
COMMENT slider.
COMMENT
COMMENT @see #setValue
ARG 1 mouseX
METHOD method_25346 updateMessage ()V
METHOD method_25347 setValue (D)V
ARG 1 mouseX
ARG 1 value
COMMENT the new value; will be clamped to {@code [0, 1]}