Interface InstrumentDetectFunction


public interface InstrumentDetectFunction
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.block.enums.Instrument
    detectInstrument(net.minecraft.block.BlockState noteBlock, net.minecraft.util.math.BlockPos blockPos)
    Detects an instrument for noteblock
  • Method Details

    • detectInstrument

      net.minecraft.block.enums.Instrument detectInstrument(net.minecraft.block.BlockState noteBlock, net.minecraft.util.math.BlockPos blockPos)
      Detects an instrument for noteblock
      Parameters:
      noteBlock - Noteblock state
      blockPos - Noteblock position
      Returns:
      Detected instrument