Class NoteBlockEventReceiver
java.lang.Object
org.cyclops.integrateddynamics.core.NoteBlockEventReceiver
Captures note block events for one tick.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap
<net.minecraft.world.level.block.state.properties.NoteBlockInstrument, net.neoforged.neoforge.event.level.NoteBlockEvent.Play> static NoteBlockEventReceiver
void
onNoteEvent
(net.neoforged.neoforge.event.level.NoteBlockEvent.Play event) void
onTick
(net.neoforged.neoforge.event.tick.ServerTickEvent.Pre event)
-
Method Details
-
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()
-