WeatherTriggerCondition

public class WeatherTriggerCondition extends ObjectiveLocationTriggerCondition

Class WeatherTriggerCondition. Provides weathertriggercondition functionality for the Hytale server.

java.lang.Object > ObjectiveLocationTriggerCondition > WeatherTriggerCondition

Field Summary

weatherIds

protected String[] weatherIds

Field weatherIds.

weatherIndexes

protected int[] weatherIndexes

Field weatherIndexes.

weatherResource

final WeatherResource weatherResource

Field weatherResource.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

chunkRef

final Ref chunkRef

Field chunkRef.

world

final World world

Field world.

chunkStore

final Store chunkStore

Field chunkStore.

blockChunkComponent

final BlockChunk blockChunkComponent

Field blockChunkComponent.

environmentIndex

final int environmentIndex

Field environmentIndex.

currentWeatherIndex

final int currentWeatherIndex

Field currentWeatherIndex.

key

final String key

Field key.

index

final int index

Field index.

Method Detail

isConditionMet

public boolean isConditionMet (@Nonnull final ComponentAccessor componentAccessor, @Nonnull final Ref ref, final ObjectiveLocationMarker objectiveLocationMarker)

Method isConditionMet.

Parameters:
@Nonnull final ComponentAccessor componentAccessor
@Nonnull final Ref ref
final ObjectiveLocationMarker objectiveLocationMarker

toString

public String toString ()

Method toString.