Class FeedBabySoundInteractionHandler
java.lang.Object
org.geysermc.connector.network.translators.sound.entity.FeedBabySoundInteractionHandler
- All Implemented Interfaces:
EntitySoundInteractionHandler,SoundInteractionHandler<Entity>
public class FeedBabySoundInteractionHandler
extends Object
implements EntitySoundInteractionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, Entity entity)Handles the interaction when a player right-clicks a block.
-
Constructor Details
-
FeedBabySoundInteractionHandler
public FeedBabySoundInteractionHandler()
-
-
Method Details
-
handleInteraction
public void handleInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, Entity entity)Description copied from interface:SoundInteractionHandlerHandles the interaction when a player right-clicks a block.- Specified by:
handleInteractionin interfaceSoundInteractionHandler<Entity>- Parameters:
session- the session interacting with the blockposition- the position of the blockentity- the value
-