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

Public Member Functions

MCAPI POIInstance (::BlockPos const &pos, bool useBoundingBox, ::std::string name, ::POIType type, float radius, uint64 maxCapacity, uint64 weight, ::std::string soundEvent, ::std::string initEvent, ::std::string endEvent)
MCAPI::AABB getSecondBlockFullAABB (::BlockSource &region)
MCAPI void trySpawnParticles (::BlockSource &region, ::Random &random, int particleType) const
MCAPI void * $ctor (::BlockPos const &pos, bool useBoundingBox, ::std::string name, ::POIType type, float radius, uint64 maxCapacity, uint64 weight, ::std::string soundEvent, ::std::string initEvent, ::std::string endEvent)

Public Attributes

::ll::TypedStorage< 8, 48, ::HashedString > mName
::ll::TypedStorage< 8, 48, ::HashedString > mInitEvent
::ll::TypedStorage< 8, 48, ::HashedString > mEndEvent
::ll::TypedStorage< 8, 8, ::Village * > mVillage
::ll::TypedStorage< 4, 12, ::BlockPos > mPosition
::ll::TypedStorage< 8, 8, uint64 > mOwnerCount
::ll::TypedStorage< 8, 8, uint64 > mOwnerCapacity
::ll::TypedStorage< 8, 8, uint64 > mWeight
::ll::TypedStorage< 4, 4, float > mRadius
::ll::TypedStorage< 4, 4, ::POIType > mType
::ll::TypedStorage< 8, 48, ::HashedString > mSoundEvent
::ll::TypedStorage< 2, 2, short > mArrivalFailuresCount
::ll::TypedStorage< 1, 1, bool > mUseBoundingBox

Constructor & Destructor Documentation

◆ POIInstance()

MCAPI POIInstance::POIInstance ( ::BlockPos const & pos,
bool useBoundingBox,
::std::string name,
::POIType type,
float radius,
uint64 maxCapacity,
uint64 weight,
::std::string soundEvent,
::std::string initEvent,
::std::string endEvent )
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

◆ getSecondBlockFullAABB()

MCAPI::AABB POIInstance::getSecondBlockFullAABB ( ::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.

◆ trySpawnParticles()

MCAPI void POIInstance::trySpawnParticles ( ::BlockSource & region,
::Random & random,
int particleType ) 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.

◆ $ctor()

MCAPI void * POIInstance::$ctor ( ::BlockPos const & pos,
bool useBoundingBox,
::std::string name,
::POIType type,
float radius,
uint64 maxCapacity,
uint64 weight,
::std::string soundEvent,
::std::string initEvent,
::std::string endEvent )
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: