yarn/mappings/net/minecraft/client/gui/widget/SliderWidget.mapping

23 lines
662 B
Plaintext

CLASS net/minecraft/class_357 net/minecraft/client/gui/widget/SliderWidget
FIELD field_22753 value D
METHOD <init> (IIIILnet/minecraft/class_2561;D)V
ARG 1 x
ARG 2 y
ARG 3 width
ARG 4 height
ARG 5 text
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 value
COMMENT the new value; will be clamped to {@code [0, 1]}