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