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 ()
MCAPI void verifyExitPositions (::EndGatewayBlockActor &endGatewayBlockActor)

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

The documentation for this class was generated from the following file: