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 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
MCFOLD::GameEvents::PositionSource const & $getPositionSource () const
virtual::GameEventListener::DeliveryMode getDeliveryMode () const
MCFOLD::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.

◆ $vftable()

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.

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