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

Public Types

using StructureMap = ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::StructureStart>>

Public Member Functions

virtual ::gsl::span<::BiomeIdType const > getRequiredBiomes () const
virtual bool getNearestGeneratedFeature (::Dimension &dimension, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &pos, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, bool mustBeInNewChunks, ::std::optional<::HashedString > const &biomeTag)
virtual bool isFeatureChunk (::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &lc, uint levelSeed, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, ::Dimension const &)
virtual bool shouldAddHardcodedSpawnAreas () const
virtual bool shouldPostProcessMobs () const
virtual ::std::unique_ptr<::StructureStart > createStructureStart (::Dimension &generator, ::BiomeSource const &, ::Random &random, ::ChunkPos const &lc, ::IPreliminarySurfaceProvider const &)
MCAPI PillagerOutpostFeature (uint seed)
MCAPI void * $ctor (uint seed)
MCAPI ::gsl::span<::BiomeIdType const > $getRequiredBiomes () const
MCAPI bool $getNearestGeneratedFeature (::Dimension &dimension, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &pos, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, bool mustBeInNewChunks, ::std::optional<::HashedString > const &biomeTag)
MCAPI bool $isFeatureChunk (::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &lc, uint levelSeed, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, ::Dimension const &)
MCAPI bool $shouldAddHardcodedSpawnAreas () const
MCAPI bool $shouldPostProcessMobs () const
MCAPI ::std::unique_ptr<::StructureStart > $createStructureStart (::Dimension &generator, ::BiomeSource const &, ::Random &random, ::ChunkPos const &lc, ::IPreliminarySurfaceProvider const &)
virtual::StructureStart * getStructureAt (int cellX, int cellY, int cellZ)
MCAPI void createBlueprints (::Dimension &dimension, ::ChunkPos const &cp, ::BiomeSource const &biomeSource, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel)
MCAPI void foreachIntersectingStructureStart (::BoundingBox const &bb, ::std::function< void(::StructureStart &)> fn)
MCAPI void garbageCollectBlueprints (::buffer_span<::ChunkPos > activeChunks, uint safetyBorder)
MCAPI void postProcessMobsAt (::BlockSource &region, int chunkWestBlock, int chunkNorthBlock, ::Random &random)
MCAPI void * $ctor (uint seed, ::HashedString structureFeatureType)
MCAPI void $dtor ()
MCAPI::StructureStart * $getStructureAt (int cellX, int cellY, int cellZ)

Static Public Member Functions

static MCAPI bool findNearestFeaturePositionBySpacing (::Dimension &dimension, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, ::StructureFeature &feature, ::std::optional<::HashedString > const &biomeTag, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &result, int featureSpacing, int minFeatureSeparation, int randomSalt, bool tiltedSpacing, int maxSearchRadius, bool mustBeInNewChunks)
static MCAPI ::ChunkPos getChunkPosInSpace (::ChunkPos const &cp, ::Random &random, uint levelSeed, int spacing, int separation, int salt, bool tiltedSpacing)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int const > OUTPOST_SPACING
::ll::TypedStorage< 4, 4, int const > MIN_OUTPOST_SEPARATION
::ll::TypedStorage< 8, 24, ::std::vector<::BiomeIdType > > mAllowedBiomes
::ll::TypedStorage< 8, 48, ::HashedString > mStructureFeatureType
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::StructureStart > > > mCachedStructures
::ll::TypedStorage< 8, 8, ::std::shared_mutex > mCacheMutex
::ll::TypedStorage< 8, 64, ::std::unordered_set<::ChunkPos > > mVisitedPositions
::ll::TypedStorage< 4, 4, uint > mRadius
::ll::TypedStorage< 4, 4, int > mXScale
::ll::TypedStorage< 4, 4, int > mZScale
::ll::TypedStorage< 8, 80, ::std::mutex > mCreateBlueprintsAndVisitedPositionsMutex
::ll::TypedStorage< 8, 72, ::std::condition_variable > mBlueprintWaitVar
::ll::TypedStorage< 4, 4, ::std::atomic< int > > mActiveBlueprintCreateCount
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mBlueprintsFinished

Member Function Documentation

◆ getNearestGeneratedFeature()

virtual bool PillagerOutpostFeature::getNearestGeneratedFeature ( ::Dimension & dimension,
::BiomeSource const & biomeSource,
::BlockPos const & origin,
::BlockPos & pos,
::IPreliminarySurfaceProvider const & preliminarySurfaceLevel,
bool mustBeInNewChunks,
::std::optional<::HashedString > const & biomeTag )
virtual

Reimplemented from StructureFeature.

◆ isFeatureChunk()

virtual bool PillagerOutpostFeature::isFeatureChunk ( ::BiomeSource const & biomeSource,
::Random & random,
::ChunkPos const & lc,
uint levelSeed,
::IPreliminarySurfaceProvider const & preliminarySurfaceLevel,
::Dimension const &  )
virtual

Implements StructureFeature.

◆ shouldAddHardcodedSpawnAreas()

virtual bool PillagerOutpostFeature::shouldAddHardcodedSpawnAreas ( ) const
virtual

Reimplemented from StructureFeature.

◆ shouldPostProcessMobs()

virtual bool PillagerOutpostFeature::shouldPostProcessMobs ( ) const
virtual

Reimplemented from StructureFeature.

◆ createStructureStart()

virtual ::std::unique_ptr<::StructureStart > PillagerOutpostFeature::createStructureStart ( ::Dimension & generator,
::BiomeSource const & ,
::Random & random,
::ChunkPos const & lc,
::IPreliminarySurfaceProvider const &  )
virtual

Implements StructureFeature.

◆ $getRequiredBiomes()

MCAPI ::gsl::span<::BiomeIdType const > PillagerOutpostFeature::$getRequiredBiomes ( ) 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.

◆ $getNearestGeneratedFeature()

MCAPI bool PillagerOutpostFeature::$getNearestGeneratedFeature ( ::Dimension & dimension,
::BiomeSource const & biomeSource,
::BlockPos const & origin,
::BlockPos & pos,
::IPreliminarySurfaceProvider const & preliminarySurfaceLevel,
bool mustBeInNewChunks,
::std::optional<::HashedString > const & biomeTag )
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.

◆ $shouldAddHardcodedSpawnAreas()

MCAPI bool PillagerOutpostFeature::$shouldAddHardcodedSpawnAreas ( ) 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.

◆ $shouldPostProcessMobs()

MCAPI bool PillagerOutpostFeature::$shouldPostProcessMobs ( ) 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.

◆ $createStructureStart()

MCAPI ::std::unique_ptr<::StructureStart > PillagerOutpostFeature::$createStructureStart ( ::Dimension & generator,
::BiomeSource const & ,
::Random & random,
::ChunkPos const & lc,
::IPreliminarySurfaceProvider 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.

◆ createBlueprints()

MCAPI void StructureFeature::createBlueprints ( ::Dimension & dimension,
::ChunkPos const & cp,
::BiomeSource const & biomeSource,
::IPreliminarySurfaceProvider const & preliminarySurfaceLevel )
inherited
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.

◆ foreachIntersectingStructureStart()

MCAPI void StructureFeature::foreachIntersectingStructureStart ( ::BoundingBox const & bb,
::std::function< void(::StructureStart &)> fn )
inherited
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.

◆ postProcessMobsAt()

MCAPI void StructureFeature::postProcessMobsAt ( ::BlockSource & region,
int chunkWestBlock,
int chunkNorthBlock,
::Random & random )
inherited
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.

◆ findNearestFeaturePositionBySpacing()

MCAPI bool StructureFeature::findNearestFeaturePositionBySpacing ( ::Dimension & dimension,
::IPreliminarySurfaceProvider const & preliminarySurfaceLevel,
::StructureFeature & feature,
::std::optional<::HashedString > const & biomeTag,
::BiomeSource const & biomeSource,
::BlockPos const & origin,
::BlockPos & result,
int featureSpacing,
int minFeatureSeparation,
int randomSalt,
bool tiltedSpacing,
int maxSearchRadius,
bool mustBeInNewChunks )
staticinherited
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.

◆ getChunkPosInSpace()

MCAPI ::ChunkPos StructureFeature::getChunkPosInSpace ( ::ChunkPos const & cp,
::Random & random,
uint levelSeed,
int spacing,
int separation,
int salt,
bool tiltedSpacing )
staticinherited
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.

◆ $vftable()

MCAPI void ** StructureFeature::$vftable ( )
staticinherited
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: