LeviLamina
Loading...
Searching...
No Matches
VibrationListener Class Reference
+ Inheritance diagram for VibrationListener:

Public Types

enum class  OwnerType : int { SculkSensor = 0 , SculkShrieker = 1 , Warden = 2 , Allay = 3 }
 
enum class  DeliveryMode : int { Unspecified = 0 , ByDistance = 1 }
 

Public Member Functions

virtual void handleGameEvent (::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext, ::BlockSource &region)
 
virtual uint getRange () const
 
virtual::GameEvents::PositionSource const & getPositionSource () const
 
MCAPI bool _areAdjacentChunksTicking (::BlockSource &region) const
 
MCAPI void _requestVibrationParticle (::BlockSource &region, ::BlockPos const &originPos, float timeToLive)
 
MCAPI void _tickInternal (::BlockSource &region)
 
MCAPI void _trySendSneakCloseToSculkSensorEventPacket (::BlockSource &region, ::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext, ::Vec3 const &sensorPos)
 
MCAPI void load (::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
 
MCAPI void save (::CompoundTag &tag) const
 
MCAPI void $handleGameEvent (::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext, ::BlockSource &region)
 
MCAPI uint $getRange () const
 
MCAPI::GameEvents::PositionSource const & $getPositionSource () const
 
virtual::GameEventListener::DeliveryMode getDeliveryMode () const
 
MCAPI::GameEventListener::DeliveryMode $getDeliveryMode () const
 

Static Public Member Functions

static MCAPI bool _shouldIgnoreVibration (::BlockSource &region, ::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 72, ::VibrationSelectormVibrationSelector
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::VibrationListenerConfig > > mConfig
 
::ll::TypedStorage< 8, 24, ::GameEvents::PositionSourcemPositionSource
 
::ll::TypedStorage< 4, 4, ::VibrationListener::OwnerType > mOwnerType
 
::ll::TypedStorage< 4, 4, uint > mRange
 
::ll::TypedStorage< 8, 64, ::std::optional<::VibrationInfo > > mInFlightVibrationInfo
 
::ll::TypedStorage< 4, 4, int > mInFlightVibrationTicks
 
::ll::TypedStorage< 8, 8, ::std::reference_wrapper<::GameEvent const > > mLatestReceivedVibration
 

Member Function Documentation

◆ handleGameEvent()

virtual void VibrationListener::handleGameEvent ( ::GameEvent const & gameEvent,
::GameEventContext const & gameEventContext,
::BlockSource & region )
virtual

Implements GameEventListener.

◆ getRange()

virtual uint VibrationListener::getRange ( ) const
virtual

Implements GameEventListener.

◆ getPositionSource()

virtual::GameEvents::PositionSource const & VibrationListener::getPositionSource ( ) const
virtual

Implements GameEventListener.

◆ _areAdjacentChunksTicking()

MCAPI bool VibrationListener::_areAdjacentChunksTicking ( ::BlockSource & region) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _requestVibrationParticle()

MCAPI void VibrationListener::_requestVibrationParticle ( ::BlockSource & region,
::BlockPos const & originPos,
float timeToLive )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tickInternal()

MCAPI void VibrationListener::_tickInternal ( ::BlockSource & region)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _trySendSneakCloseToSculkSensorEventPacket()

MCAPI void VibrationListener::_trySendSneakCloseToSculkSensorEventPacket ( ::BlockSource & region,
::GameEvent const & gameEvent,
::GameEventContext const & gameEventContext,
::Vec3 const & sensorPos )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ load()

MCAPI void VibrationListener::load ( ::CompoundTag const & tag,
::DataLoadHelper & dataLoadHelper )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ save()

MCAPI void VibrationListener::save ( ::CompoundTag & tag) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _shouldIgnoreVibration()

static MCAPI bool VibrationListener::_shouldIgnoreVibration ( ::BlockSource & region,
::GameEvent const & gameEvent,
::GameEventContext const & gameEventContext )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $handleGameEvent()

MCAPI void VibrationListener::$handleGameEvent ( ::GameEvent const & gameEvent,
::GameEventContext const & gameEventContext,
::BlockSource & region )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getRange()

MCAPI uint VibrationListener::$getRange ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getPositionSource()

MCAPI::GameEvents::PositionSource const & VibrationListener::$getPositionSource ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** VibrationListener::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getDeliveryMode()

MCAPI::GameEventListener::DeliveryMode GameEventListener::$getDeliveryMode ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: