Question Detecting vibrations/sculk sensors

CaptainCalcetines

New member
Jun 21, 2024
1
0
1
Hi there!

I'm super new to Minecraft development so be patient, please.

I have an idea for a plugin but I need to be able to detect when a player triggers a sculk sensor. Specifically, I need to know which player triggers it, not just that it's been triggered. I see there's a class, org.bukkit.Vibration, but I'm not sure how to use it, nor if it's even what I'm looking for.

It makes sense to me that the capability exists somewhere, since the game itself counts how many times a player has triggered a shrieker which is triggered by a sensor (in order to spawn the Warden), but not sure if that capability is exposed in Bukkit/Paper.

Thanks in advance for any help you can provide!