Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RideableComponent Class Reference

Public Member Functions

MCAPI bool allowInteraction (::Actor &owner, ::Player &player) const
MCAPI bool canAddPassenger (::Actor const &vehicle, ::Actor &passenger) const
MCAPI bool getFirstAvailableSeatPosition (::Actor const &owner, ::Actor &potentialPassenger, ::Vec3 &result) const
MCAPI::Interaction getInteraction (::Actor &owner, ::Player &player, ::HandSlot) const
MCAPI bool pullInEntity (::Actor &vehicle, ::Actor &passenger) const

Public Attributes

::ll::TypedStorage< 8, 168, ::RideableComponentData > mData

Member Function Documentation

◆ allowInteraction()

MCAPI bool RideableComponent::allowInteraction ( ::Actor & owner,
::Player & player ) 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.

◆ canAddPassenger()

MCAPI bool RideableComponent::canAddPassenger ( ::Actor const & vehicle,
::Actor & passenger ) 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.

◆ getFirstAvailableSeatPosition()

MCAPI bool RideableComponent::getFirstAvailableSeatPosition ( ::Actor const & owner,
::Actor & potentialPassenger,
::Vec3 & result ) 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.

◆ getInteraction()

MCAPI::Interaction RideableComponent::getInteraction ( ::Actor & owner,
::Player & player,
::HandSlot  ) 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.

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