classpublicPriority 3
WeatherResource
com.hypixel.hytale.builtin.weather.resources.WeatherResource
implements Resource
8
Methods
8
Public Methods
4
Fields
1
Constructors
Constants
floatWEATHER_UPDATE_RATE_S= 1.0F
Constructors
public
WeatherResource()Methods
Public Methods (8)
public
Resource<EntityStore> clone()@Nonnull@Override
public
boolean compareAndSwapHour(int currentHour)public
boolean consumeForcedWeatherChange()public
Int2IntMap getEnvironmentWeather()@Nonnull
public
int getForcedWeatherIndex()publicstatic
ResourceType<EntityStore, WeatherResource> getResourceType()public
int getWeatherIndexForEnvironment(int environmentId)public
void setForcedWeather(String forcedWeather)Fields
Public Fields (1)
public
float playerUpdateDelayPrivate/Package Fields (3)
private
int forcedWeatherIndexprivate
int previousForcedWeatherIndexprivate
int previousHour