23 ::ll::TypedStorage<8, 40, ::PerlinSimplexNoise> mNoise;
24 ::ll::TypedStorage<4, 4, int> mTick;
25 ::ll::TypedStorage<4, 4, float> mOldRainLevel;
26 ::ll::TypedStorage<4, 4, float> mRainLevel;
27 ::ll::TypedStorage<4, 4, float> mTargetRainLevel;
28 ::ll::TypedStorage<4, 4, float> mOldLightningLevel;
29 ::ll::TypedStorage<4, 4, float> mLightningLevel;
30 ::ll::TypedStorage<4, 4, float> mTargetLightningLevel;
31 ::ll::TypedStorage<4, 4, float> mFogLevel;
32 ::ll::TypedStorage<4, 4, int> mSkyFlashTime;
33 ::ll::TypedStorage<8, 8, ::Dimension&> mDimension;
34 ::ll::TypedStorage<8, 8, ::IRandom&> mRandom;
39 Weather& operator=(Weather
const&);
40 Weather(Weather
const&);
46 virtual ~Weather() =
default;
48 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const&,
int data) ;
56 MCAPI
bool canPlaceTopSnow(
60 bool checkSnowDepthLevel,
61 int* newHeightAfterPlacement
68 MCAPI
void serverTick();
73 tryToPlaceTopSnow(
::BlockSource& region,
::BlockPos const& pos,
bool fromFallingSnow,
bool fillLowerNeighborsFirst);
79 MCFOLD
static int calcLightningCycleTime(
::IRandom& random);
81 MCFOLD
static int calcRainCycleTime(
::IRandom& random);
89 MCAPI
void $levelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const&,
int data);