3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/events/gameevents/GameEventListener.h"
7#include "mc/world/events/gameevents/PositionSource.h"
8#include "mc/world/events/gameevents/VibrationInfo.h"
9#include "mc/world/events/gameevents/VibrationSelector.h"
26 enum class OwnerType :
int {
36 ::ll::TypedStorage<8, 72, ::VibrationSelector> mVibrationSelector;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VibrationListenerConfig>> mConfig;
38 ::ll::TypedStorage<8, 24, ::GameEvents::PositionSource> mPositionSource;
39 ::ll::TypedStorage<4, 4, ::VibrationListener::OwnerType> mOwnerType;
40 ::ll::TypedStorage<4, 4, uint> mRange;
41 ::ll::TypedStorage<8, 64, ::std::optional<::VibrationInfo>> mInFlightVibrationInfo;
42 ::ll::TypedStorage<4, 4, int> mInFlightVibrationTicks;
43 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::GameEvent const>> mLatestReceivedVibration;
50 virtual void handleGameEvent(
57 virtual uint getRange()
const ;
60 virtual ::GameEvents::PositionSource
const& getPositionSource()
const ;
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition GameEventListener.h:13
Definition VibrationListenerConfig.h:14
Definition VibrationListener.h:23
MCAPI void $handleGameEvent(::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext, ::BlockSource ®ion)
MCAPI uint $getRange() const
MCAPI void _requestVibrationParticle(::BlockSource ®ion, ::BlockPos const &originPos, float timeToLive)
MCAPI void save(::CompoundTag &tag) const
MCAPI void _tickInternal(::BlockSource ®ion)
MCAPI void load(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void _trySendSneakCloseToSculkSensorEventPacket(::BlockSource ®ion, ::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext, ::Vec3 const &sensorPos)
MCAPI bool _areAdjacentChunksTicking(::BlockSource ®ion) const
static MCAPI void ** $vftable()
static MCAPI bool _shouldIgnoreVibration(::BlockSource ®ion, ::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext)
MCAPI::GameEvents::PositionSource const & $getPositionSource() const
Definition GameEventContext.h:14