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

public enum NoteBlockInstrument

implements StringRepresentable

dtf
net.minecraft.world.level.block.state.properties.NoteBlockInstrument
net.minecraft.class_2766
net.minecraft.block.enums.Instrument
net.minecraft.src.C_2095_
net.minecraft.world.level.block.state.properties.BlockPropertyInstrument

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (String p_263396_, Holder<SoundEvent> p_263425_, NoteBlockInstrument$Type name)

Method summary

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