Interface InstrumentDetectFunction
public interface InstrumentDetectFunction
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.properties.NoteBlockInstrumentdetectInstrument(net.minecraft.world.level.block.state.BlockState noteBlock, net.minecraft.core.BlockPos blockPos) Detects an instrument for noteblock
-
Method Details
-
detectInstrument
net.minecraft.world.level.block.state.properties.NoteBlockInstrument detectInstrument(net.minecraft.world.level.block.state.BlockState noteBlock, net.minecraft.core.BlockPos blockPos) Detects an instrument for noteblock- Parameters:
noteBlock- Noteblock stateblockPos- Noteblock position- Returns:
- Detected instrument
-