Interface BlockSoundInteractionHandler
- All Superinterfaces:
SoundInteractionHandler<String>
- All Known Implementing Classes:
BucketSoundInteractionHandler,ComparatorSoundInteractionHandler,DoorSoundInteractionHandler,FlintAndSteelInteractionHandler,GrassPathInteractionHandler,HoeInteractionHandler,LeverSoundInteractionHandler
Sound interaction handler for when a block is right-clicked.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voidhandleBlockInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, String identifier)Handles the block interaction when a player right-clicks a block.Methods inherited from interface org.geysermc.connector.network.translators.sound.SoundInteractionHandler
handleInteraction
-
Method Details
-
handleBlockInteraction
static void handleBlockInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, String identifier)Handles the block interaction when a player right-clicks a block.- Parameters:
session- the session interacting with the blockposition- the position of the blockidentifier- the identifier of the block
-