LeviLamina
Loading...
Searching...
No Matches
TrialSpawner Class Reference

Classes

struct  Data
 
struct  PlayerScanResult
 
struct  WeightedItemStack
 

Public Types

enum class  SpawningLogicState : int {
  Inactive = 0 , WaitingForPlayers = 1 , Active = 2 , WaitingForRewardEjection = 3 ,
  EjectingRewards = 4 , Cooldown = 5 , Count = 6
}
 

Public Member Functions

TrialSpawneroperator= (TrialSpawner const &)
 
 TrialSpawner (TrialSpawner const &)
 
MCAPI TrialSpawner (::BlockPos const &pos)
 
MCAPI void _becomeOminous (::BlockSource &region, ::Block const &block)
 
MCAPI void _dispenseItemAboveRandomCombatant (::BlockSource &region)
 
MCAPI::TrialSpawner::PlayerScanResult _doPlayerScan (::BlockSource &region)
 
MCAPI ::std::vector<::TrialSpawner::WeightedItemStack > & _getDispensingItems (::BlockSource &region)
 
MCAPI ::std::optional<::Vec3_getPositionToSpawnItemSpawner (::BlockSource &region, ::std::vector<::ActorUniqueID > const &eligibleActorIds) const
 
MCAPI bool _hasLineOfSight (::BlockSource const &region, ::Vec3 from, ::Vec3 to, float maxRange) const
 
MCAPI void _selectLootTable (::Level &level)
 
MCAPI void _sendParticlesForState (::BlockSource &region, ::BlockPos pos, ::TrialSpawner::SpawningLogicState state)
 
MCAPI void _sendSmallFlame (::BlockSource &region, ::Vec3 center)
 
MCAPI void _spawnItemSpawner (::BlockSource &region, ::Vec3 pos, ::ItemStack const &itemToSpawn)
 
MCAPI ::std::optional<::ActorUniqueID_spawnMob (::BlockSource &region, ::BlockPos blockActorPos, ::Vec3 spawnPos)
 
MCAPI void _tryRegisterNewPlayers (::BlockSource &region, ::TrialSpawner::SpawningLogicState currentState)
 
MCAPI void _updateStateMachine (::BlockSource &region)
 
MCAPI void applyUpdatePacket (::CompoundTag const &tag, ::BlockSource &region)
 
MCAPI::Mob * createAndAddDisplayEntity (::BlockSource &region)
 
MCAPI::SpawnData const * getOrCreateNextSpawnData (::Random &random)
 
MCAPI::TrialSpawner::SpawningLogicState getSpawningLogicState (::BlockSource &region) const
 
MCAPI void load (::CompoundTag const &data, ::TrialSpawnerConfigRegistry const &configRegistry)
 
MCAPI void removeDisplayEntity ()
 
MCAPI void save (::CompoundTag &tag)
 
MCAPI void setEntityId (::ActorDefinitionIdentifier const &actorDefId, ::BlockSource &region)
 
MCAPI void tick (::BlockSource &region)
 
MCAPI void * $ctor (::BlockPos const &pos)
 

Static Public Member Functions

static MCAPI void _ejectItem (::BlockSource &region, ::Vec3 pos, ::ItemStack const &item)
 
static MCAPI void _ejectResultItems (::BlockSource &region, ::BlockPos blockPos, ::std::vector<::ItemStack > const &items, int lootCount)
 
static MCAPI ::std::optional<::Vec3_findFreePositionAbove (::BlockSource const &region, ::Vec3 const &from, int distance)
 
static MCAPI ::std::vector<::ItemStack_getRandomLootTableItems (::Level &level, ::Random &random, ::DimensionType dimensionType, ::std::string const &lootTableName)
 
static MCAPI bool _isAllowedToSpawnInLevel (::Level &level)
 
static MCAPI bool _isOminous (::BlockSource &region, ::BlockPos pos)
 
static MCAPI void _removeMobByGameplay (::Level &level, ::Actor &mob)
 

Public Attributes

::ll::UntypedStorage< 4, 12 > mUnkbe7b9a
 
::ll::UntypedStorage< 4, 4 > mUnk57694f
 
::ll::UntypedStorage< 8, 360 > mUnk875e9a
 
::ll::UntypedStorage< 8, 144 > mUnk686b60
 
::ll::UntypedStorage< 8, 144 > mUnkbc6028
 
::ll::UntypedStorage< 1, 1 > mUnk73169e
 
::ll::UntypedStorage< 1, 1 > mUnk338f73
 

Constructor & Destructor Documentation

◆ TrialSpawner()

MCAPI TrialSpawner::TrialSpawner ( ::BlockPos const & pos)
explicit
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.

Member Function Documentation

◆ _becomeOminous()

MCAPI void TrialSpawner::_becomeOminous ( ::BlockSource & region,
::Block const & block )
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.

◆ _dispenseItemAboveRandomCombatant()

MCAPI void TrialSpawner::_dispenseItemAboveRandomCombatant ( ::BlockSource & region)
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.

◆ _doPlayerScan()

MCAPI::TrialSpawner::PlayerScanResult TrialSpawner::_doPlayerScan ( ::BlockSource & region)
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.

◆ _getDispensingItems()

MCAPI ::std::vector<::TrialSpawner::WeightedItemStack > & TrialSpawner::_getDispensingItems ( ::BlockSource & region)
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.

◆ _getPositionToSpawnItemSpawner()

MCAPI ::std::optional<::Vec3 > TrialSpawner::_getPositionToSpawnItemSpawner ( ::BlockSource & region,
::std::vector<::ActorUniqueID > const & eligibleActorIds ) 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.

◆ _hasLineOfSight()

MCAPI bool TrialSpawner::_hasLineOfSight ( ::BlockSource const & region,
::Vec3 from,
::Vec3 to,
float maxRange ) 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.

◆ _selectLootTable()

MCAPI void TrialSpawner::_selectLootTable ( ::Level & level)
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.

◆ _sendParticlesForState()

MCAPI void TrialSpawner::_sendParticlesForState ( ::BlockSource & region,
::BlockPos pos,
::TrialSpawner::SpawningLogicState state )
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.

◆ _sendSmallFlame()

MCAPI void TrialSpawner::_sendSmallFlame ( ::BlockSource & region,
::Vec3 center )
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.

◆ _spawnItemSpawner()

MCAPI void TrialSpawner::_spawnItemSpawner ( ::BlockSource & region,
::Vec3 pos,
::ItemStack const & itemToSpawn )
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.

◆ _spawnMob()

MCAPI ::std::optional<::ActorUniqueID > TrialSpawner::_spawnMob ( ::BlockSource & region,
::BlockPos blockActorPos,
::Vec3 spawnPos )
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.

◆ _tryRegisterNewPlayers()

MCAPI void TrialSpawner::_tryRegisterNewPlayers ( ::BlockSource & region,
::TrialSpawner::SpawningLogicState currentState )
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.

◆ _updateStateMachine()

MCAPI void TrialSpawner::_updateStateMachine ( ::BlockSource & region)
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.

◆ applyUpdatePacket()

MCAPI void TrialSpawner::applyUpdatePacket ( ::CompoundTag const & tag,
::BlockSource & region )
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.

◆ createAndAddDisplayEntity()

MCAPI::Mob * TrialSpawner::createAndAddDisplayEntity ( ::BlockSource & region)
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.

◆ getOrCreateNextSpawnData()

MCAPI::SpawnData const * TrialSpawner::getOrCreateNextSpawnData ( ::Random & random)
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.

◆ getSpawningLogicState()

MCAPI::TrialSpawner::SpawningLogicState TrialSpawner::getSpawningLogicState ( ::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.

◆ load()

MCAPI void TrialSpawner::load ( ::CompoundTag const & data,
::TrialSpawnerConfigRegistry const & configRegistry )
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.

◆ removeDisplayEntity()

MCAPI void TrialSpawner::removeDisplayEntity ( )
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.

◆ save()

MCAPI void TrialSpawner::save ( ::CompoundTag & tag)
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.

◆ setEntityId()

MCAPI void TrialSpawner::setEntityId ( ::ActorDefinitionIdentifier const & actorDefId,
::BlockSource & region )
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 TrialSpawner::tick ( ::BlockSource & region)
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.

◆ _ejectItem()

static MCAPI void TrialSpawner::_ejectItem ( ::BlockSource & region,
::Vec3 pos,
::ItemStack const & item )
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.

◆ _ejectResultItems()

static MCAPI void TrialSpawner::_ejectResultItems ( ::BlockSource & region,
::BlockPos blockPos,
::std::vector<::ItemStack > const & items,
int lootCount )
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.

◆ _findFreePositionAbove()

static MCAPI ::std::optional<::Vec3 > TrialSpawner::_findFreePositionAbove ( ::BlockSource const & region,
::Vec3 const & from,
int distance )
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.

◆ _getRandomLootTableItems()

static MCAPI ::std::vector<::ItemStack > TrialSpawner::_getRandomLootTableItems ( ::Level & level,
::Random & random,
::DimensionType dimensionType,
::std::string const & lootTableName )
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.

◆ _isAllowedToSpawnInLevel()

static MCAPI bool TrialSpawner::_isAllowedToSpawnInLevel ( ::Level & level)
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.

◆ _isOminous()

static MCAPI bool TrialSpawner::_isOminous ( ::BlockSource & region,
::BlockPos pos )
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.

◆ _removeMobByGameplay()

static MCAPI void TrialSpawner::_removeMobByGameplay ( ::Level & level,
::Actor & mob )
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.

◆ $ctor()

MCAPI void * TrialSpawner::$ctor ( ::BlockPos 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.

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