2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2766 net/minecraft/block/enums/Instrument
|
|
|
|
FIELD field_12646 name Ljava/lang/String;
|
2022-11-29 10:35:55 -05:00
|
|
|
FIELD field_12649 sound Lnet/minecraft/class_6880;
|
2022-11-22 12:12:41 -05:00
|
|
|
FIELD field_41605 type Lnet/minecraft/class_2766$class_7994;
|
2022-11-29 10:35:55 -05:00
|
|
|
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_6880;Lnet/minecraft/class_2766$class_7994;)V
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 3 name
|
2022-11-30 12:58:00 -05:00
|
|
|
ARG 4 sound
|
2022-11-22 12:12:41 -05:00
|
|
|
ARG 5 type
|
2022-11-29 10:35:55 -05:00
|
|
|
METHOD method_11886 getSound ()Lnet/minecraft/class_6880;
|
2022-11-16 15:32:31 -05:00
|
|
|
METHOD method_47590 fromAboveState (Lnet/minecraft/class_2680;)Ljava/util/Optional;
|
|
|
|
ARG 0 state
|
|
|
|
METHOD method_47592 fromBelowState (Lnet/minecraft/class_2680;)Lnet/minecraft/class_2766;
|
|
|
|
ARG 0 state
|
2022-11-22 12:12:41 -05:00
|
|
|
METHOD method_47889 shouldSpawnNoteParticles ()Z
|
|
|
|
COMMENT {@return whether note blocks playing this instrument should produce note particles}
|
|
|
|
METHOD method_47890 hasCustomSound ()Z
|
|
|
|
COMMENT {@return whether note blocks playing this instrument should determine the sound from skulls above them}
|
|
|
|
METHOD method_47891 shouldRequireAirAbove ()Z
|
|
|
|
COMMENT {@return whether this instrument should prevent note blocks from playing when they do not have air above them}
|
|
|
|
CLASS class_7994 Type
|