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

Public Member Functions

MCAPI void initFromDefinition (::Actor &actor)
MCAPI void initFromDefinition (::SharedTypes::v1_26_60::TeleportComponentDefinition const &definition)
MCAPI bool randomTeleport (::Actor &owner)
MCAPI bool teleport (::Actor &owner, ::Vec3 const &pos)
MCAPI bool teleportTowards (::Actor &owner, ::Actor const &target)
MCAPI bool tryTeleportFromProjectileHit (::Actor &owner, ::Actor const &projectile)

Public Attributes

::ll::TypedStorage< 1, 1, bool > mRandomTeleports
::ll::TypedStorage< 1, 1, bool > mTeleportsOnProjectileHit
::ll::TypedStorage< 8, 64, ::ActorFilterGroup > mProjectileFilter
::ll::TypedStorage< 4, 4, int > mMinTeleportTime
::ll::TypedStorage< 4, 4, int > mMaxTeleportTime
::ll::TypedStorage< 4, 12, ::Vec3 > mRandomTeleportCube
::ll::TypedStorage< 4, 4, float > mTargetDistance
::ll::TypedStorage< 4, 4, float > mTargetTeleportChance
::ll::TypedStorage< 4, 4, float > mLightTeleportChance
::ll::TypedStorage< 4, 4, float > mDarkTeleportChance
::ll::TypedStorage< 4, 4, int > mTeleportTime

Member Function Documentation

◆ initFromDefinition() [1/2]

MCAPI void TeleportComponent::initFromDefinition ( ::Actor & actor)
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.

◆ initFromDefinition() [2/2]

MCAPI void TeleportComponent::initFromDefinition ( ::SharedTypes::v1_26_60::TeleportComponentDefinition const & definition)
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.

◆ randomTeleport()

MCAPI bool TeleportComponent::randomTeleport ( ::Actor & owner)
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.

◆ teleport()

MCAPI bool TeleportComponent::teleport ( ::Actor & owner,
::Vec3 const & pos )
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.

◆ teleportTowards()

MCAPI bool TeleportComponent::teleportTowards ( ::Actor & owner,
::Actor const & target )
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.

◆ tryTeleportFromProjectileHit()

MCAPI bool TeleportComponent::tryTeleportFromProjectileHit ( ::Actor & owner,
::Actor const & projectile )
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: