LeviLamina
Loading...
Searching...
No Matches
Weather Class Reference
+ Inheritance diagram for Weather:

Public Member Functions

Weatheroperator= (Weather const &)
 
 Weather (Weather const &)
 
virtual void levelEvent (::SharedTypes::Legacy::LevelEvent, ::Vec3 const &, int)
 
MCAPI int calcSnowBlockDepth (::BlockSource &region, ::BlockPos const &pos, int maxLayerDepth) const
 
MCAPI bool canPlaceTopSnow (::BlockSource &region, ::BlockPos const &pos, bool fromFallingSnow, bool checkSnowDepthLevel, int *newHeightAfterPlacement) const
 
MCAPI bool isPrecipitatingAt (::BlockSource &region, ::BlockPos const &pos) const
 
MCAPI bool isRainingAt (::BlockSource &region, ::BlockPos const &pos) const
 
MCAPI void serverTick ()
 
MCAPI void stop ()
 
MCAPI bool tryToPlaceTopSnow (::BlockSource &region, ::BlockPos const &pos, bool fromFallingSnow, bool fillLowerNeighborsFirst)
 
virtual void allChanged ()
 
virtual void sendServerLegacyParticle (::ParticleType, ::Vec3 const &, ::Vec3 const &, int)
 
virtual void addParticleEffect (::HashedString const &, ::Actor const &, ::HashedString const &, ::Vec3 const &, ::MolangVariableMap const &)
 
virtual void addTerrainParticleEffect (::BlockPos const &, ::Block const &, ::Vec3 const &, float, float, float)
 
virtual void addTerrainSlideEffect (::BlockPos const &, ::Block const &, ::Vec3 const &, float, float, float)
 
virtual void addBreakingItemParticleEffect (::Vec3 const &, ::BreakingItemParticleData const &, ::ResolvedItemIconInfo const &)
 
virtual void addBiomeTintedParticleEffect (::HashedString const &, ::BlockPos const &, ::Block const &, ::std::optional<::mce::Color >)
 
virtual void playMusic (::std::string const &, ::Vec3 const &, float, float)
 
virtual void playStreamingMusic (::std::string const &, int, int, int)
 
virtual void onEntityAdded (::Actor &)
 
virtual void onEntityRemoved (::Actor &)
 
virtual void onChunkLoaded (::ChunkSource &, ::LevelChunk &)
 
virtual void onChunkReloaded (::ChunkSource &, ::LevelChunk &)
 
virtual void onSubChunkLoaded (::ChunkSource &, ::LevelChunk &, short, bool)
 
virtual void onChunkUnloaded (::LevelChunk &)
 
virtual void onLevelDestruction (::std::string const &)
 
virtual void levelEvent (::SharedTypes::Legacy::LevelEvent, ::CompoundTag const &)
 
virtual void takePicture (::cg::ImageBuffer &, ::Actor *, ::Actor *, ::ScreenshotOptions &, ::std::function< void(::cg::ImageBuffer &, ::ScreenshotOptions &)>)
 
virtual void playerListChanged ()
 
virtual void onLevelDataCommandsChanged (bool)
 
virtual void onLevelDataWorldTemplateOptionsUnlocked ()
 
MCFOLD void $dtor ()
 
MCFOLD void $allChanged ()
 
MCFOLD void $sendServerLegacyParticle (::ParticleType, ::Vec3 const &, ::Vec3 const &, int)
 
MCFOLD void $addParticleEffect (::HashedString const &, ::Actor const &, ::HashedString const &, ::Vec3 const &, ::MolangVariableMap const &)
 
MCFOLD void $addTerrainParticleEffect (::BlockPos const &, ::Block const &, ::Vec3 const &, float, float, float)
 
MCFOLD void $addTerrainSlideEffect (::BlockPos const &, ::Block const &, ::Vec3 const &, float, float, float)
 
MCFOLD void $addBreakingItemParticleEffect (::Vec3 const &, ::BreakingItemParticleData const &, ::ResolvedItemIconInfo const &)
 
MCFOLD void $addBiomeTintedParticleEffect (::HashedString const &, ::BlockPos const &, ::Block const &, ::std::optional<::mce::Color >)
 
MCFOLD void $playMusic (::std::string const &, ::Vec3 const &, float, float)
 
MCFOLD void $playStreamingMusic (::std::string const &, int, int, int)
 
MCFOLD void $onEntityAdded (::Actor &)
 
MCFOLD void $onEntityRemoved (::Actor &)
 
MCFOLD void $onChunkLoaded (::ChunkSource &, ::LevelChunk &)
 
MCFOLD void $onChunkReloaded (::ChunkSource &, ::LevelChunk &)
 
MCFOLD void $onSubChunkLoaded (::ChunkSource &, ::LevelChunk &, short, bool)
 
MCFOLD void $onChunkUnloaded (::LevelChunk &)
 
MCFOLD void $onLevelDestruction (::std::string const &)
 
MCAPI void $takePicture (::cg::ImageBuffer &, ::Actor *, ::Actor *, ::ScreenshotOptions &, ::std::function< void(::cg::ImageBuffer &, ::ScreenshotOptions &)>)
 
MCFOLD void $playerListChanged ()
 
MCFOLD void $onLevelDataCommandsChanged (bool)
 
MCFOLD void $onLevelDataWorldTemplateOptionsUnlocked ()
 
virtual void onSourceCreated (::BlockSource &source)
 
virtual void onSourceDestroyed (::BlockSource &source)
 
virtual void onAreaChanged (::BlockSource &source, ::BlockPos const &min, ::BlockPos const &max)
 
virtual void onBlockChanged (::BlockSource &source, ::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
 
virtual void onBrightnessChanged (::BlockSource &source, ::BlockPos const &pos)
 
virtual void onBlockEntityChanged (::BlockSource &source, ::BlockActor &te)
 
virtual void onEntityChanged (::BlockSource &source, ::Actor &entity)
 
virtual void onBlockEvent (::BlockSource &source, int x, int y, int z, int b0, int b1)
 
MCFOLD void $onSourceCreated (::BlockSource &source)
 
MCFOLD void $onSourceDestroyed (::BlockSource &source)
 
MCFOLD void $onAreaChanged (::BlockSource &source, ::BlockPos const &min, ::BlockPos const &max)
 
MCFOLD void $onBlockChanged (::BlockSource &source, ::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
 
MCAPI void $onBrightnessChanged (::BlockSource &source, ::BlockPos const &pos)
 
MCFOLD void $onBlockEntityChanged (::BlockSource &source, ::BlockActor &te)
 
MCFOLD void $onEntityChanged (::BlockSource &source, ::Actor &entity)
 
MCFOLD void $onBlockEvent (::BlockSource &source, int x, int y, int z, int b0, int b1)
 

Static Public Member Functions

static MCAPI int calcLightningCycleTime (::IRandom &random)
 
static MCAPI int calcRainCycleTime (::IRandom &random)
 
static MCAPI void rebuildTopSnowToDepth (::BlockSource &region, ::BlockPos const &testPos, int desiredDepth)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 40 > mUnk96b8e1
 
::ll::UntypedStorage< 4, 4 > mUnk56a914
 
::ll::UntypedStorage< 4, 4 > mUnk77cd6e
 
::ll::UntypedStorage< 4, 4 > mUnk1b11d6
 
::ll::UntypedStorage< 4, 4 > mUnkf70e7c
 
::ll::UntypedStorage< 4, 4 > mUnkb0dc77
 
::ll::UntypedStorage< 4, 4 > mUnk551084
 
::ll::UntypedStorage< 4, 4 > mUnk9a8c08
 
::ll::UntypedStorage< 4, 4 > mUnkfbcc49
 
::ll::UntypedStorage< 4, 4 > mUnk4f36f7
 
::ll::UntypedStorage< 8, 8 > mUnka4c948
 
::ll::UntypedStorage< 8, 8 > mUnkc0cfcf
 

Member Function Documentation

◆ levelEvent()

virtual void Weather::levelEvent ( ::SharedTypes::Legacy::LevelEvent ,
::Vec3 const & ,
int  )
virtual

Reimplemented from LevelListener.

◆ calcSnowBlockDepth()

MCAPI int Weather::calcSnowBlockDepth ( ::BlockSource & region,
::BlockPos const & pos,
int maxLayerDepth ) 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.

◆ canPlaceTopSnow()

MCAPI bool Weather::canPlaceTopSnow ( ::BlockSource & region,
::BlockPos const & pos,
bool fromFallingSnow,
bool checkSnowDepthLevel,
int * newHeightAfterPlacement ) 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.

◆ isPrecipitatingAt()

MCAPI bool Weather::isPrecipitatingAt ( ::BlockSource & region,
::BlockPos const & pos ) 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.

◆ isRainingAt()

MCAPI bool Weather::isRainingAt ( ::BlockSource & region,
::BlockPos const & pos ) 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.

◆ serverTick()

MCAPI void Weather::serverTick ( )
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.

◆ stop()

MCAPI void Weather::stop ( )
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.

◆ tryToPlaceTopSnow()

MCAPI bool Weather::tryToPlaceTopSnow ( ::BlockSource & region,
::BlockPos const & pos,
bool fromFallingSnow,
bool fillLowerNeighborsFirst )
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.

◆ calcLightningCycleTime()

static MCAPI int Weather::calcLightningCycleTime ( ::IRandom & random)
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.

◆ calcRainCycleTime()

static MCAPI int Weather::calcRainCycleTime ( ::IRandom & random)
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.

◆ rebuildTopSnowToDepth()

static MCAPI void Weather::rebuildTopSnowToDepth ( ::BlockSource & region,
::BlockPos const & testPos,
int desiredDepth )
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.

◆ $vftable()

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