Uses of Enum Class
net.minecraft.world.level.block.state.properties.NoteBlockInstrument
Package
Description
-
Uses of NoteBlockInstrument in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionstatic final EnumProperty<NoteBlockInstrument>
NoteBlock.INSTRUMENT
-
Uses of NoteBlockInstrument in net.minecraft.world.level.block.state.properties
Modifier and TypeFieldDescriptionstatic final EnumProperty<NoteBlockInstrument>
BlockStateProperties.NOTEBLOCK_INSTRUMENT
Modifier and TypeMethodDescriptionstatic NoteBlockInstrument
NoteBlockInstrument.byStateBelow
(BlockState p_61667_) static NoteBlockInstrument
Returns the enum constant of this class with the specified name.static NoteBlockInstrument[]
NoteBlockInstrument.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Optional<NoteBlockInstrument>
NoteBlockInstrument.byStateAbove
(BlockState p_261556_) -
Uses of NoteBlockInstrument in net.minecraftforge.event.level
Modifier and TypeMethodDescriptionvoid
NoteBlockEvent.Play.setInstrument
(NoteBlockInstrument instrument) ModifierConstructorDescriptionPlay
(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument)