GameEvent 5.46.0
Game events which cause vibrations that sculk sensors can detect. Each one has a frequency (1-15), which a comparator reading an active sculk sensor outputs, and which a calibrated sculk sensor can filter.
Frequencies are the Bedrock ones from the Minecraft Wiki "Vibration frequencies" table.
Cases
BLOCK_ACTIVATE
php
case BLOCK_ACTIVATEBLOCK_ATTACH
php
case BLOCK_ATTACHBLOCK_CHANGE
php
case BLOCK_CHANGEBLOCK_CLOSE
php
case BLOCK_CLOSEBLOCK_DEACTIVATE
php
case BLOCK_DEACTIVATEBLOCK_DESTROY
php
case BLOCK_DESTROYBLOCK_DETACH
php
case BLOCK_DETACHBLOCK_OPEN
php
case BLOCK_OPENBLOCK_PLACE
php
case BLOCK_PLACECONTAINER_CLOSE
php
case CONTAINER_CLOSECONTAINER_OPEN
php
case CONTAINER_OPENDRINK
php
case DRINKEAT
php
case EATELYTRA_GLIDE
php
case ELYTRA_GLIDEENTITY_ACTION
php
case ENTITY_ACTIONENTITY_DAMAGE
php
case ENTITY_DAMAGEENTITY_DIE
php
case ENTITY_DIEENTITY_DISMOUNT
php
case ENTITY_DISMOUNTENTITY_INTERACT
php
case ENTITY_INTERACTENTITY_MOUNT
php
case ENTITY_MOUNTENTITY_PLACE
php
case ENTITY_PLACEEQUIP
php
case EQUIPEXPLODE
php
case EXPLODEFLAP
php
case FLAPFLUID_PICKUP
php
case FLUID_PICKUPFLUID_PLACE
php
case FLUID_PLACEHIT_GROUND
php
case HIT_GROUNDINSTRUMENT_PLAY
php
case INSTRUMENT_PLAYITEM_INTERACT_FINISH
php
case ITEM_INTERACT_FINISHLIGHTNING_STRIKE
php
case LIGHTNING_STRIKENOTE_BLOCK_PLAY
php
case NOTE_BLOCK_PLAYPRIME_FUSE
php
case PRIME_FUSEPROJECTILE_LAND
php
case PROJECTILE_LANDPROJECTILE_SHOOT
php
case PROJECTILE_SHOOTSHEAR
php
case SHEARSPLASH
php
case SPLASHSTEP
php
case STEPSWIM
php
case SWIMTELEPORT
php
case TELEPORTUNEQUIP
php
case UNEQUIPMethods
getFrequency()
php
public function getFrequency() : intReturns the vibration frequency (1-15) of this event.
isDampenedByWool()
php
public function isDampenedByWool() : boolReturns whether this event makes no vibration when it happens on wool or a carpet (footsteps, landing).
isIgnoredWhenSneaking()
php
public function isIgnoredWhenSneaking() : boolReturns whether a sneaking entity causing this event makes no vibration.
