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.byState
(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. -
Uses of NoteBlockInstrument in net.minecraftforge.event.world
Modifier and TypeMethodDescriptionvoid
NoteBlockEvent.Play.setInstrument
(NoteBlockInstrument instrument) ModifierConstructorDescriptionPlay
(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument)