yarn/mappings/net/minecraft/block/enums/Instrument.mapping

20 lines
1.1 KiB
Plaintext

CLASS net/minecraft/class_2766 net/minecraft/block/enums/Instrument
FIELD field_12646 name Ljava/lang/String;
FIELD field_12649 sound Lnet/minecraft/class_6880;
FIELD field_41605 type Lnet/minecraft/class_2766$class_7994;
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_6880;Lnet/minecraft/class_2766$class_7994;)V
ARG 3 name
ARG 5 type
METHOD method_11886 getSound ()Lnet/minecraft/class_6880;
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
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