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

Public Member Functions

WanderingTraderScheduler & operator= (WanderingTraderScheduler const &)
 WanderingTraderScheduler (WanderingTraderScheduler const &)
MCAPI ::std::optional<::BlockPos > _findValidSpawnPosUnder (::BlockPos const &pos, ::BlockSource &region) const
MCAPI void tick ()
MCAPI void writeSaveData () const

Static Public Member Functions

static MCAPI ::std::vector< float > const & CHANCE_TO_SPAWN_PER_DAY ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Level & > mLevel
::ll::TypedStorage< 8, 8, uint64 > mTickToCheckIfSpawning
::ll::TypedStorage< 1, 1, bool > mSpawnWanderingTrader
::ll::TypedStorage< 4, 4, int > mDaysSinceLastSpawn
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mWanderingTraderUUID

Member Function Documentation

◆ _findValidSpawnPosUnder()

MCAPI ::std::optional<::BlockPos > WanderingTraderScheduler::_findValidSpawnPosUnder ( ::BlockPos const & pos,
::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.

◆ tick()

MCAPI void WanderingTraderScheduler::tick ( )
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.

◆ writeSaveData()

MCAPI void WanderingTraderScheduler::writeSaveData ( ) 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.

◆ CHANCE_TO_SPAWN_PER_DAY()

MCAPI ::std::vector< float > const & WanderingTraderScheduler::CHANCE_TO_SPAWN_PER_DAY ( )
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: