Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MobSpawnerData Class Reference
Inheritance diagram for MobSpawnerData:

Public Types

using OnSelectActor = ::std::function<::ActorDefinitionIdentifier(::Random&)>
using OnSpawnHerd = ::std::function<void(::std::vector<::Mob*>&, ::Random&)>

Static Public Member Functions

static MCAPI ::MobSpawnerData from (::br::worldgen::SpawnerData const &spawnerData)

Public Attributes

::ll::TypedStorage< 8, 176, ::ActorDefinitionIdentifier > mIdentifier
::ll::TypedStorage< 8, 392, ::MobSpawnRules > mSpawnRules
::ll::TypedStorage< 8, 64, ::std::function< void(::std::vector<::Mob * > &, ::Random &)> > mOnSpawnHerd
::ll::TypedStorage< 8, 64, ::std::function<::ActorDefinitionIdentifier(::Random &)> > mOnSelectEntity
::ll::TypedStorage< 4, 4, int > mRandomWeight

Member Function Documentation

◆ from()

MCAPI ::MobSpawnerData MobSpawnerData::from ( ::br::worldgen::SpawnerData const & spawnerData)
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: