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 type, ::Vec3 const &, int data)
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)
MCAPI void $levelEvent (::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &, int data)
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 MCFOLD int calcLightningCycleTime (::IRandom &random)
static MCFOLD int calcRainCycleTime (::IRandom &random)
static MCAPI void rebuildTopSnowToDepth (::BlockSource &region, ::BlockPos const &testPos, int desiredDepth)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 40, ::PerlinSimplexNoisemNoise
::ll::TypedStorage< 4, 4, int > mTick
::ll::TypedStorage< 4, 4, float > mOldRainLevel
::ll::TypedStorage< 4, 4, float > mRainLevel
::ll::TypedStorage< 4, 4, float > mTargetRainLevel
::ll::TypedStorage< 4, 4, float > mOldLightningLevel
::ll::TypedStorage< 4, 4, float > mLightningLevel
::ll::TypedStorage< 4, 4, float > mTargetLightningLevel
::ll::TypedStorage< 4, 4, float > mFogLevel
::ll::TypedStorage< 4, 4, int > mSkyFlashTime
::ll::TypedStorage< 8, 8, ::Dimension & > mDimension
::ll::TypedStorage< 8, 8, ::IRandom & > mRandom

Member Function Documentation

◆ levelEvent()

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

Reimplemented from LevelListener.

◆ $vftable()

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: