net.minecraft.world.level.block.state.properties

public enum NoteBlockInstrument

implements StringRepresentable

dyv
net.minecraft.world.level.block.state.properties.NoteBlockInstrument
net.minecraft.class_2766
net.minecraft.block.enums.NoteBlockInstrument
net.minecraft.world.level.block.state.properties.BlockPropertyInstrument

Enum constant summary

Enum Constant
a
HARP
field_12648
HARP
b
BASEDRUM
field_12653
BASEDRUM
c
SNARE
field_12643
SNARE
d
HAT
field_12645
HAT
e
BASS
field_12651
BASS
f
FLUTE
field_12650
FLUTE
g
BELL
field_12644
BELL
h
GUITAR
field_12654
GUITAR
i
CHIME
field_12647
CHIME
j
XYLOPHONE
field_12655
XYLOPHONE
k
IRON_XYLOPHONE
field_18284
IRON_XYLOPHONE
l
COW_BELL
field_18285
COW_BELL
m
DIDGERIDOO
field_18286
DIDGERIDOO
n
BIT
field_18287
BIT
o
BANJO
field_18288
BANJO
p
PLING
field_18289
PLING
q
ZOMBIE
field_41324
ZOMBIE
r
SKELETON
field_41325
SKELETON
s
CREEPER
field_41326
CREEPER
t
DRAGON
field_41327
DRAGON
u
WITHER_SKELETON
field_41328
WITHER_SKELETON
v
PIGLIN
field_41329
PIGLIN
w
CUSTOM_HEAD
field_41604
CUSTOM_HEAD

Field summary

Modifier and TypeField
private final String
x
name
field_12646
name
private final Holder<SoundEvent>
y
soundEvent
field_12649
sound
private final NoteBlockInstrument$Type
z
type
field_41605
type

Constructor summary

ModifierConstructor
private (String arg0, Holder<SoundEvent> arg1, NoteBlockInstrument$Type name)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
public Holder<SoundEvent>
a()
getSoundEvent()
method_11886()
getSound()
public boolean
b()
isTunable()
method_47889()
canBePitched()
public boolean
d()
hasCustomSound()
method_47890()
hasCustomSound()
public boolean
e()
worksAboveNoteBlock()
method_51372()
isNotBaseBlock()