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 EndDragonFight (::BlockSource &level)
MCAPI bool _areaIsLoaded (::ChunkPos const &center, ::ChunkViewSource &source, int radius) const
MCAPI bool _canSpawnNewGateway (::ChunkViewSource *source, ::BlockPos const &pos) const
MCAPI void _createNewDragon ()
MCAPI::BuildMatch _findExitPortal ()
MCAPI void _initializeDragon (::EnderDragon &enderDragon)
MCAPI void _makeEndIslandFeature (::BlockSource &region, ::BlockPos position)
MCAPI::ActorSoundIdentifier _makeSoundIdentifier () const
MCAPI void _placeAndLinkNewGatewayPair ()
MCAPI bool _setEndGatewayBlockActorExitPosition (::BlockSource &entrySource, ::BlockSource &exitSource, ::BlockPos const &endGatewayActorPos, ::BlockPos const &destinationPos, bool lookForGateway)
MCAPI void _setRespawnStage (::RespawnAnimation stage)
MCAPI void _spawnExitPortal (bool activated)
MCAPI void _spawnNewGatewayChunksTask (::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > &task)
MCAPI void _spawnNewGatewayPair ()
MCAPI void _tickRespawnAnimation (::std::vector<::ActorUniqueID > const &crystalIDs, int time)
MCAPI void _updateCrystalCount ()
MCAPI void _verifyExitPositionsTask (::std::tuple< ::EndDragonFight::GatewayTask, ::EndDragonFight::GateWayGenerator, ::EndDragonFight::GateWayGenerator > &task)
MCAPI void loadData (::CompoundTag const &tag)
MCAPI void onCrystalDestroyed (::EnderCrystal const &crystal, ::ActorDamageSource const &source)
MCAPI void resetSpikeCrystals ()
MCAPI void saveData (::CompoundTag &tag)
MCAPI void spawnNewGatewayChunks (::BlockPos const &pos, bool placeEntryBlocks, bool placeExitBlocks)
MCAPI void tick ()
MCAPI void tryRespawn ()
MCAPI void * $ctor (::BlockSource &level)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::BlockPos const & DEFAULT_PORTAL_LOCATION ()

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, ::ActorUniqueIDmDragonUUID
::ll::TypedStorage< 4, 12, ::BlockPosmPortalLocation
::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::GateWayGeneratormEntryGenerator
::ll::TypedStorage< 8, 32, ::EndDragonFight::GateWayGeneratormExitGenerator
::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: