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

Classes

struct  GateWayGenerator

Public Types

enum class  GatewayTask : uchar { GeneratePair = 0 , VerifyPair = 1 , NoTask = 2 }

Public Member Functions

MCAPI void _createNewDragon ()
MCAPI void _initializeDragon (::EnderDragon &enderDragon)
MCAPI void _makeEndIslandFeature (::BlockSource &region, ::BlockPos const position)
MCAPI::ActorSoundIdentifier _makeSoundIdentifier () const
MCAPI void _spawnExitPortal (bool activated)
MCAPI void _spawnNewGatewayChunksTask (::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > &task)
MCAPI void _updateCrystalCount ()
MCAPI void _verifyExitPositionsTask (::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > &task)
MCAPI void onCrystalDestroyed (::EnderCrystal const &crystal, ::ActorDamageSource const &source)
MCAPI void resetSpikeCrystals ()
MCAPI void spawnNewGatewayChunks (::BlockPos const &pos, bool placeEntryBlocks, bool placeExitBlocks)
MCAPI void tryRespawn ()

Static Public Member Functions

static MCAPI bool _canSpawnNewGateway (::ChunkViewSource *source, ::BlockPos const &pos)
static MCAPI bool _setEndGatewayBlockActorExitPosition (::BlockSource &entrySource, ::BlockSource &exitSource, ::BlockPos const &endGatewayActorPos, ::BlockPos const &destinationPos, bool lookForGateway)

Public Attributes

::ll::TypedStorage< 8, 8, ::BlockSource * > mRegion
::ll::TypedStorage< 8, 24, ::std::vector< int > > mGateways
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockPatternMatcher const > > mExitPortalPattern
::ll::TypedStorage< 4, 4, int > mNumCrystalsAlive
::ll::TypedStorage< 4, 4, int > mTicksSinceCrystalsScanned
::ll::TypedStorage< 4, 4, int > mTicksSincePortalScanned
::ll::TypedStorage< 4, 4, int > mTicksSinceLastPlayerScan
::ll::TypedStorage< 1, 1, bool > mDragonKilled
::ll::TypedStorage< 1, 1, bool > mPreviouslyKilled
::ll::TypedStorage< 1, 1, bool > mDragonSpawned
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mDragonUUID
::ll::TypedStorage< 4, 12, ::BlockPos > mPortalLocation
::ll::TypedStorage< 4, 12, ::BlockPos const > mDragonSpawnPos
::ll::TypedStorage< 4, 4, ::RespawnAnimation > mRespawnStage
::ll::TypedStorage< 4, 4, int > mRespawnTime
::ll::TypedStorage< 8, 24, ::std::vector<::ActorUniqueID > > mRespawnCrystals
::ll::TypedStorage< 1, 1, ::EndDragonFightVersion > mFightVersion
::ll::TypedStorage< 8, 32, ::EndDragonFight::GateWayGenerator > mEntryGenerator
::ll::TypedStorage< 8, 32, ::EndDragonFight::GateWayGenerator > mExitGenerator
::ll::TypedStorage< 1, 1, ::EndDragonFight::GatewayTask > mBuildingOrVerifyingEndGatewayPair
::ll::TypedStorage< 8, 40, ::std::deque<::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > > > mGatewayTasks

Member Function Documentation

◆ _initializeDragon()

MCAPI void EndDragonFight::_initializeDragon ( ::EnderDragon & enderDragon)
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.

◆ _makeEndIslandFeature()

MCAPI void EndDragonFight::_makeEndIslandFeature ( ::BlockSource & region,
::BlockPos const position )
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.

◆ _makeSoundIdentifier()

MCAPI::ActorSoundIdentifier EndDragonFight::_makeSoundIdentifier ( ) 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.

◆ _spawnExitPortal()

MCAPI void EndDragonFight::_spawnExitPortal ( bool activated)
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.

◆ _spawnNewGatewayChunksTask()

MCAPI void EndDragonFight::_spawnNewGatewayChunksTask ( ::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > & task)
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.

◆ _updateCrystalCount()

MCAPI void EndDragonFight::_updateCrystalCount ( )
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.

◆ _verifyExitPositionsTask()

MCAPI void EndDragonFight::_verifyExitPositionsTask ( ::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > & task)
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.

◆ onCrystalDestroyed()

MCAPI void EndDragonFight::onCrystalDestroyed ( ::EnderCrystal const & crystal,
::ActorDamageSource const & source )
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.

◆ resetSpikeCrystals()

MCAPI void EndDragonFight::resetSpikeCrystals ( )
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.

◆ spawnNewGatewayChunks()

MCAPI void EndDragonFight::spawnNewGatewayChunks ( ::BlockPos const & pos,
bool placeEntryBlocks,
bool placeExitBlocks )
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.

◆ tryRespawn()

MCAPI void EndDragonFight::tryRespawn ( )
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.

◆ _canSpawnNewGateway()

MCAPI bool EndDragonFight::_canSpawnNewGateway ( ::ChunkViewSource * source,
::BlockPos const & 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.

◆ _setEndGatewayBlockActorExitPosition()

MCAPI bool EndDragonFight::_setEndGatewayBlockActorExitPosition ( ::BlockSource & entrySource,
::BlockSource & exitSource,
::BlockPos const & endGatewayActorPos,
::BlockPos const & destinationPos,
bool lookForGateway )
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: