classpublicPriority 3
WeatherTracker
com.hypixel.hytale.builtin.weather.components.WeatherTracker
implements Component
9
Methods
9
Public Methods
2
Fields
2
Constructors
Constructors
private
WeatherTracker(WeatherTracker other)public
WeatherTracker()Methods
Public Methods (9)
public
void clear()public
Component<EntityStore> clone()@Nonnull@Override
public
boolean consumeFirstSendForWorld()publicstatic
ComponentType<EntityStore, WeatherTracker> getComponentType()public
int getEnvironmentId()public
int getWeatherIndex()public
void sendWeatherIndex(PlayerRef playerRef, int weatherIndex, float transitionSeconds)public
void setWeatherIndex(PlayerRef playerRef, int weatherIndex)public
void updateEnvironment(TransformComponent transformComponent, ComponentAccessor<EntityStore> componentAccessor)Fields
Private/Package Fields (2)
private
int environmentIdprivate
boolean firstSendForWorld