Class NoteBlockEventReceiver

java.lang.Object
org.cyclops.integrateddynamics.core.NoteBlockEventReceiver

public final class NoteBlockEventReceiver extends Object
Captures note block events for one tick.
  • Method Details

    • getInstance

      public static NoteBlockEventReceiver getInstance()
    • onNoteEvent

      public void onNoteEvent(net.neoforged.neoforge.event.level.NoteBlockEvent.Play event)
    • onTick

      public void onTick(net.neoforged.neoforge.event.tick.ServerTickEvent.Pre event)
    • getEvents

      public com.google.common.collect.Multimap<net.minecraft.world.level.block.state.properties.NoteBlockInstrument,net.neoforged.neoforge.event.level.NoteBlockEvent.Play> getEvents()