LeviLamina
Loading...
Searching...
No Matches
br::spawn::SpawnPlacements Class Reference

Classes

struct  EntityRecord
 
class  PlacementRecord
 

Public Member Functions

MCAPI SpawnPlacements ()
 
MCAPI bool isEntityPredicateKeyRecordable (::std::string_view key) const
 
MCAPI bool isObstructionPredicateKeyRecordable (::std::string_view key) const
 
MCAPI::br::spawn::SpawnPlacements::PlacementRecord record (::std::string_view typeId, ::br::spawn::PlacementTypeToken placementType, ::br::spawn::HeightmapToken heightmap, ::br::spawn::EntityPredicateToken spawnPlacement)
 
MCAPI::br::spawn::EntityPredicateToken record (::std::string_view key, ::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> predicate)
 
MCAPI::br::spawn::ObstructionPredicateToken record (::std::string_view key, ::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> predicate)
 
MCAPI::br::spawn::EntityPredicateToken recordReloadable (::std::string_view key, ::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> predicate)
 
MCAPI::br::spawn::ObstructionPredicateToken recordReloadable (::std::string_view key, ::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> predicate)
 
MCAPI ~SpawnPlacements ()
 
MCAPI void * $ctor ()
 
MCAPI void $dtor ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple<::std::string, ::br::spawn::SpawnPlacements::EntityRecord > > > mEntityRecords
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple< ::std::string, ::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> > > > mEntityPredicates
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple< ::std::string, ::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> > > > mObstructionPredicates
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple< ::std::string, ::std::function< void(::BlockSource const &, ::SharedTypes::Legacy::Difficulty, ::br::spawn::EntitySpawnReason, ::Mob &, ::IRandom &, ::br::spawn::transform::PropertyBag &)> > > > mFinalizeMobTransform
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple<::std::string, ::std::function< bool(::Block const &)> > > > mHeightmapTypes
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple<::std::string, ::std::unique_ptr<::br::spawn::PlacementType > > > > mPlacementTypes
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::tuple<::br::spawn::EntityPredicateToken, bool > > > mReloadableEntitySpawnKeys
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::tuple<::br::spawn::ObstructionPredicateToken, bool > > > mReloadableObstructionKeys
 

Constructor & Destructor Documentation

◆ SpawnPlacements()

MCAPI br::spawn::SpawnPlacements::SpawnPlacements ( )
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.

◆ ~SpawnPlacements()

MCAPI br::spawn::SpawnPlacements::~SpawnPlacements ( )
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

◆ isEntityPredicateKeyRecordable()

MCAPI bool br::spawn::SpawnPlacements::isEntityPredicateKeyRecordable ( ::std::string_view key) 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.

◆ isObstructionPredicateKeyRecordable()

MCAPI bool br::spawn::SpawnPlacements::isObstructionPredicateKeyRecordable ( ::std::string_view key) 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.

◆ record() [1/3]

MCAPI::br::spawn::SpawnPlacements::PlacementRecord br::spawn::SpawnPlacements::record ( ::std::string_view typeId,
::br::spawn::PlacementTypeToken placementType,
::br::spawn::HeightmapToken heightmap,
::br::spawn::EntityPredicateToken spawnPlacement )
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.

◆ record() [2/3]

MCAPI::br::spawn::EntityPredicateToken br::spawn::SpawnPlacements::record ( ::std::string_view key,
::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> predicate )
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.

◆ record() [3/3]

MCAPI::br::spawn::ObstructionPredicateToken br::spawn::SpawnPlacements::record ( ::std::string_view key,
::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> predicate )
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.

◆ recordReloadable() [1/2]

MCAPI::br::spawn::EntityPredicateToken br::spawn::SpawnPlacements::recordReloadable ( ::std::string_view key,
::std::function< bool(::br::spawn::EntityType const &, ::BlockSource &, ::br::spawn::EntitySpawnReason &, ::BlockPos, ::IRandom &)> predicate )
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.

◆ recordReloadable() [2/2]

MCAPI::br::spawn::ObstructionPredicateToken br::spawn::SpawnPlacements::recordReloadable ( ::std::string_view key,
::std::function< bool(::BlockSource &, ::Mob const &, ::br::spawn::EntityType const &)> predicate )
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 * br::spawn::SpawnPlacements::$ctor ( )
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.

◆ $dtor()

MCAPI void br::spawn::SpawnPlacements::$dtor ( )
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: